Add Bluetooth signalling echo request/response handlers, disconnection request/response handlers.
Add Bluetooth connection request/complete/disconnection callbacks. Remove debugging from HCI layer, as it is now operational -- add guards to ACL debug statements to reduce logging chattyness so that the overall command sequences can be observed and debugged.
This commit is contained in:
parent
fa1a092901
commit
083d797aca
7 changed files with 198 additions and 83 deletions
|
@ -39,15 +39,15 @@
|
|||
#include "BluetoothACLPackets.h"
|
||||
|
||||
/* Macros: */
|
||||
#define BLUETOOTH_DATA_IN_PIPE 1
|
||||
#define BLUETOOTH_DATA_OUT_PIPE 2
|
||||
#define BLUETOOTH_EVENTS_PIPE 3
|
||||
#define BLUETOOTH_DATA_IN_PIPE 1
|
||||
#define BLUETOOTH_DATA_OUT_PIPE 2
|
||||
#define BLUETOOTH_EVENTS_PIPE 3
|
||||
|
||||
#define BLUETOOTH_MAX_OPEN_CHANNELS 2
|
||||
#define BLUETOOTH_CHANNELNUMBER_BASEOFFSET 0x0040
|
||||
|
||||
#define CHANNEL_LOOKUP_BY_SOURCE true
|
||||
#define CHANNEL_LOOKUP_BY_DESTINATION false
|
||||
#define CHANNEL_PSM_SERVICEDISCOVERY 0x0001
|
||||
#define CHANNEL_PSM_RFCOMM 0x0003
|
||||
|
||||
/* Enums: */
|
||||
enum Bluetooth_Channel_State_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue