Commit Graph

125 Commits (f6e84eabce461aa3e80638f6ce3e6eaba492216e)

Author SHA1 Message Date
Dean Camera 8cdb141eed SDP Service improvements; fixed UUID for SDP service, added Service Discovery Server UUID, better documentation.
15 years ago
Dean Camera a20a9086f7 Add comments and partial Doxygen documentation to the incomplete Bluetooth SDP handler code.
15 years ago
Dean Camera 58a0ee67a3 Oops - when adding a sequence header to the SDP response, the size value needs to be cleared, not the buffer pointer.
15 years ago
Dean Camera 92bebc457f Add incomplete code to properly handle attribute responses to Service Discovery Protocol requests.
15 years ago
Dean Camera 83b5c916c6 Service Discovery ServiceSearchAttribute requests require the response to be 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.
15 years ago
Dean Camera 3e515cdfa8 Short UUIDs are measured in bytes, not bits -- update Service Discovery Protocol code so that it can now correctly match against UUIDs in the service table.
15 years ago
Dean Camera 141d94fa98 More SDP code improvements - responses to ServiceSearchAttribute service discovery requests should now be valid, even if they do not currently return the device's services and service attributes.
15 years ago
Dean Camera 78600e2485 Switch over the BluetoothHost demo's Service Discovery code to pass around more generic GUID arrays.
15 years ago
Dean Camera f13bc35a19 Begin processing code for Service Discovery Protocol attributes.
15 years ago
Dean Camera ee5ea4ce2b Fix nasty bug in USBInterrupt.c which would cause a lockup if the control endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined.
15 years ago
Dean Camera 53ebb2f21a Refactor Service Discovery Protocol code in the incomplete Bluetooth Host demo, so that the UUID list is compiled via a seperate function to allow for its re-use between different SDP request types.
15 years ago
Dean Camera 071e02c6b6 Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
15 years ago
Dean Camera e331b531c6 Change over instances of "make" in the makefiles to "$(MAKE)" to allow for the make tool to be overridden.
15 years ago
Dean Camera 27eb17cb93 Change over unix line-endings to dos line endings.
15 years ago
Dean Camera 9cad677ebb The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() functions are now inline, to reduce overhead.
15 years ago
Dean Camera e977774d4e Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel directory as it is hardware-dependent.
15 years ago
Dean Camera 59c4871f80 USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.
15 years ago
Dean Camera 5993e1efe7 Added ability to search by Channel PSM to the GetChannelData() function in the BluetoothHost demo.
15 years ago
Dean Camera 8252b4febd Fixed HID Device Class Driver not allocating a temporary buffer when the host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski).
15 years ago
Dean Camera d03d6513d0 Add start of a SDP service table, which will be linked to the Bluetooth SDP code.
15 years ago
Dean Camera d92e9133d3 Make bluetooth SDP code correctly unpack the search UUIDs and parameters.
15 years ago
Dean Camera fc8e4837a9 Add const keyword to the demo function parameters where possible.
15 years ago
Dean Camera 55db57e1ed Add bluetooth channel connection callback to the incomplete BluetoothHost demo.
15 years ago
Dean Camera 1f682ca2de Minor documentation improvements.
15 years ago
Dean Camera 3eb81df998 Rename FunctionAttributes.h to Attributes.h, as some attributes are applicable to variables also. Add new ATTR_NOINIT attribute for global variables.
15 years ago
Dean Camera e55f338663 Document the Bluetooth ACL layer. Remove unneeded parameters from the signalling command processing routines.
15 years ago
Dean Camera 882ef0c983 Add some more documentation to the half-completed Bluetooth Host demo, fix the OpenChannel() command initialising the channel information structure to the wrong initial state once the CONNECTION REQUEST command has been sent to the remote device.
15 years ago
Dean Camera 8b0ec6c5ca Fix Bluetooth stack CONNECTION RESPONSE packets - for this command and this command only, the source/destination roles are switched. Reverse the Local/Remote channel ordering so that Windows mobile and other stacks which depend on valid channel values to connect.
15 years ago
Dean Camera 6cfa3b7db8 Add HCI debugging with verbosity control to the BluetoothHost demo.
15 years ago
Dean Camera 26421b38cd Fix up Bluetooth Demo's options processing on incoming channel configuration requests.
15 years ago
Dean Camera 28f1ac8117 Add LUFA-side channel open/close routines, add signalling handlers for the creation and configuration of channels from the local device to the remote device, to add to the existing remote to local channel capabilities.
15 years ago
Dean Camera 797130bddc Bluetooth demo can now create and maintain logical channels - need to determine why Windows machines refuse to connect.
15 years ago
Dean Camera 2a072db703 Make Bluetooth signalling handler routines use the generic Bluetooth_SendPacket() routine for their responses. Use a better method of controlling the debug output verbosity.
15 years ago
Dean Camera c77f136661 Add bidirectional channel configuration -- remote device is not ACKing sent Configuration Requests, needs further debugging. Implement Bluetooth spec's channel states.
15 years ago
Dean Camera b9c7d19615 Add packet reception and send routines to the ACL layer of the incomplete Bluetooth Host demo.
15 years ago
Dean Camera ee74b4948f Add information request/response signal handler to the Bluetooth Host demo.
15 years ago
Dean Camera 083d797aca Add Bluetooth signalling echo request/response handlers, disconnection request/response handlers.
15 years ago
Dean Camera fa1a092901 Add user callback function to the Bluetooth host demo to filter out connections from remote devices. Add in ability to reject connections based on their bluetooth device address.
15 years ago
Dean Camera fd96b28882 More improvements to the incomplete BluetoothHost demo - add Disconnection Event processing.
15 years ago
Dean Camera a2e6d54336 Massive cleanups to the incomplete BluetoothHost demo, to make the HCL layer code much easier to read, block less and work correctly.
15 years ago
Dean Camera c58c53dba9 Added incomplete MIDIToneGenerator project.
15 years ago
Dean Camera 15f84bb8f5 New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver).
15 years ago
Dean Camera 7f9f97c792 Update copyright year to 2010.
15 years ago
Dean Camera 0ea819f781 Fix TemperatureDataLogger - sample tick timer wasn't being initialized in the correct CTC mode.
15 years ago
Dean Camera d4ca7fb44c Fix MIT license language to make its intent clearer.
15 years ago
Dean Camera 3705330dd3 Use -pedantic compile time option to find and correct several minor code errors.
15 years ago
Dean Camera 7ace314cc1 Increase timeout of Mass Storage and Still Image host commands to 10 seconds (up from 5) to account for slow-processing devices.
15 years ago
Dean Camera e625fd6df3 Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function to USB_Host_GetDeviceConfigDescriptor().
15 years ago
Dean Camera d6edfe35c8 Spell check all source code variables, comments and strings.
15 years ago
Dean Camera 34dc7f241f Make Low Level host demos use void pointers for the configuration descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines.
15 years ago
Dean Camera c3dfc58707 Fix invalid Event name rule in demo/project makefiles.
15 years ago
Dean Camera fa8d25ef29 Remove old OTG demo directory with useless TestApp demo. Add new DualRole directory with new Class Driver powered Mouse dual role demonstration application showing a dual role device using the HID host/device Class drivers.
15 years ago
Dean Camera b221e7d175 Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project.
16 years ago
Dean Camera 0486f12e3e Add in new invalid event hook check targets to project makefiles to produce compilation errors when invalid event names are used in a project.
16 years ago
Dean Camera f9f1bcc25c Oops - with new changes to the way the device Configuration Descriptor is retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters.
16 years ago
Dean Camera 7fbb759287 Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() function so that it now performs size checks and data validations internally, to simplify user code.
16 years ago
Dean Camera 0f51db56c0 Replace -finline-limit with -fno-inline-small-functions in project makefiles.
16 years ago
Dean Camera c830fcb0e1 Make Endpoint control transfers more reliable; early-abort when an 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.
16 years ago
Dean Camera c5038f1bf4 Renamed all library events to properly seperate out Device and Host mode events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only.
16 years ago
Dean Camera 3472af91a5 Change project makefiles so that the current target settings and not just the board selection is printed during the build process.
16 years ago
Dean Camera e071f3897a Added new USB_DeviceState variable to keep track of the current Device mode USB state.
16 years ago
Dean Camera cf313989e6 Don't send terminal RESET codes via serial - just set the foreground colour and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
16 years ago
Dean Camera cc879df4f0 Use sane ANSI terminal escape codes for the Host mode demos, so that they do not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
16 years ago
Dean Camera 0fcbe22c9e Added new HOST_STATE_WaitForDeviceRemoval host state machine state for 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.
16 years ago
Dean Camera 23f3c3deee Fixed compilation error in incomplete BluetoothHost demo.
16 years ago
Dean Camera e0af6014a7 Added incomplete PrinterHost demo application.
16 years ago
Dean Camera a3a04aa671 Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
16 years ago
Dean Camera feabfd12ce Fix makefiles -- the auto-addition of -D switches to each LUFA compile time option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead.
16 years ago
Dean Camera beb0b2bda0 Move LUFA compile time options to a new section in the application makefiles for clarity.
16 years ago
Dean Camera dfa547164a Extend USB_GetDeviceConfigDescriptor() routine to require the configuration number within the device to fetch, to add support for multi-configuration devices.
16 years ago
Dean Camera e338cb6f32 Added new USB_Host_ClearPipeStall() convenience function to clear a stall condition on an attached device's endpoint.
16 years ago
Dean Camera 4d3a594f3e Changed per-device controller preprocessor checks over to per-device series for better device control.
16 years ago
Dean Camera 6be24e4404 Fixes to the MIDI device demos (ClassDriver, LowLevel); discard unused read-in events from the host, use standard MIDI event structure in low level demo rather than sending individual bytes.
16 years ago
Dean Camera ac70ddd0a1 Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments.
16 years ago
Dean Camera 2793c88fc6 Add master device Host demo makefile.
16 years ago