aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib
Commit message (Collapse)AuthorAgeFilesLines
* AppConfigHeaders: Remove outdated incomplete BluetoothHost demo - updated ↵Dean Camera2012-05-1315-4278/+0
| | | | Bluetooth stack code is in the ExplorerBot project (http://www.fourwalledcubicle.com/ExplorerBot.php).
* Fix warnings and errors found by the new cppcheck provided static code analysis.Dean Camera2012-02-281-5/+5
|
* Minor documentation fixes - change \note entries to \warning where ↵Dean Camera2012-02-241-1/+1
| | | | appropriate and remove/update old documentation.
* Update file contributor copyrights for 2012.Dean Camera2012-02-0415-15/+15
|
* Update file header copyrights for 2012.Dean Camera2012-02-0415-15/+15
|
* Minor documentation improvements.Dean Camera2012-02-014-11/+11
|
* Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().Dean Camera2011-08-221-1/+1
| | | | | | | | Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines. Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values. Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-052-3/+3
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Fixed compile errors in the incomplete BluetoothHost demo application ↵Dean Camera2011-06-052-20/+20
| | | | (thanks to Timo Lindfors).
* Spell check library source code files.Dean Camera2011-06-011-1/+1
|
* Remove redundant type information for bitfield elements, other than the ↵Dean Camera2011-04-101-14/+14
| | | | | | signed/unsignedness of the element. Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-305-5/+5
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Update copyright year on all source files.Dean Camera2011-01-0115-30/+30
|
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2815-15/+15
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-1315-369/+384
| | | | tool made by Laszlo Monda
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-301-4/+2
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-301-1/+1
| | | | EN-GB spelling dictionary.
* Spell check all source files once again to find any typos.Dean Camera2010-07-292-2/+2
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-2110-87/+181
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add missing eol-style properties to new source files.Dean Camera2010-07-122-371/+371
|
* Correct misspellings in the Bluetooth demo code.Dean Camera2010-07-118-43/+43
|
* Add more doxygen function documentation to the RFCOMM layer.Dean Camera2010-07-112-2/+29
|
* Oops - ACL layer Bluetooth_SendPacket() function should check and allow NULL ↵Dean Camera2010-07-112-10/+10
| | | | | | channels, since that indicates a control channel request. Fix up Doxgen documentation for the Bluetooth stack code.
* Rename Bluetooth stack function parameters to clearly indicate what sort of ↵Dean Camera2010-07-119-122/+130
| | | | | | | | 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.
* Add a new RFCOMM_ChannelOpened() callback event for when logical RFCOMM ↵Dean Camera2010-07-082-6/+19
| | | | channels are opened in the BluetoothHost demo. Make the demo echo back sent characters to the remote device.
* Add a new RFCOMM service callback for when new data has been received on a ↵Dean Camera2010-07-082-5/+5
| | | | valid RFCOMM channel.
* Move out Bluetooth stack callback functions to a seperate ↵Dean Camera2010-07-082-0/+4
| | | | 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.
* Move out RFCOMM channel structure init code to a seperate routine, to save ↵Dean Camera2010-07-024-41/+53
| | | | on compiled code space and to prevent copy-paste errors.
* Add RFCOMM service routine, to send pending configuration requests on RFCOMM ↵Dean Camera2010-06-296-91/+156
| | | | | | | | | | 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.
* Make Bluetooth ACL channel searches skip over closed (invalid) channels. ↵Dean Camera2010-06-264-12/+18
| | | | RFCOMM channels are considered invalid when the channel state is closed, not when the DLCI is zero - fix incorrect code.
* Split RFCOMM channel signals into Remote and Local pairs. Use memcpy() to ↵Dean Camera2010-06-234-31/+44
| | | | | | 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.
* Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame ↵Dean Camera2010-06-236-12/+28
| | | | element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.
* Use a bitmask instead of an array of bools in the SDP UUID List matching ↵Dean Camera2010-06-222-18/+17
| | | | algorithm to reduce the compiled code size and stack used.
* Added new pgm_read_ptr() macro to Common.h for reading of pointers out of ↵Dean Camera2010-06-222-28/+1
| | | | | | flash memory space. Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
* Rename RFCOMM_GetFrameDataLength() to RFCOMM_GetVariableFieldValue() as it ↵Dean Camera2010-06-154-35/+100
| | | | | | | | 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.
* Changed the RFCOMM-specific ItemProtocolChannel_t type to a more generic ↵Dean Camera2010-06-152-9/+24
| | | | ItemProtocol_8BitParam_t name, and added a new ItemProtocol_16BitParam_t to the SDP protocol type defines.
* Add RFCOMM channel configuration parsing and channel states to the ↵Dean Camera2010-06-156-86/+188
| | | | | | incomplete BluetoothHost demo. Add missing BT_* prefix to the Bluetooth stack's channel state enum values.
* Split out the RFCOMM Control Channel command processing code into a seperate ↵Dean Camera2010-06-134-158/+291
| | | | set of files for clarity.
* Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h ↵Dean Camera2010-06-135-11/+12
| | | | files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h.
* More RFCOMM layer additions - begin to add multiplexer channel state variables.Dean Camera2010-06-132-7/+63
|
* Minor fixes to demos to add in some missing comments, printf() formatting. ↵Dean Camera2010-06-121-3/+5
| | | | Make incomplete Bluetooth demo indicate connections visually via the board LEDs.
* Add stub RFCOMM command handlers. Move out RFCOMM frame length and data ↵Dean Camera2010-06-072-44/+103
| | | | pointer calculations to the master RFCOMM frame reception routine, instead of inside each frame type handler function.
* More RFCOMM layer implementation - fix FCS calculation, add in start of ↵Dean Camera2010-06-072-50/+72
| | | | control channel command processing.
* Make the RFCOMM_SendFrame() function correctly generate frames from the ↵Dean Camera2010-06-073-16/+37
| | | | input parameters, change addressing to use the raw DLCI address plus flags.
* Refactor out RFCOMM packet send code into a seperate function.Dean Camera2010-06-062-28/+38
|
* Add the svn:eol-style property onto new files which where missing it to ↵Dean Camera2010-06-064-639/+639
| | | | ensure uniform line endings.
* Document Bluetooth files with overall file Doxygen comments. Add more ↵Dean Camera2010-06-047-23/+133
| | | | initial RFCOMM layer code to receive and respond to SABM packets.
* Minor documentation cleanups.Dean Camera2010-06-037-22/+62
|
* Start implementation of RFCOMM decoding layer. Add new service initialize ↵Dean Camera2010-06-034-1/+107
| | | | routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made.
* Delay needed in bluetooth code due to the send function not waiting for the ↵Dean Camera2010-06-031-4/+3
| | | | pipe bank to become ready before writing. Add in a call to Pipe_WaitUntilReady() to fix the issue.