1ieee802154 wpan radio protocol over USB 2 3Overview 4======== 5 6The document describes protocol between 802.15.4 physical radio and Linux 7kernel driver over USB. Protocol is based on atusb Linux driver protocol 8found inside Linux kernel: drivers/net/ieee802154/atusb.h 9 10Packet structure 11================ 12 13Command opcodes are inside bRequest field. bRequest and wIndex are one octet 14long. 15 16Commands from Host to Device 17============================ 18 19USB Control endpoint, Vendor commands 20 21 Opcode 0x00 - Reset bRequest 22 23 Reset the Radio 24 25 Opcode 0x01 - Transmit bRequest 26 27 Sequence number wIndex 28 Data length wLength 29 30 Transmit data from Host to Device 31 32 Opcode 0x02 - Transmit Async bRequest 33 34 TBD 35 36 Opcode 0x03 - ED bRequest 37 38 TBD 39 40 Opcode 0x04 - Set Channel bRequest 41 42 Set ieee802154 channel 43 44 Page 1 octet 45 Channel 1 octet 46 47 Opcode 0x05 - Start bRequest 48 49 Start ieee802154 device 50 51 Opcode 0x06 - Stop bRequest 52 53 Stop ieee802154 device 54 55 Opcode 0x07 - Set Short address bRequest 56 57 Set ieee802154 Short address 58 59 Short address 2 octets 60 61 Opcode 0x08 - Set PAN ID bRequest 62 63 Set ieee802154 PAN ID 64 65 PAN ID 2 octets 66 67 Opcode 0x09 - Set address bRequest 68 69 Set ieee802154 address 70 71 address 8 octets 72 73 Opcode 0x0A - Set TX Power bRequest 74 75 TBD 76 77 Opcode 0x0B - Set CCA Mode bRequest 78 79 TBD 80 81 Opcode 0x0C - Set CCA ED level bRequest 82 83 TBD 84 85 Opcode 0x0D - Set CSMA Params bRequest 86 87 TBD 88 89 Opcode 0x0E - Set Promisc mode bRequest 90 91 TBD 92 93Data from Device to Host 94======================== 95 96USB BULK IN endpoint 97 98 Transmit ACK 99 100 Length 1 octet 101 Data Sequence number 102 103 Data 104 105 Length 1 octet 106 Data Data 107 LQI 1 octet 108