Rename RFCOMM_GetFrameDataLength() to RFCOMM_GetVariableFieldValue() as it is multi...
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 15 Jun 2010 11:28:15 +0000 (11:28 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 15 Jun 2010 11:28:15 +0000 (11:28 +0000)
commit13ea700b35aa8ee9f89cf1cb06d41109d065bfcf
tree65dce334679d553f5aa466d489cddbd56511a6ad
parentf5d079462dd975b9e7ae3f39423a64b6516f5dbd
Rename RFCOMM_GetFrameDataLength() to RFCOMM_GetVariableFieldValue() as it is multi-purpose, and modify it to move the buffer pointer itself rather than relying on the caller.

Make RFCOMM_GetChannelData() return NULL if the required channel DLCI is found, but the channel is closed.

Add modem signals (BREAK, DCD, etc.) to the channel state array, and add in a handler for the Modem Status RFCOMM control command.
Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.c
Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.c
Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMMControl.h