mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-26 04:02:11 +00:00
usb: bump ABI version.
This commit is contained in:
parent
dcd1f66790
commit
315a052ddf
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# nxdumptool USB Application Binary Interface (ABI) Technical Specification
|
||||
|
||||
This Markdown document aims to explain the technical details behind the ABI used by nxdumptool to communicate with a USB host device connected to the console. As of this writing (November 11th, 2023), the current ABI version is `1.1`.
|
||||
This Markdown document aims to explain the technical details behind the ABI used by nxdumptool to communicate with a USB host device connected to the console. As of this writing (November 11th, 2023), the current ABI version is `1.2`.
|
||||
|
||||
In order to avoid unnecessary clutter, this document assumes the reader is already familiar with homebrew launching on the Nintendo Switch, as well as USB concepts such as device/configuration/interface/endpoint descriptors and bulk mode transfers. Shall this not be the case, a small list of helpful resources is available at the end of this document.
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ USB_MAGIC_WORD = b'NXDT'
|
|||
|
||||
# Supported USB ABI version.
|
||||
USB_ABI_VERSION_MAJOR = 1
|
||||
USB_ABI_VERSION_MINOR = 1
|
||||
USB_ABI_VERSION_MINOR = 2
|
||||
|
||||
# USB command header size.
|
||||
USB_CMD_HEADER_SIZE = 0x10
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "usb.h"
|
||||
|
||||
#define USB_ABI_VERSION_MAJOR 1
|
||||
#define USB_ABI_VERSION_MINOR 1
|
||||
#define USB_ABI_VERSION_MINOR 2
|
||||
#define USB_ABI_VERSION ((USB_ABI_VERSION_MAJOR << 4) | USB_ABI_VERSION_MINOR)
|
||||
|
||||
#define USB_CMD_HEADER_MAGIC 0x4E584454 /* "NXDT". */
|
||||
|
|
Loading…
Reference in a new issue