#include "RFCOMM.h"\r
\r
/* Macros: */\r
- #define RFCOMM_\r
+ #define RFCOMM_SIGNAL_FC (1 << 1)\r
+ #define RFCOMM_SIGNAL_RTC (1 << 2)\r
+ #define RFCOMM_SIGNAL_RTR (1 << 3)\r
+ #define RFCOMM_SIGNAL_IC (1 << 6)\r
+ #define RFCOMM_SIGNAL_DV (1 << 7)\r
\r
/* Enums: */\r
enum RFCOMM_Control_Commands_t\r
uint8_t MaxRetransmissions;\r
uint8_t RecoveryWindowSize; \r
} RFCOMM_DPN_Parameters_t;\r
+ \r
+ typedef struct\r
+ {\r
+ RFCOMM_Address_t Channel;\r
+ uint8_t Signals;\r
+ uint8_t BreakSignal;\r
+ } RFCOMM_MS_Parameters_t;\r
\r
/* Function Prototypes: */\r
void RFCOMM_ProcessControlCommand(const uint8_t* Command, Bluetooth_Channel_t* const Channel);\r
\r
#if defined(INCLUDE_FROM_RFCOMM_CONTROL_C)\r
- static void RFCOMM_ProcessTestCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t* CommandData,\r
- Bluetooth_Channel_t* const Channel);\r
+ static void RFCOMM_ProcessTestCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t CommandDataLen, \r
+ const uint8_t* CommandData, Bluetooth_Channel_t* const Channel);\r
static void RFCOMM_ProcessFCECommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t* CommandData,\r
Bluetooth_Channel_t* const Channel);\r
static void RFCOMM_ProcessFCDCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t* CommandData,\r
Bluetooth_Channel_t* const Channel);\r
- static void RFCOMM_ProcessMSCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t* CommandData,\r
- Bluetooth_Channel_t* const Channel);\r
+ static void RFCOMM_ProcessMSCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t CommandDataLen,\r
+ const uint8_t* CommandData, Bluetooth_Channel_t* const Channel);\r
static void RFCOMM_ProcessRPNCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t* CommandData,\r
Bluetooth_Channel_t* const Channel);\r
static void RFCOMM_ProcessRLSCommand(const RFCOMM_Command_t* const CommandHeader, const uint8_t* CommandData,\r