More improvements to the incomplete BluetoothHost demo - add Disconnection Event processing.
Remove unused macro in the host mode demos for the maximum Configuration Descriptor size.
This commit is contained in:
@@ -39,14 +39,16 @@
|
||||
#include "BluetoothACLPackets.h"
|
||||
|
||||
/* Macros: */
|
||||
#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 BT_DEBUG(s, ...) printf_P(PSTR(s "\r\n"), __VA_ARGS__)
|
||||
|
||||
/* Enums: */
|
||||
enum Bluetooth_Channel_State_t
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user