Add user callback function to the Bluetooth host demo to filter out connections from...
[pub/lufa.git] / Demos / Host / Incomplete / BluetoothHost / Lib / BluetoothHCICommands.h
index 4df5861..317ebc7 100644 (file)
@@ -83,6 +83,7 @@
                #define EVENT_PIN_CODE_REQUEST                         0x16\r
                \r
                #define ERROR_LIMITED_RESOURCES                        0x0D\r
+               #define ERROR_UNACCEPTABLE_BDADDR                      0x0F\r
                \r
        /* Type Defines: */\r
                typedef struct\r
        /* Function Prototypes: */\r
                void Bluetooth_ProcessHCICommands(void);\r
                void Bluetooth_ProcessHCIEvents(void);\r
+               \r
+               bool CALLBACK_Bluetooth_ConnectionRequest(uint8_t* RemoteAddress);\r
 \r
                #if defined(INCLUDE_FROM_BLUETOOTHHCICOMMANDS_C)\r
                        static uint8_t Bluetooth_SendHCICommand(void* Parameters, uint16_t ParameterLength);\r