X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2eff731ecfbcfec4f3152992e5ae5602a3694424..c326fe96050cf80992ded7726e9222ac5305a908:/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h b/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h index b992c27cb..a5e3fbe55 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h @@ -50,11 +50,16 @@ #include "RFCOMM.h" /* Macros: */ - #define RFCOMM_STATUSFLAG_FC (1 << 1) - #define RFCOMM_STATUSFLAG_RTC (1 << 2) - #define RFCOMM_STATUSFLAG_RTR (1 << 3) - #define RFCOMM_STATUSFLAG_IC (1 << 6) - #define RFCOMM_STATUSFLAG_DV (1 << 7) + #define RFCOMM_SIGNAL_FC (1 << 1) + #define RFCOMM_SIGNAL_RTC (1 << 2) + #define RFCOMM_SIGNAL_RTR (1 << 3) + #define RFCOMM_SIGNAL_IC (1 << 6) + #define RFCOMM_SIGNAL_DV (1 << 7) + + #define RFCOMM_CONFIG_REMOTESIGNALS (1 << 0) + #define RFCOMM_CONFIG_LOCALSIGNALS (1 << 1) + #define RFCOMM_CONFIG_LOCALSIGNALSSENT (1 << 2) + #define RFCOMM_CONFIG_ABMMODESET (1 << 3) /* Enums: */ enum RFCOMM_Control_Commands_t @@ -106,8 +111,8 @@ { RFCOMM_Address_t Channel; uint8_t Signals; - uint8_t BreakSignals; - } RFCOMM_MS_Parameters_t; + uint8_t BreakSignal; + } RFCOMM_MSC_Parameters_t; /* Function Prototypes: */ void RFCOMM_ProcessControlCommand(const uint8_t* Command, Bluetooth_Channel_t* const Channel); @@ -119,8 +124,8 @@ Bluetooth_Channel_t* const Channel); static void RFCOMM_ProcessFCDCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t* CommandData, Bluetooth_Channel_t* const Channel); - static void RFCOMM_ProcessMSCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t CommandDataLen, - const uint8_t* CommandData, Bluetooth_Channel_t* const Channel); + static void RFCOMM_ProcessMSCCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t CommandDataLen, + const uint8_t* CommandData, Bluetooth_Channel_t* const Channel); static void RFCOMM_ProcessRPNCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t* CommandData, Bluetooth_Channel_t* const Channel); static void RFCOMM_ProcessRLSCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t* CommandData,