| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
channels are opened in the BluetoothHost demo. Make the demo echo back sent characters to the remote device.
|
|
|
|
| |
valid RFCOMM channel.
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
on compiled code space and to prevent copy-paste errors.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code.
|
| |
|
|
|
|
| |
CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.
|
|
|
|
| |
algorithm to reduce the compiled code size and stack used.
|
|
|
|
|
|
| |
flash memory space.
Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
|
|
|
|
| |
code.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
ItemProtocol_8BitParam_t name, and added a new ItemProtocol_16BitParam_t to the SDP protocol type defines.
|
|
|
|
|
|
| |
incomplete BluetoothHost demo.
Add missing BT_* prefix to the Bluetooth stack's channel state enum values.
|
| |
|
|
|
|
| |
set of files for clarity.
|
|
|
|
| |
files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h.
|
| |
|
|
|
|
| |
Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
|
|
|
|
| |
pointer calculations to the master RFCOMM frame reception routine, instead of inside each frame type handler function.
|
|
|
|
| |
control channel command processing.
|
|
|
|
| |
input parameters, change addressing to use the raw DLCI address plus flags.
|
| |
|
|
|
|
| |
to header copy-pasting.
|
|
|
|
| |
ensure uniform line endings.
|
|
|
|
| |
initial RFCOMM layer code to receive and respond to SABM packets.
|
| |
|
| |
|
|
|
|
| |
routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made.
|
|
|
|
| |
pipe bank to become ready before writing. Add in a call to Pipe_WaitUntilReady() to fix the issue.
|
|
|
|
|
|
| |
PSM - update typedef name and size.
Add delay to the Connection Request signal processing routine - without this, the host will not create the RFCOMM channel correctly. Need to investigate why this delay is needed.
|
|
|
|
| |
on channels when trying to access it.
|
|
|
|
| |
Reduce the size of the attribute search list from 15 ranges to 8 to save RAM.
|
|
|
|
| |
pair to the Bluetooth device and discover the exposed Serial Port Profile RFCOMM service.
|
|
|
|
|
|
|
|
| |
be retrieved, not partial matches. Change the SDP code so that the entire list must be matched against a service attribute table's contents before it is returned.
Change matching algorithm so that it recursively searches through the entire attribute table, and not just pre-specified sequence attributes.
Add browse lists and proper descriptions to the Serial Port service.
|
|
|
|
| |
and add macros for used UUIDs to reduce typing and make the code easier to read.
|
|
|
|
| |
to the SDP service.
|
|
|
|
| |
assumes 0x0100 offset for primary language anyway, and the format of the offset was incorrect anyway.
|
|
|
|
| |
container around the single service's retrieved attributes, not two.
|
| |
|
|
|
|
|
|
| |
and compare to range, rather than looking up by each possible value within the range.
Cleanups to SDP code. Add missing RFCOMM language base ID offset attribute. Fix incorrect definition of the SWAPENDIAN_32() macro.
|
|
|
|
| |
UUID format properly.
|
|
|
|
| |
code cleaner.
|
| |
|
|
|
|
| |
incomplete Bluetooth Host demo. Host can now correctly retrieve specific services, however Windows does not appear to be sending the appropriate generic browse class IDs needed to report the virtual serial service.
|
|
|
|
|
|
| |
to Axel Rohde).
Partial fix to the Bluetooth SDP code - data should be encoded in big endian, not little endian.
|
|
|
|
| |
to an integer type.
|