| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Ethernet/TCP packets of more than ~500 bytes due to an overflow in the checksum calculation loop (thanks to Kevin Malec).
Removed string Attributes from the Service Discovery Protocol code to minimise the potential points of failure while the base code is being debugged.
|
|
|
|
| |
correctly matched against the generic Service Discovery Class UUID.
|
| |
|
|
|
|
| |
Discovery Server UUID, better documentation.
|
|
|
|
| |
SDP handler code.
|
|
|
|
| |
needs to be cleared, not the buffer pointer.
|
|
|
|
| |
Discovery Protocol requests.
|
|
|
|
| |
grouped by UUID, so the response can't be generated as the attributes are read in. Buffer both UUIDs and Attributes instead and generate the response afterwards.
|
|
|
|
| |
Protocol code so that it can now correctly match against UUIDs in the service table.
|
|
|
|
|
|
| |
discovery requests should now be valid, even if they do not currently return the device's services and service attributes.
Added more documentation to the incomplete Bluetooth stack code.
|