Split RFCOMM channel signals into Remote and Local pairs. Use memcpy() to copy over data from the command parameters to the RFCOMM response parameters.
Ensure that only the valid parameter bytes are sent back in response to MSC commands.
This commit is contained in:
@@ -86,9 +86,16 @@
|
||||
uint8_t State;
|
||||
uint8_t Priority;
|
||||
uint16_t MTU;
|
||||
uint8_t StatusFlags;
|
||||
uint8_t Signals;
|
||||
uint8_t BreakSignals;
|
||||
struct
|
||||
{
|
||||
uint8_t Signals;
|
||||
uint8_t BreakSignal;
|
||||
} Remote;
|
||||
struct
|
||||
{
|
||||
uint8_t Signals;
|
||||
uint8_t BreakSignal;
|
||||
} Local;
|
||||
} RFCOMM_Channel_t;
|
||||
|
||||
/* External Variables: */
|
||||
|
||||
Reference in New Issue
Block a user