- Jul 13, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
- Jul 12, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
- Jul 11, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
Oops - ACL layer Bluetooth_SendPacket() function should check and allow NULL channels, since that indicates a control channel request. Fix up Doxgen documentation for the Bluetooth stack code.
-
Dean Camera authored
Rename Bluetooth stack function parameters to clearly indicate what sort of Bluetooth channel (ACL, RFCOMM) is required for each parameter, to make the code easier to read. Add a new RFCOMM_ChannelSignalsReceived() Bluetooth stack callback from the RFCOMM layer for when the remote device sends new terminal control signals. Fix RFCOMM_SendData() not aborting correctly when the requested RFCOMM channel is not found.
-
- Jul 09, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts. Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
-
- Jul 08, 2010
-
-
Dean Camera authored
Add a new RFCOMM_ChannelOpened() callback event for when logical RFCOMM channels are opened in the BluetoothHost demo. Make the demo echo back sent characters to the remote device.
-
Dean Camera authored
-
Dean Camera authored
Move out Bluetooth stack callback functions to a seperate BluetoothEvents.c/.h set of files for clarity in the Incomplete BluetoothHost demo. Add a new stack callback for opened ACL channels, make the demo save the RFCOMM channel when opened so that it does not have to search for it on each iteration of the main program loop.
-
- Jul 02, 2010
-
-
Dean Camera authored
Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
-
Dean Camera authored
Move out RFCOMM channel structure init code to a seperate routine, to save on compiled code space and to prevent copy-paste errors.
-
- Jun 29, 2010
-
-
Dean Camera authored
Add RFCOMM service routine, to send pending configuration requests on RFCOMM channels. Add in RFCOMM channel config flags, to determine which configuration commands have been sent and received. Add a new RFCOMM_SendChannelSignals() function to transmit a change in V24 terminal handshake lines to the receiving device. Prevent SABM packets sent to the control DLCI in the RFCOMM layer from creating a new channel entry, as the control DLCI does not have connection data associated with it. Fix up MSC control packet handling so that received responses can be acknowledged correctly, so that the RFCOMM layer can record when the receiving device has ACKed a sent change in V24 terminal handshake lines.
-
- Jun 26, 2010
-
-
Dean Camera authored
Make Bluetooth ACL channel searches skip over closed (invalid) channels. RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code.
-
- Jun 25, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Fix Doxygen formatting of parameters for the CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.
-
- Jun 23, 2010
-
-
Dean Camera authored
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.
-
Dean Camera authored
Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.
-
- Jun 22, 2010
-
-
Dean Camera authored
Use a bitmask instead of an array of bools in the SDP UUID List matching algorithm to reduce the compiled code size and stack used.
-
Dean Camera authored
Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
-
- Jun 16, 2010
-
-
Dean Camera authored
-
- Jun 15, 2010
-
-
Dean Camera authored
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.
-
Dean Camera authored
Changed the RFCOMM-specific ItemProtocolChannel_t type to a more generic ItemProtocol_8BitParam_t name, and added a new ItemProtocol_16BitParam_t to the SDP protocol type defines.
-
Dean Camera authored
Add missing BT_* prefix to the Bluetooth stack's channel state enum values.
-
Dean Camera authored
-
- Jun 13, 2010
-
-
Dean Camera authored
Split out the RFCOMM Control Channel command processing code into a seperate set of files for clarity.
-
Dean Camera authored
Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h.
-
Dean Camera authored
-
- Jun 12, 2010
-
-
Dean Camera authored
Minor fixes to demos to add in some missing comments, printf() formatting. Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
-
- Jun 07, 2010
-
-
Dean Camera authored
Add stub RFCOMM command handlers. Move out RFCOMM frame length and data pointer calculations to the master RFCOMM frame reception routine, instead of inside each frame type handler function.
-
Dean Camera authored
More RFCOMM layer implementation - fix FCS calculation, add in start of control channel command processing.
-
Dean Camera authored
Make the RFCOMM_SendFrame() function correctly generate frames from the input parameters, change addressing to use the raw DLCI address plus flags.
-
- Jun 06, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-