#include "RFCOMM.h"\r
\r
/* Macros: */\r
- #define RFCOMM_\r
+ #define RFCOMM_STATUSFLAG_FC (1 << 1)\r
+ #define RFCOMM_STATUSFLAG_RTC (1 << 2)\r
+ #define RFCOMM_STATUSFLAG_RTR (1 << 3)\r
+ #define RFCOMM_STATUSFLAG_IC (1 << 6)\r
+ #define RFCOMM_STATUSFLAG_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 BreakSignals;\r
+ } RFCOMM_MS_Parameters_t;\r
\r
/* Function Prototypes: */\r
void RFCOMM_ProcessControlCommand(const uint8_t* Command, Bluetooth_Channel_t* const Channel);\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