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.  
							
							... 
							
							
 
							
							Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity. 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								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.  
							
							... 
							
							
 
							
							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. 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								3472af91a5 
								
							
								 
							
						 
						
							
							
								
								Change project makefiles so that the current target settings and not just the board selection is printed during the build process.  
							
							... 
							
							
 
							
							Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected. 
							
						 
						
							16 years ago  
				
					
						
							
							
								 
						
							
							
								e071f3897a 
								
							
								 
							
						 
						
							
							
								
								Added new USB_DeviceState variable to keep track of the current Device mode 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. 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								2a90f66de2 
								
							
								 
							
						 
						
							
							
								
								Moved PrinterHost demo from Incomplete to LowLevel, as it is now near-complete.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								f3c061d5c8 
								
							
								 
							
						 
						
							
							
								
								Fixed PrinterHost demo Printer_GetDeviceID() routine not removing the Device ID string length from the start of the returned array (thanks to John Andrews).  
							
							... 
							
							
 
							
							Fixed error in new pipe stream function template system not setting the right device token for R/W operations (also thanks to John Andrews). 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								211712d66d 
								
							
								 
							
						 
						
							
							
								
								Remove ClearPipeStall routine from the StillImageHost demo, as there is now a version of the function built into the library itself.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								4c035b14f1 
								
							
								 
							
						 
						
							
							
								
								Cleaner solution to the PrinterHost data send routine problem of embedded NULLs - use a special structure to hold the data string plus the length in bytes of the data.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								5d8cdd9bea 
								
							
								 
							
						 
						
							
							
								
								Fix unfinished printer host demo - some printer languages use embedded NULLs and so strlen() won't work in all cases. Ensure NULL terminator for the test page is not transmitted to the device.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								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.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								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.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								786479faf0 
								
							
								 
							
						 
						
							
							
								
								Add partial project documentation to the incomplete PrinterHost demo.  
							
							... 
							
							
 
							
							Change over Printer_GetDeviceID() to require a pointer to the destination buffer plus the buffer size, rather than using a pointer to a special structure.
Make new Printer_SendData() function to hide the implementation of sending data to an attached printer, cleaning up the main demo source file body. 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								d3fb6273aa 
								
							
								 
							
						 
						
							
							
								
								Fix PrinterHost demo so that it will only enumerate printers with Bidirectional protocol encapsulation. Change enumeration code to automatically select the correct alternate setting for the printer interface to select the bidirectional protocol.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								9d2613d908 
								
							
								 
							
						 
						
							
							
								
								Fixed incorrect PIPE_EPNUM_MASK mask causing pipe failures on devices with endpoint addresses of 8 and above (thanks to John Andrews).  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								b243c2b80b 
								
							
								 
							
						 
						
							
							
								
								Magstripe Project: Ensure that empty tracks still print out a newline seperator so that the host always knows what track data is being sent.  
							
							... 
							
							
 
							
							Updates to PrinterHost demo to include some PCL test data plus fixes to the GetDeviceID routine. 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								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.  
							
							... 
							
							
 
							
							Added verbose documentation for each of the USB Host state machine states. 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								a54ed0085b 
								
							
								 
							
						 
						
							
							
								
								Seperated out parts of the PrinterHost incomplete demo into a seperate Lib subdirectory.  
							
							... 
							
							
 
							
							Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected. 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								23f3c3deee 
								
							
								 
							
						 
						
							
							
								
								Fixed compilation error in incomplete BluetoothHost demo.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								e0af6014a7 
								
							
								 
							
						 
						
							
							
								
								Added incomplete PrinterHost demo application.  
							
							... 
							
							
 
							
							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. 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								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.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								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.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								beb0b2bda0 
								
							
								 
							
						 
						
							
							
								
								Move LUFA compile time options to a new section in the application makefiles for clarity.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								dfa547164a 
								
							
								 
							
						 
						
							
							
								
								Extend USB_GetDeviceConfigDescriptor() routine to require the configuration number within the device to fetch, to add support for multi-configuration devices.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								e338cb6f32 
								
							
								 
							
						 
						
							
							
								
								Added new USB_Host_ClearPipeStall() convenience function to clear a stall 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(). 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								4d3a594f3e 
								
							
								 
							
						 
						
							
							
								
								Changed per-device controller preprocessor checks over to per-device series for better device control.  
							
							... 
							
							
 
							
							Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds. 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								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.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								ac70ddd0a1 
								
							
								 
							
						 
						
							
							
								
								Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments.  
							
							
 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								2793c88fc6 
								
							
								 
							
						 
						
							
							
								
								Add master device Host demo makefile.  
							
							... 
							
							
 
							
							Copy and convert incomplete Bluetooth Host demo to the library. 
							
						 
						
							17 years ago