aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost
Commit message (Collapse)AuthorAgeFilesLines
* Add bluetooth channel connection callback to the incomplete BluetoothHost demo.Dean Camera2010-04-184-6/+33
|
* Minor documentation improvements.Dean Camera2010-04-154-24/+24
|
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-154-5/+102
| | | | | | | | 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.
* Document the Bluetooth ACL layer. Remove unneeded parameters from the ↵Dean Camera2010-04-139-125/+359
| | | | | | | | 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.
* Add some more documentation to the half-completed Bluetooth Host demo, fix ↵Dean Camera2010-04-125-22/+1633
| | | | 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.
* Fix Bluetooth stack CONNECTION RESPONSE packets - for this command and this ↵Dean Camera2010-04-123-5/+18
| | | | 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.
* Add HCI debugging with verbosity control to the BluetoothHost demo.Dean Camera2010-04-116-29/+134
| | | | Add Link Key Request event processing so that paired devices always re-authenticate until appropriate link key store/retrieve callbacks are implemented.
* Fix up Bluetooth Demo's options processing on incoming channel configuration ↵Dean Camera2010-04-112-22/+23
| | | | requests.
* Add LUFA-side channel open/close routines, add signalling handlers for the ↵Dean Camera2010-04-104-41/+163
| | | | creation and configuration of channels from the local device to the remote device, to add to the existing remote to local channel capabilities.
* Bluetooth demo can now create and maintain logical channels - need to ↵Dean Camera2010-04-104-35/+85
| | | | determine why Windows machines refuse to connect.
* Make Bluetooth signalling handler routines use the generic ↵Dean Camera2010-04-064-269/+188
| | | | Bluetooth_SendPacket() routine for their responses. Use a better method of controlling the debug output verbosity.
* Add bidirectional channel configuration -- remote device is not ACKing sent ↵Dean Camera2010-04-067-206/+310
| | | | | | 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.
* Add packet reception and send routines to the ACL layer of the incomplete ↵Dean Camera2010-04-065-17/+68
| | | | Bluetooth Host demo.
* Add information request/response signal handler to the Bluetooth Host demo.Dean Camera2010-04-062-45/+155
| | | | Ensure that the AVRISP-MKII project's Windows avrdude compatibility define is named properly in all parts of the code.
* Add Bluetooth signalling echo request/response handlers, disconnection ↵Dean Camera2010-04-057-83/+198
| | | | | | | | 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.
* Add user callback function to the Bluetooth host demo to filter out ↵Dean Camera2010-04-055-22/+31
| | | | | | | | 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.
* More improvements to the incomplete BluetoothHost demo - add Disconnection ↵Dean Camera2010-04-0111-147/+228
| | | | | | Event processing. Remove unused macro in the host mode demos for the maximum Configuration Descriptor size.
* Massive cleanups to the incomplete BluetoothHost demo, to make the HCL layer ↵Dean Camera2010-03-315-257/+142
| | | | code much easier to read, block less and work correctly.
* Added incomplete MIDIToneGenerator project.Dean Camera2010-03-232-2/+1
|
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-041-1/+1
| | | | | | will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects.
* Update copyright year to 2010.Dean Camera2009-12-3013-26/+26
|
* Fix TemperatureDataLogger - sample tick timer wasn't being initialized in ↵Dean Camera2009-12-302-16/+11
| | | | the correct CTC mode.
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2813-92/+92
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-131-5/+5
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-092-2/+2
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean Camera2009-11-131-1/+1
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Spell check all source code variables, comments and strings.Dean Camera2009-11-092-2/+2
|
* Make Low Level host demos use void pointers for the configuration ↵Dean Camera2009-11-071-1/+1
| | | | | | descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines. Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used.
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-161-1/+1
|
* Remove old OTG demo directory with useless TestApp demo. Add new DualRole ↵Dean Camera2009-09-291-1/+1
| | | | directory with new Class Driver powered Mouse dual role demonstration application showing a dual role device using the HID host/device Class drivers.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-091-2/+1
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-061-15/+39
| | | | | | | | compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
* Oops - with new changes to the way the device Configuration Descriptor is ↵Dean Camera2009-08-311-1/+1
| | | | retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters.
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-312-23/+20
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-301-1/+1
|
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-061-8/+8
| | | | | | 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.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-053-15/+12
| | | | | | | | 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.
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-281-39/+21
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-212-8/+43
| | | | | | | | | | | | USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
* Don't send terminal RESET codes via serial - just set the foreground colour ↵Dean Camera2009-07-191-1/+1
| | | | and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings.
* Use sane ANSI terminal escape codes for the Host mode demos, so that they do ↵Dean Camera2009-07-191-16/+15
| | | | not cause eye-searing, unreadable text on terminals which parse the escape codes properly.
* Added new HOST_STATE_WaitForDeviceRemoval host state machine state for ↵Dean Camera2009-07-132-25/+5
| | | | | | 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.
* Fixed compilation error in incomplete BluetoothHost demo.Dean Camera2009-07-112-2/+2
|
* Added incomplete PrinterHost demo application.Dean Camera2009-07-1110-6/+6
| | | | | | 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.
* Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting ↵Dean Camera2009-06-232-4/+0
| | | | infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
* Fix makefiles -- the auto-addition of -D switches to each LUFA compile time ↵Dean Camera2009-06-191-5/+5
| | | | 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.
* Move LUFA compile time options to a new section in the application makefiles ↵Dean Camera2009-06-191-3/+8
| | | | for clarity.
* Extend USB_GetDeviceConfigDescriptor() routine to require the configuration ↵Dean Camera2009-06-191-2/+2
| | | | number within the device to fetch, to add support for multi-configuration devices.
* Added new USB_Host_ClearPipeStall() convenience function to clear a stall ↵Dean Camera2009-06-181-12/+2
| | | | | | | | | | 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().
* Changed per-device controller preprocessor checks over to per-device series ↵Dean Camera2009-06-143-4/+11
| | | | | | for better device control. Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.