pub/USBasp.git
15 years agoAdd TMC device capabilities to the incomplete TMC demo.
Dean Camera [Fri, 23 Jul 2010 09:12:26 +0000 (09:12 +0000)]
Add TMC device capabilities to the incomplete TMC demo.

15 years agoUpdate size of compiled Mouse demo in documentation, fix indenting in Device.h.
Dean Camera [Fri, 23 Jul 2010 03:25:19 +0000 (03:25 +0000)]
Update size of compiled Mouse demo in documentation, fix indenting in Device.h.

15 years agoConvert over internal pseudo-function macros to true inline functions for added type...
Dean Camera [Thu, 22 Jul 2010 15:38:12 +0000 (15:38 +0000)]
Convert over internal pseudo-function macros to true inline functions for added type-safety and compile-checking.

15 years agoFuture proof the XPROG protocol of the AVRISP-MKII project, so that non PDI and TPI...
Dean Camera [Thu, 22 Jul 2010 12:34:32 +0000 (12:34 +0000)]
Future proof the XPROG protocol of the AVRISP-MKII project, so that non PDI and TPI requests return failure.

15 years agoAdded start of a low level device Test and Measurement class demo (thanks to Peter...
Dean Camera [Thu, 22 Jul 2010 07:19:41 +0000 (07:19 +0000)]
Added start of a low level device Test and Measurement class demo (thanks to Peter Lawrence).

15 years agoFix up minor whitespace formatting errors.
Dean Camera [Thu, 22 Jul 2010 05:00:39 +0000 (05:00 +0000)]
Fix up minor whitespace formatting errors.

15 years agoUpdate all demos, projects and bootloaders to indent all function parameters, one...
Dean Camera [Wed, 21 Jul 2010 16:19:32 +0000 (16:19 +0000)]
Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability.

Add missing const qualifiers to the demos.

15 years agoReplace internal Pipe_BytesToEPSizeMask() routine with a new version which results...
Dean Camera [Wed, 21 Jul 2010 14:17:18 +0000 (14:17 +0000)]
Replace internal Pipe_BytesToEPSizeMask() routine with a new version which results in smaller code.

15 years agoAdd missing const qualifiers to class drivers.
Dean Camera [Wed, 21 Jul 2010 14:00:51 +0000 (14:00 +0000)]
Add missing const qualifiers to class drivers.

Indent core library function parameters so that there is only one parameter per line, to increase readability.

15 years agoMove and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory...
Dean Camera [Wed, 21 Jul 2010 12:20:34 +0000 (12:20 +0000)]
Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h.

Rename LowLevel.c/.h to USBController.c/.h.

Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.

15 years agoAdd missing const qualifier to the parameters of the USB_GetNextDescriptorComp()...
Dean Camera [Wed, 21 Jul 2010 05:39:29 +0000 (05:39 +0000)]
Add missing const qualifier to the parameters of the USB_GetNextDescriptorComp() function.

Reduce spacing of the structure elements in StdDescriptors.h to make the code more readable.

15 years agoFixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint to become...
Dean Camera [Tue, 20 Jul 2010 06:59:13 +0000 (06:59 +0000)]
Fixed MIDI_Device_SendEventPacket() not correctly waiting for the endpoint to become ready (thanks to Robin Green).

15 years agoUpdate makefiles to use the latest WinAVR/Atmel toolchain makefile template.
Dean Camera [Mon, 19 Jul 2010 14:00:44 +0000 (14:00 +0000)]
Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.

Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.

15 years agoChange over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions.
Dean Camera [Sun, 18 Jul 2010 07:31:57 +0000 (07:31 +0000)]
Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions.

15 years agoDisable strict aliasing explicitly in the project makefiles, as this is apparently...
Dean Camera [Thu, 15 Jul 2010 17:13:33 +0000 (17:13 +0000)]
Disable strict aliasing explicitly in the project makefiles, as this is apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.

15 years agoRemoved the automated checking of event names in the demo, project and bootloader...
Dean Camera [Thu, 15 Jul 2010 16:45:26 +0000 (16:45 +0000)]
Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform.

Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.

15 years agoAdded ability to set the serial baud rate via the user's terminal in the XPLAINBridge...
Dean Camera [Thu, 15 Jul 2010 11:01:31 +0000 (11:01 +0000)]
Added ability to set the serial baud rate via the user's terminal in the XPLAINBridge project.

15 years agoFix pointer aliasing warning in the Mass Storage demos.
Dean Camera [Thu, 15 Jul 2010 10:34:29 +0000 (10:34 +0000)]
Fix pointer aliasing warning in the Mass Storage demos.

15 years agoFixed possible buffer overrun in the XPLAINBridge project when in serial bridge mode.
Dean Camera [Thu, 15 Jul 2010 04:45:31 +0000 (04:45 +0000)]
Fixed possible buffer overrun in the XPLAINBridge project when in serial bridge mode.

15 years agoFixed HID device class driver still using PrevReportINBuffer for GetReport control...
Dean Camera [Thu, 15 Jul 2010 01:42:36 +0000 (01:42 +0000)]
Fixed HID device class driver still using PrevReportINBuffer for GetReport control requests even when it has been set to NULL by the user application (thanks to Axel Rohde).

15 years agoChange AVRISP-MKII and XPLAINBridge descriptors to indicate that the device is bus...
Dean Camera [Tue, 13 Jul 2010 14:17:18 +0000 (14:17 +0000)]
Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device is bus-powered only. Add compile time options to reduce the compiled size of the firmware.

15 years agoRemove the timeout period extension code from the AVRISP project, as no single comman...
Dean Camera [Tue, 13 Jul 2010 11:26:03 +0000 (11:26 +0000)]
Remove the timeout period extension code from the AVRISP project, as no single command should ever exceed the maximum timeout period. Extend timeout period to 1 second per command, so that an accidental timeout will never occur.

15 years agoAdded const attributes to some of the class driver function parameters that were...
Dean Camera [Tue, 13 Jul 2010 10:01:13 +0000 (10:01 +0000)]
Added const attributes to some of the class driver function parameters that were missing it.

15 years agoAdd AVRStudio 4 project files to the ClassDriver Device mode demos.
Dean Camera [Tue, 13 Jul 2010 05:38:51 +0000 (05:38 +0000)]
Add AVRStudio 4 project files to the ClassDriver Device mode demos.

15 years agoAdd AVRStudio 4 project files to the LowLevel Device mode demos.
Dean Camera [Tue, 13 Jul 2010 05:20:49 +0000 (05:20 +0000)]
Add AVRStudio 4 project files to the LowLevel Device mode demos.

15 years agoAdd AVRStudio 4 project files to the ClassDriver Host mode demos.
Dean Camera [Tue, 13 Jul 2010 05:11:23 +0000 (05:11 +0000)]
Add AVRStudio 4 project files to the ClassDriver Host mode demos.

15 years agoAdd AVRStudio 4 project files to the LowLevel Host mode demos.
Dean Camera [Tue, 13 Jul 2010 05:01:18 +0000 (05:01 +0000)]
Add AVRStudio 4 project files to the LowLevel Host mode demos.

15 years agoAdd AVRStudio 4 project files for the library bootloaders.
Dean Camera [Tue, 13 Jul 2010 04:43:38 +0000 (04:43 +0000)]
Add AVRStudio 4 project files for the library bootloaders.

15 years agoAdd remaining AVRStudio project files to the library projects.
Dean Camera [Tue, 13 Jul 2010 04:39:54 +0000 (04:39 +0000)]
Add remaining AVRStudio project files to the library projects.

15 years agoAdd first lot of AVRStudio project files for some of the library projects.
Dean Camera [Tue, 13 Jul 2010 04:32:33 +0000 (04:32 +0000)]
Add first lot of AVRStudio project files for some of the library projects.

15 years agoRename the AVRISP main source files to AVRISP-MKII so that it matches the project...
Dean Camera [Tue, 13 Jul 2010 04:16:23 +0000 (04:16 +0000)]
Rename the AVRISP main source files to AVRISP-MKII so that it matches the project name. Add AVRStudio project file for the AVRISP-MKII project.

15 years agoAdd missing eol-style properties to new source files.
Dean Camera [Mon, 12 Jul 2010 10:20:38 +0000 (10:20 +0000)]
Add missing eol-style properties to new source files.

15 years agoAdd missing clean_doxygen phony targets to the project makefiles.
Dean Camera [Mon, 12 Jul 2010 10:18:18 +0000 (10:18 +0000)]
Add missing clean_doxygen phony targets to the project makefiles.

15 years agoReduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns...
Dean Camera [Mon, 12 Jul 2010 07:11:50 +0000 (07:11 +0000)]
Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns will not occur regardless of hardware and baud rate settings.

15 years agoAlter the ring buffer library headers to have both atomic and non-atomic insertion...
Dean Camera [Mon, 12 Jul 2010 07:04:19 +0000 (07:04 +0000)]
Alter the ring buffer library headers to have both atomic and non-atomic insertion/removal routines. Modify the existing projects so that buffer operations performed in an ISR use the shorted non-atomic versions, as they are already performed in a blocking ISR.

Alter USBtoSerial demo so that it does not enter a blocking loop to send data from the USB to the USART, as this can cause dropped bytes in the reception code if large amounts of data are sent in both directions at the same time. Added a flush timer to the USBtoSerial code for the USART to USB interface, so that multiple bytes can be sent in the same USB packet.

15 years agoAdd glitch protection to the software UART in the XPLAINBridge project code, so that...
Dean Camera [Mon, 12 Jul 2010 02:23:11 +0000 (02:23 +0000)]
Add glitch protection to the software UART in the XPLAINBridge project code, so that very short glitches on the RX line don't cause a frame reception to occur.

15 years agoMajor changes to the XPLAINBridge software UART code for performance and reliability...
Dean Camera [Sun, 11 Jul 2010 14:14:08 +0000 (14:14 +0000)]
Major changes to the XPLAINBridge software UART code for performance and reliability. New code reduces the number of missed characters and misread characters.

15 years agoCorrect misspellings in the Bluetooth demo code.
Dean Camera [Sun, 11 Jul 2010 08:11:25 +0000 (08:11 +0000)]
Correct misspellings in the Bluetooth demo code.

15 years agoAdd more doxygen function documentation to the RFCOMM layer.
Dean Camera [Sun, 11 Jul 2010 07:59:15 +0000 (07:59 +0000)]
Add more doxygen function documentation to the RFCOMM layer.

15 years agoOops - ACL layer Bluetooth_SendPacket() function should check and allow NULL channels...
Dean Camera [Sun, 11 Jul 2010 07:38:18 +0000 (07:38 +0000)]
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.

15 years agoRename Bluetooth stack function parameters to clearly indicate what sort of Bluetooth...
Dean Camera [Sun, 11 Jul 2010 07:29:27 +0000 (07:29 +0000)]
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.

15 years agoOops - fix errors in the MassStorageKeyboard SCSI driver file due to incorrect copy...
Dean Camera [Fri, 9 Jul 2010 07:44:08 +0000 (07:44 +0000)]
Oops - fix errors in the MassStorageKeyboard SCSI driver file due to incorrect copy/paste.

15 years agoRewrote the implementation of the SwapEndian_16() and SwapEndian_32() functions so...
Dean Camera [Fri, 9 Jul 2010 07:24:34 +0000 (07:24 +0000)]
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().

15 years agoAdd a new RFCOMM_ChannelOpened() callback event for when logical RFCOMM channels...
Dean Camera [Thu, 8 Jul 2010 08:48:52 +0000 (08:48 +0000)]
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.

15 years agoAdd a new RFCOMM service callback for when new data has been received on a valid...
Dean Camera [Thu, 8 Jul 2010 08:05:14 +0000 (08:05 +0000)]
Add a new RFCOMM service callback for when new data has been received on a valid RFCOMM channel.

15 years agoMove out Bluetooth stack callback functions to a seperate BluetoothEvents.c/.h set...
Dean Camera [Thu, 8 Jul 2010 07:44:07 +0000 (07:44 +0000)]
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.

15 years agoMake main readme file easier to read, and make documentation build instructions clearer.
Dean Camera [Tue, 6 Jul 2010 07:07:54 +0000 (07:07 +0000)]
Make main readme file easier to read, and make documentation build instructions clearer.

15 years agoImprove commenting of the Dataflash stub board driver file, to prevent confusion...
Dean Camera [Sun, 4 Jul 2010 14:31:18 +0000 (14:31 +0000)]
Improve commenting of the Dataflash stub board driver file, to prevent confusion of what the dataflash selection masks need to be. Update stub driver to automatically interleave data between the chips if two Dataflash chips are present.

15 years agoAdded new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions...
Dean Camera [Fri, 2 Jul 2010 03:37:19 +0000 (03:37 +0000)]
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.

15 years agoMove out RFCOMM channel structure init code to a seperate routine, to save on compile...
Dean Camera [Fri, 2 Jul 2010 03:06:16 +0000 (03:06 +0000)]
Move out RFCOMM channel structure init code to a seperate routine, to save on compiled code space and to prevent copy-paste errors.

15 years agoAdd RFCOMM service routine, to send pending configuration requests on RFCOMM channels...
Dean Camera [Tue, 29 Jun 2010 04:40:02 +0000 (04:40 +0000)]
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.

15 years agoMake Bluetooth ACL channel searches skip over closed (invalid) channels. RFCOMM chann...
Dean Camera [Sat, 26 Jun 2010 15:07:13 +0000 (15:07 +0000)]
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.

15 years agoAdd default "all" makefile targets to the demo tree makefiles.
Dean Camera [Fri, 25 Jun 2010 13:28:34 +0000 (13:28 +0000)]
Add default "all" makefile targets to the demo tree makefiles.

15 years agoMake loops in AVRISP-MKII Clone project's XPROG protocol infinite rather than looping...
Dean Camera [Fri, 25 Jun 2010 13:19:05 +0000 (13:19 +0000)]
Make loops in AVRISP-MKII Clone project's XPROG protocol infinite rather than looping on the timeout value, as this is already checked inside the loop anyway.

15 years agoFix Doxygen formatting of parameters for the CALLBACK_HID_Device_CreateHIDReport...
Dean Camera [Fri, 25 Jun 2010 09:49:46 +0000 (09:49 +0000)]
Fix Doxygen formatting of parameters for the CALLBACK_HID_Device_CreateHIDReport() function in the ClassDriver HID device demos.

15 years agoMake XPLAINBridge serial bridge much more reliable for the reception of characters...
Dean Camera [Thu, 24 Jun 2010 08:12:27 +0000 (08:12 +0000)]
Make XPLAINBridge serial bridge much more reliable for the reception of characters from the XMEGA through the software UART interface.

15 years agoMaximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial projects...
Dean Camera [Thu, 24 Jun 2010 07:42:18 +0000 (07:42 +0000)]
Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial projects, so that they should never become full under normal conditions.

15 years agoSplit RFCOMM channel signals into Remote and Local pairs. Use memcpy() to copy over...
Dean Camera [Wed, 23 Jun 2010 08:10:21 +0000 (08:10 +0000)]
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.

15 years agoAdd TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame element, as...
Dean Camera [Wed, 23 Jun 2010 07:17:47 +0000 (07:17 +0000)]
Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.

15 years agoUse a bitmask instead of an array of bools in the SDP UUID List matching algorithm...
Dean Camera [Tue, 22 Jun 2010 07:55:02 +0000 (07:55 +0000)]
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.

15 years agoAdded new pgm_read_ptr() macro to Common.h for reading of pointers out of flash memor...
Dean Camera [Tue, 22 Jun 2010 07:06:27 +0000 (07:06 +0000)]
Added new pgm_read_ptr() macro to Common.h for reading of pointers out of flash memory space.

Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.

15 years agoMoved calls to V2Params_UpdateParamValues() out of the main AVRISP-MKII and XPLAINBri...
Dean Camera [Mon, 21 Jun 2010 13:39:56 +0000 (13:39 +0000)]
Moved calls to V2Params_UpdateParamValues() out of the main AVRISP-MKII and XPLAINBridge project loops and into the AVRISP management function.

15 years agoFixed broken PDI EEPROM Section Erase functionality in the AVRISP-MKII project.
Dean Camera [Thu, 17 Jun 2010 09:17:09 +0000 (09:17 +0000)]
Fixed broken PDI EEPROM Section Erase functionality in the AVRISP-MKII project.

15 years agoRenamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().
Dean Camera [Thu, 17 Jun 2010 08:15:58 +0000 (08:15 +0000)]
Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().

Minor tweaks to the library documentation.

15 years agoFix compile and Doxygen errors due to the spell-check changes in the source code.
Dean Camera [Wed, 16 Jun 2010 11:46:42 +0000 (11:46 +0000)]
Fix compile and Doxygen errors due to the spell-check changes in the source code.

15 years agoSpell check code and manual pages. Remove custom Doxygen CSS stylesheet, as the new...
Dean Camera [Wed, 16 Jun 2010 11:01:01 +0000 (11:01 +0000)]
Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as the new 1.7 Doxygen's default stylesheet is much better.

15 years agoRename RFCOMM_GetFrameDataLength() to RFCOMM_GetVariableFieldValue() as it is multi...
Dean Camera [Tue, 15 Jun 2010 11:28:15 +0000 (11:28 +0000)]
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.

15 years agoChanged the RFCOMM-specific ItemProtocolChannel_t type to a more generic ItemProtocol...
Dean Camera [Tue, 15 Jun 2010 10:09:42 +0000 (10:09 +0000)]
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.

15 years agoAdd RFCOMM channel configuration parsing and channel states to the incomplete Bluetoo...
Dean Camera [Tue, 15 Jun 2010 09:32:35 +0000 (09:32 +0000)]
Add RFCOMM channel configuration parsing and channel states to the incomplete BluetoothHost demo.

Add missing BT_* prefix to the Bluetooth stack's channel state enum values.

15 years agoFix HID parser documentation for the default maximum report/path/etc. elements so...
Dean Camera [Tue, 15 Jun 2010 03:40:02 +0000 (03:40 +0000)]
Fix HID parser documentation for the default maximum report/path/etc. elements so that it matches the current code values.

15 years agoChange over Doxygen \note documentation to \pre where applicable.
Dean Camera [Tue, 15 Jun 2010 03:34:55 +0000 (03:34 +0000)]
Change over Doxygen \note documentation to \pre where applicable.

15 years agoUpdate TemperatureDataLogger and Webserver projects to the latest FATFS library version.
Dean Camera [Mon, 14 Jun 2010 11:58:23 +0000 (11:58 +0000)]
Update TemperatureDataLogger and Webserver projects to the latest FATFS library version.

15 years agoSplit out the RFCOMM Control Channel command processing code into a seperate set...
Dean Camera [Sun, 13 Jun 2010 13:21:35 +0000 (13:21 +0000)]
Split out the RFCOMM Control Channel command processing code into a seperate set of files for clarity.

15 years agoRename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h files to...
Dean Camera [Sun, 13 Jun 2010 12:44:20 +0000 (12:44 +0000)]
Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h.

15 years agoMore RFCOMM layer additions - begin to add multiplexer channel state variables.
Dean Camera [Sun, 13 Jun 2010 12:37:16 +0000 (12:37 +0000)]
More RFCOMM layer additions - begin to add multiplexer channel state variables.

15 years agoOops - temp code left in the XPLAINBridge project which prevented it from entering...
Dean Camera [Sat, 12 Jun 2010 08:52:44 +0000 (08:52 +0000)]
Oops - temp code left in the XPLAINBridge project which prevented it from entering programmer mode.

15 years agoSlight improvements to the reliability of the software UART in the XPLAINBridge project.
Dean Camera [Sat, 12 Jun 2010 08:39:12 +0000 (08:39 +0000)]
Slight improvements to the reliability of the software UART in the XPLAINBridge project.

15 years agoMinor fixes to demos to add in some missing comments, printf() formatting. Make incom...
Dean Camera [Sat, 12 Jun 2010 07:03:22 +0000 (07:03 +0000)]
Minor fixes to demos to add in some missing comments, printf() formatting. Make incomplete Bluetooth demo indicate connections visually via the board LEDs.

15 years agoSpeed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured pipes,...
Dean Camera [Sat, 12 Jun 2010 07:01:18 +0000 (07:01 +0000)]
Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured pipes, rather than performing token check first.

15 years agoOops - light weight ring buffer documentation used \ref instead of \param to document...
Dean Camera [Thu, 10 Jun 2010 01:30:32 +0000 (01:30 +0000)]
Oops - light weight ring buffer documentation used \ref instead of \param to document function parameters.

15 years agoAdd missing documentation to the lightweight ring buffer code in the XPLAINBridge...
Dean Camera [Thu, 10 Jun 2010 01:26:10 +0000 (01:26 +0000)]
Add missing documentation to the lightweight ring buffer code in the XPLAINBridge project.

15 years agoUpdate main library makefile with missing source files for the "clean" rule.
Dean Camera [Tue, 8 Jun 2010 14:47:17 +0000 (14:47 +0000)]
Update main library makefile with missing source files for the "clean" rule.

15 years agoAdd missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class driver...
Dean Camera [Tue, 8 Jun 2010 11:14:07 +0000 (11:14 +0000)]
Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class driver functions.

15 years agoAdd Mecurial repository mirror link to the library documentation.
Dean Camera [Tue, 8 Jun 2010 09:13:11 +0000 (09:13 +0000)]
Add Mecurial repository mirror link to the library documentation.

15 years agoAdd stub RFCOMM command handlers. Move out RFCOMM frame length and data pointer calcu...
Dean Camera [Mon, 7 Jun 2010 13:39:34 +0000 (13:39 +0000)]
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.

15 years agoMore RFCOMM layer implementation - fix FCS calculation, add in start of control chann...
Dean Camera [Mon, 7 Jun 2010 12:53:47 +0000 (12:53 +0000)]
More RFCOMM layer implementation - fix FCS calculation, add in start of control channel command processing.

15 years agoMake the RFCOMM_SendFrame() function correctly generate frames from the input paramet...
Dean Camera [Mon, 7 Jun 2010 09:07:18 +0000 (09:07 +0000)]
Make the RFCOMM_SendFrame() function correctly generate frames from the input parameters, change addressing to use the raw DLCI address plus flags.

15 years agoRefactor out RFCOMM packet send code into a seperate function.
Dean Camera [Sun, 6 Jun 2010 14:39:51 +0000 (14:39 +0000)]
Refactor out RFCOMM packet send code into a seperate function.

15 years agoFix incorrect copyright attribution on the class-driver keyboard demos due to header...
Dean Camera [Sun, 6 Jun 2010 14:03:56 +0000 (14:03 +0000)]
Fix incorrect copyright attribution on the class-driver keyboard demos due to header copy-pasting.

15 years agoDocument lightweight ring buffer header files.
Dean Camera [Sun, 6 Jun 2010 13:49:50 +0000 (13:49 +0000)]
Document lightweight ring buffer header files.

15 years agoAdd the svn:eol-style property onto new files which where missing it to ensure unifor...
Dean Camera [Sun, 6 Jun 2010 08:33:14 +0000 (08:33 +0000)]
Add the svn:eol-style property onto new files which where missing it to ensure uniform line endings.

15 years agoDocument Bluetooth files with overall file Doxygen comments. Add more initial RFCOMM...
Dean Camera [Fri, 4 Jun 2010 06:25:12 +0000 (06:25 +0000)]
Document Bluetooth files with overall file Doxygen comments. Add more initial RFCOMM layer code to receive and respond to SABM packets.

15 years agoFixed incorrect function references in the Mass Storage Class driver documentation.
Dean Camera [Thu, 3 Jun 2010 15:58:22 +0000 (15:58 +0000)]
Fixed incorrect function references in the Mass Storage Class driver documentation.

15 years agoMore documentation fixes.
Dean Camera [Thu, 3 Jun 2010 15:55:28 +0000 (15:55 +0000)]
More documentation fixes.

15 years agoMinor documentation cleanups.
Dean Camera [Thu, 3 Jun 2010 15:32:45 +0000 (15:32 +0000)]
Minor documentation cleanups.

15 years agoStart implementation of RFCOMM decoding layer. Add new service initialize routines...
Dean Camera [Thu, 3 Jun 2010 12:45:15 +0000 (12:45 +0000)]
Start implementation of RFCOMM decoding layer. Add new service initialize routines for each Bluetooth service - currently unused, but will eventually reset the service state of RFCOMM when a new connection is made.

15 years agoDelay needed in bluetooth code due to the send function not waiting for the pipe...
Dean Camera [Thu, 3 Jun 2010 08:42:20 +0000 (08:42 +0000)]
Delay needed in bluetooth code due to the send function not waiting for the pipe bank to become ready before writing. Add in a call to Pipe_WaitUntilReady() to fix the issue.

15 years agoExtra protocol value in the RFCOMM protocol is the channel number, not the PSM -...
Dean Camera [Thu, 3 Jun 2010 08:33:01 +0000 (08:33 +0000)]
Extra protocol value in the RFCOMM protocol is the channel number, not the 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.

15 years agoAdd PSM value to the RFCOMM service so that the host knows what PSM to use on channel...
Dean Camera [Thu, 3 Jun 2010 07:45:09 +0000 (07:45 +0000)]
Add PSM value to the RFCOMM service so that the host knows what PSM to use on channels when trying to access it.

15 years agoAdd start of RFCOMM service layer to the incomplete BluetoothHost demo.
Dean Camera [Thu, 3 Jun 2010 03:58:57 +0000 (03:58 +0000)]
Add start of RFCOMM service layer to the incomplete BluetoothHost demo.

Reduce the size of the attribute search list from 15 ranges to 8 to save RAM.