Line 59:
Line 59:
When first plugged in the wireless link between the dongle and the wheel is not active, the link can be 'brought up' with writing the '0xAF Command' followed by the '0xB2 Command'.
When first plugged in the wireless link between the dongle and the wheel is not active, the link can be 'brought up' with writing the '0xAF Command' followed by the '0xB2 Command'.
+
+
The commands take some time to action, this can be confirmed by reading back the feature port, when the command completes the MSB of the first byte will be cleared. For most commands the same data that was sent is returned, some commands return different data.
; Configure RX/TX Address?
; Configure RX/TX Address?
Line 85:
Line 87:
: Note 1st Sub-Channel byte is always 0xAE
: Note 1st Sub-Channel byte is always 0xAE
−
The following do not cause SPI activity to the nRF24L01
+
The following commands do not cause SPI activity to the nRF24L01
; Check Status?
; Check Status?
: Byte 1 - 0xA8
: Byte 1 - 0xA8
: Returns RX/TX Address bytes in Byte 5 and Byte 6
: Returns RX/TX Address bytes in Byte 5 and Byte 6
−
: Returns 'button' pressed in Byte 7 bit 5
+
: Returns whether the 'button' pressed in Byte 7 bit 5
: Returns something in Byte 7 bits 4..0 related to 'LED mode' (not a direct map)
: Returns something in Byte 7 bits 4..0 related to 'LED mode' (not a direct map)
: Returns something in Byte 8 which depends on Byte 2 sent
: Returns something in Byte 8 which depends on Byte 2 sent