Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								6bda628718 
								
							 
						 
						
							
							
								
								Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability.  
							
							... 
							
							
							
							Add missing const qualifiers to the demos. 
							
						 
						
							2010-07-21 16:19:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								6b5e684c77 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-07-19 14:00:44 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								42ac34b484 
								
							 
						 
						
							
							
								
								Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions.  
							
							
							
						 
						
							2010-07-18 07:31:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								9299735c75 
								
							 
						 
						
							
							
								
								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.  
							
							
							
						 
						
							2010-07-15 17:13:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								f4710f6f86 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-07-15 16:45:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								1167b69943 
								
							 
						 
						
							
							
								
								Add missing eol-style properties to new source files.  
							
							
							
						 
						
							2010-07-12 10:20:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								ae9dab1398 
								
							 
						 
						
							
							
								
								Add missing clean_doxygen phony targets to the project makefiles.  
							
							
							
						 
						
							2010-07-12 10:18:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								2b0d93c129 
								
							 
						 
						
							
							
								
								Correct misspellings in the Bluetooth demo code.  
							
							
							
						 
						
							2010-07-11 08:11:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								f6e84eabce 
								
							 
						 
						
							
							
								
								Add more doxygen function documentation to the RFCOMM layer.  
							
							
							
						 
						
							2010-07-11 07:59:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								00fa6aa2db 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-07-11 07:38:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								6276d5f82a 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-07-11 07:29:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								2b0e86243f 
								
							 
						 
						
							
							
								
								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.  
							
							
							
						 
						
							2010-07-08 08:48:52 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								c37fd0ef91 
								
							 
						 
						
							
							
								
								Add a new RFCOMM service callback for when new data has been received on a valid RFCOMM channel.  
							
							
							
						 
						
							2010-07-08 08:05:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								70983caea5 
								
							 
						 
						
							
							
								
								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.  
							
							
							
						 
						
							2010-07-08 07:44:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								8b053d6ba5 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-07-02 03:37:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								31a34154db 
								
							 
						 
						
							
							
								
								Move out RFCOMM channel structure init code to a seperate routine, to save on compiled code space and to prevent copy-paste errors.  
							
							
							
						 
						
							2010-07-02 03:06:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								fbabecee66 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-06-29 04:40:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								b656540468 
								
							 
						 
						
							
							
								
								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.  
							
							
							
						 
						
							2010-06-26 15:07:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								4b952d479a 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-06-23 08:10:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								2eff731ecf 
								
							 
						 
						
							
							
								
								Add TEST RFCOMM command handler. Remove the RFCOMM channel UseUIFrame element, as the Bluetooth adaptions to RFCOMM only allow UIH frames to be used.  
							
							
							
						 
						
							2010-06-23 07:17:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								559af02204 
								
							 
						 
						
							
							
								
								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.  
							
							
							
						 
						
							2010-06-22 07:55:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								e621ab33be 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-06-22 07:06:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								13ea700b35 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-06-15 11:28:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								f5d079462d 
								
							 
						 
						
							
							
								
								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.  
							
							
							
						 
						
							2010-06-15 10:09:42 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								3125fd5f4f 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-06-15 09:32:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								67bc625109 
								
							 
						 
						
							
							
								
								Split out the RFCOMM Control Channel command processing code into a seperate set of files for clarity.  
							
							
							
						 
						
							2010-06-13 13:21:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								b522e35965 
								
							 
						 
						
							
							
								
								Rename the incomplete Bluetooth Host demo's ServiceDiscoveryProtocol.c/.h files to SDP.c/.h. Fix compile errors in RFCOMM.c/.h.  
							
							
							
						 
						
							2010-06-13 12:44:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								637c7b01d0 
								
							 
						 
						
							
							
								
								More RFCOMM layer additions - begin to add multiplexer channel state variables.  
							
							
							
						 
						
							2010-06-13 12:37:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								931ca42a6e 
								
							 
						 
						
							
							
								
								Minor fixes to demos to add in some missing comments, printf() formatting. Make incomplete Bluetooth demo indicate connections visually via the board LEDs.  
							
							
							
						 
						
							2010-06-12 07:03:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								e930738247 
								
							 
						 
						
							
							
								
								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.  
							
							
							
						 
						
							2010-06-07 13:39:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								f92229697f 
								
							 
						 
						
							
							
								
								More RFCOMM layer implementation - fix FCS calculation, add in start of control channel command processing.  
							
							
							
						 
						
							2010-06-07 12:53:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								34e0fed4ca 
								
							 
						 
						
							
							
								
								Make the RFCOMM_SendFrame() function correctly generate frames from the input parameters, change addressing to use the raw DLCI address plus flags.  
							
							
							
						 
						
							2010-06-07 09:07:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								361e1ec1d8 
								
							 
						 
						
							
							
								
								Refactor out RFCOMM packet send code into a seperate function.  
							
							
							
						 
						
							2010-06-06 14:39:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								2dabb4e55f 
								
							 
						 
						
							
							
								
								Add the svn:eol-style property onto new files which where missing it to ensure uniform line endings.  
							
							
							
						 
						
							2010-06-06 08:33:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								efbedcfa54 
								
							 
						 
						
							
							
								
								Document Bluetooth files with overall file Doxygen comments. Add more initial RFCOMM layer code to receive and respond to SABM packets.  
							
							
							
						 
						
							2010-06-04 06:25:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								6d53cdba83 
								
							 
						 
						
							
							
								
								More documentation fixes.  
							
							
							
						 
						
							2010-06-03 15:55:28 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								fc92f9969c 
								
							 
						 
						
							
							
								
								Minor documentation cleanups.  
							
							
							
						 
						
							2010-06-03 15:32:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								9293de2491 
								
							 
						 
						
							
							
								
								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.  
							
							
							
						 
						
							2010-06-03 12:45:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								13d812a718 
								
							 
						 
						
							
							
								
								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.  
							
							
							
						 
						
							2010-06-03 08:42:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								a405a9bdf8 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-06-03 08:33:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								480da5aab6 
								
							 
						 
						
							
							
								
								Add PSM value to the RFCOMM service so that the host knows what PSM to use on channels when trying to access it.  
							
							
							
						 
						
							2010-06-03 07:45:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								008e0e2e0a 
								
							 
						 
						
							
							
								
								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. 
							
						 
						
							2010-06-03 03:58:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								23a94a7181 
								
							 
						 
						
							
							
								
								Fix byte ordering of UUIDs in the SDP server - host can now successfully pair to the Bluetooth device and discover the exposed Serial Port Profile RFCOMM service.  
							
							
							
						 
						
							2010-06-02 14:49:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								c362709a1e 
								
							 
						 
						
							
							
								
								The SDP UUID lists should be searched and ALL UUIDs matched for a record to 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. 
							
						 
						
							2010-06-02 07:05:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								da51c1f974 
								
							 
						 
						
							
							
								
								Add L2CAP service attribute table. Fix up ProtocolDescriptorList attributes, and add macros for used UUIDs to reduce typing and make the code easier to read.  
							
							
							
						 
						
							2010-06-02 04:36:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								b98158bd50 
								
							 
						 
						
							
							
								
								Clean up the Service tables, add incomplete ProtocolDescriptorList attribute to the SDP service.  
							
							
							
						 
						
							2010-06-01 14:05:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								32ab52a298 
								
							 
						 
						
							
							
								
								Remove incorrect Language ID offset attribute from the SDP server - client assumes 0x0100 offset for primary language anyway, and the format of the offset was incorrect anyway.  
							
							
							
						 
						
							2010-06-01 13:11:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								255d4ef858 
								
							 
						 
						
							
							
								
								Service Attribute SDP requests should have only one Data Element Sequence container around the single service's retrieved attributes, not two.  
							
							
							
						 
						
							2010-06-01 12:34:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								0902ff9651 
								
							 
						 
						
							
							
								
								Document inline SDP data read/write functions.  
							
							
							
						 
						
							2010-06-01 11:38:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dean Camera 
								
							 
						 
						
							
							
							
							
								
							
							
								3f3fdb01a9 
								
							 
						 
						
							
							
								
								Much faster attribute range lookup - look through short list of attributes 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. 
							
						 
						
							2010-06-01 11:07:29 +00:00