Commit Graph

19 Commits

Author SHA1 Message Date
SciresM
21b0613fa4
usb: add UsbState enum (#512) 2020-12-04 21:13:30 +01:00
yellows8
1f792cd92f
Various improvements/fixes and improved docs. Added nvGetServiceSession. Return an actual error when the value for determing which service to init is invalid, for services which use *ServiceType/AppletType. Improved cleanup handling. Fixed inverted logic in the spl cleanup define. 2019-10-31 22:53:42 -04:00
yellows8
b7b64858a6 Added usb_standard_request from libusb. 2018-11-30 20:13:58 -05:00
yellows8
ee066a27ee Implemented usbhs endpoints, other adjustments. Updated field name in UsbHsXferReport. Added defines in usb.h from libusb. 2018-11-30 20:13:58 -05:00
yellows8
ba68e198db Use PACKED for usb_endpoint_descriptor and usb_config_descriptor. 2018-11-29 17:25:46 -05:00
yellows8
725ac9f00a Moved usb code specific to usbds into seperate .c/.h. 2018-11-28 17:34:53 -05:00
yellows8
528b17c9b5 Added usb_config_descriptor in usb.h. 2018-11-28 17:11:11 -05:00
yellows8
c1b4b95bd7 Updated wiki URLs. 2018-10-11 21:44:51 -04:00
SciresM
347e3b3156 Refactor usb:ds, add 5.0.0+ support to usbComms. (#181)
* Refactor usb:ds, add support for 5.0.0+. Closes #109.
2018-10-11 15:35:22 -04:00
plutooo
daf819cb75 Stylefixes 2018-04-15 23:28:28 +02:00
fincs
95592641f5 services/: Add Doxygen file headers; document sm.h 2018-02-10 22:40:11 +01:00
plutoo
673651a51f Fix broken header files 2018-01-23 00:27:00 +01:00
plutoo
6fa8370bfb This looks better 2018-01-22 20:11:55 +01:00
TuxSH
5abc4873d8 Include only what is really necessary...
add pragma once in every header, etc.
2018-01-22 18:42:57 +01:00
plutoo
f70d70f029 Introducing "Service" object, implemented service override, fixing minor formatting mistakes
NOT TESTED :(
2018-01-12 23:29:49 +01:00
yellows8
96dc3a4ff0 Added usbdev under new directory 'devices'. Added more libnx errors to result.h. Added usbDsParseReportData() and the structs for it. Changed the post-buffer funcs 'out' field to 'urbId'. Updated the get-report funcs for using the report-data structure. 2017-10-12 18:20:31 -04:00
yellows8
6aa7ac0ec8 Fixed name for endpoint get-report cmd. 2017-10-12 02:08:25 -04:00
yellows8
7333864957 Added usbDsGetState() and usbDsWaitReady(). 2017-10-10 11:48:39 -04:00
yellows8
6cea85f338 Added usbds. The post-buffer cmds require dcache-flush for the specified buffer, this isn't included yet. 2017-10-09 21:05:53 -04:00