switch (HCIEventHeader.EventCode)\r
{\r
case EVENT_COMMAND_COMPLETE:\r
- BT_HCI_DEBUG(1, "<< Command Complete", NULL);\r
+ BT_HCI_DEBUG(1, "<< Command Complete");\r
Bluetooth_HCIProcessingState = Bluetooth_HCINextState;\r
break;\r
case EVENT_COMMAND_STATUS:\r
- BT_HCI_DEBUG(1, "<< Command Status", NULL);\r
+ BT_HCI_DEBUG(1, "<< Command Status");\r
BT_HCI_DEBUG(2, "-- Status Code: 0x%02X", (((BT_HCIEvent_CommandStatus_t*)&EventParams)->Status));\r
\r
/* If the execution of a command failed, reset the stack */\r
Bluetooth_HCIProcessingState = Bluetooth_Init;\r
break;\r
case EVENT_CONNECTION_REQUEST:\r
- BT_HCI_DEBUG(1, "<< Connection Request", NULL);\r
+ BT_HCI_DEBUG(1, "<< Connection Request");\r
BT_HCI_DEBUG(2, "-- Link Type: 0x%02X", (((BT_HCIEvent_ConnectionRequest_t*)&EventParams)->LinkType));\r
\r
/* Need to store the remote device's BT address in a temporary buffer for later use */\r
\r
break;\r
case EVENT_PIN_CODE_REQUEST:\r
- BT_HCI_DEBUG(1, "<< Pin Code Request", NULL);\r
+ BT_HCI_DEBUG(1, "<< Pin Code Request");\r
\r
/* Need to store the remote device's BT address in a temporary buffer for later use */\r
memcpy(Bluetooth_TempDeviceAddress,\r
Bluetooth_HCIProcessingState = Bluetooth_Conn_SendPINCode;\r
break;\r
case EVENT_LINK_KEY_REQUEST:\r
- BT_HCI_DEBUG(1, "<< Link Key Request", NULL);\r
+ BT_HCI_DEBUG(1, "<< Link Key Request");\r
\r
/* Need to store the remote device's BT address in a temporary buffer for later use */\r
memcpy(Bluetooth_TempDeviceAddress,\r
Bluetooth_HCIProcessingState = Bluetooth_Conn_SendLinkKeyNAK;\r
break;\r
case EVENT_CONNECTION_COMPLETE:\r
- BT_HCI_DEBUG(1, "<< Connection Complete", NULL);\r
+ BT_HCI_DEBUG(1, "<< Connection Complete");\r
BT_HCI_DEBUG(2, "-- Handle: 0x%04X", ((BT_HCIEvent_ConnectionComplete_t*)&EventParams)->ConnectionHandle);\r
\r
/* Need to store the remote device's BT address in a temporary buffer for later use */\r
Bluetooth_ConnectionComplete(); \r
break;\r
case EVENT_DISCONNECTION_COMPLETE:\r
- BT_HCI_DEBUG(1, "<< Disconnection Complete", NULL);\r
+ BT_HCI_DEBUG(1, "<< Disconnection Complete");\r
\r
/* Device disconnected, indicate connection information no longer valid */\r
Bluetooth_Connection.IsConnected = false;\r
\r
break;\r
case Bluetooth_Init:\r
- BT_HCI_DEBUG(1, "# Init", NULL);\r
+ BT_HCI_DEBUG(1, "# Init");\r
\r
/* Reset the connection information structure to destroy any previous connection state */\r
memset(&Bluetooth_Connection, 0x00, sizeof(Bluetooth_Connection));\r
Bluetooth_HCIProcessingState = Bluetooth_Init_Reset; \r
break;\r
case Bluetooth_Init_Reset:\r
- BT_HCI_DEBUG(1, "# Reset", NULL);\r
+ BT_HCI_DEBUG(1, "# Reset");\r
\r
HCICommandHeader = (BT_HCICommand_Header_t)\r
{\r
Bluetooth_HCIProcessingState = Bluetooth_ProcessEvents;\r
break;\r
case Bluetooth_Init_SetLocalName:\r
- BT_HCI_DEBUG(1, "# Set Local Name", NULL);\r
+ BT_HCI_DEBUG(1, "# Set Local Name");\r
\r
HCICommandHeader = (BT_HCICommand_Header_t)\r
{\r
Bluetooth_HCIProcessingState = Bluetooth_ProcessEvents;\r
break;\r
case Bluetooth_Init_SetDeviceClass:\r
- BT_HCI_DEBUG(1, "# Set Device Class", NULL);\r
+ BT_HCI_DEBUG(1, "# Set Device Class");\r
\r
HCICommandHeader = (BT_HCICommand_Header_t)\r
{\r
Bluetooth_HCIProcessingState = Bluetooth_ProcessEvents;\r
break;\r
case Bluetooth_Init_WriteScanEnable:\r
- BT_HCI_DEBUG(1, "# Write Scan Enable", NULL);\r
+ BT_HCI_DEBUG(1, "# Write Scan Enable");\r
\r
HCICommandHeader = (BT_HCICommand_Header_t)\r
{\r
Bluetooth_HCIProcessingState = Bluetooth_ProcessEvents;\r
break;\r
case Bluetooth_Conn_AcceptConnection:\r
- BT_HCI_DEBUG(1, "# Accept Connection", NULL);\r
+ BT_HCI_DEBUG(1, "# Accept Connection");\r
\r
HCICommandHeader = (BT_HCICommand_Header_t)\r
{\r
Bluetooth_HCIProcessingState = Bluetooth_ProcessEvents;\r
break;\r
case Bluetooth_Conn_RejectConnection:\r
- BT_HCI_DEBUG(1, "# Reject Connection", NULL);\r
+ BT_HCI_DEBUG(1, "# Reject Connection");\r
\r
HCICommandHeader = (BT_HCICommand_Header_t)\r
{\r
Bluetooth_HCIProcessingState = Bluetooth_ProcessEvents;\r
break;\r
case Bluetooth_Conn_SendPINCode:\r
- BT_HCI_DEBUG(1, "# Send Pin Code", NULL);\r
+ BT_HCI_DEBUG(1, "# Send Pin Code");\r
\r
HCICommandHeader = (BT_HCICommand_Header_t)\r
{\r
Bluetooth_HCIProcessingState = Bluetooth_ProcessEvents;\r
break;\r
case Bluetooth_Conn_SendLinkKeyNAK:\r
- BT_HCI_DEBUG(1, "# Send Link Key NAK", NULL);\r
+ BT_HCI_DEBUG(1, "# Send Link Key NAK");\r
\r
HCICommandHeader = (BT_HCICommand_Header_t)\r
{\r