| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
parameters, one per line, for better readability.
Add missing const qualifiers to the demos.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
flash memory space.
Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
|
|
|
|
| |
Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
|
| |
|
|
|
|
| |
routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
SDP handler code.
|
|
|
|
| |
correctly converted to the target system's native end of line style.
|
|
|
|
| |
be done in the user application once all init code has run.
|
|
|
|
|
|
|
|
|
|
| |
the BluetoothHost demo.
Added new HCI states to properly initialize the bluetooth dongle and retrieve the local BDADDR.
Factored out Bluetooth state information into a new state structure for easy reference in the user application.
Added new StackInitialized() Bluetooth stack callback function.
|
|
|
|
| |
Minor documentation improvements.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
applicable to variables also. Add new ATTR_NOINIT attribute for global variables.
Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo.
Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing.
|
|
|
|
|
|
|
|
| |
signalling command processing routines.
Change over the code so that the bluetooth packet data is read in by the stack rather than the user application, to make it more unform for sending/receiving, and so the library can handle incomming fragmentation in the future.
Start Service Discovery Protocol decoding and processing.
|
|
|
|
| |
requests.
|
|
|
|
|
|
| |
Configuration Requests, needs further debugging. Implement Bluetooth spec's channel states.
Use abbreviations for the structure and function names where possible to try to cut down on the code verbosity.
|
|
|
|
| |
Bluetooth Host demo.
|
|
|
|
|
|
|
|
| |
request/response handlers.
Add Bluetooth connection request/complete/disconnection callbacks.
Remove debugging from HCI layer, as it is now operational -- add guards to ACL debug statements to reduce logging chattyness so that the overall command sequences can be observed and debugged.
|
|
|
|
|
|
|
|
| |
connections from remote devices. Add in ability to reject connections based on their bluetooth device address.
Clean up RelayBoard project code.
Make AVRISP project clear the XMEGA target's reset register twice; this does not appear to take affect properly the first time under some circumstances.
|
|
|
|
|
|
| |
Event processing.
Remove unused macro in the host mode demos for the maximum Configuration Descriptor size.
|
|
|
|
| |
code much easier to read, block less and work correctly.
|
| |
|
| |
|
|
|
|
|
|
| |
incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface.
Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
|
|
|
|
|
|
|
|
| |
events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only.
Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events.
Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
|
|
|
|
| |
and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
|
|
|
|
| |
not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
|
|
|
|
|
|
| |
non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state.
Added verbose documentation for each of the USB Host state machine states.
|
|
|
|
|
|
| |
Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder.
Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
|
|
|
|
|
|
|
|
|
|
| |
condition on an attached device's endpoint.
Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor.
Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption.
Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
|
|
|
|
| |
earlier Start-of-frame event experiments.
|
|
Copy and convert incomplete Bluetooth Host demo to the library.
|