This repository has been archived by the owner on Sep 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Wireless Communication Microcontroller API
Anthony Randell edited this page Nov 24, 2016
·
13 revisions
This page contains the commands used when communicating to and from the Wireless Communication Modules.
More details about the communication protocol can be found via the API Documentation Home Page.
Request Message:
- Payload Size: 1 byte (null)
Response Message:
- Payload Size: 1 byte
- Information about which settings can be modified can be found in Section 6 of the RFM69HCW Manual
- This command only modifies one register at a time
Request Message:
- Payload Size: 2 bytes
Byte | Description | Valid Range |
---|---|---|
0 | Register to Modify | See RFM69HCW Manual |
1 | New Configuration | Varies |
Response Message:
- Payload Size: 2 bytes
Byte | Description | Valid Range |
---|---|---|
0 | Register that was Set | See RFM69HCW Manual |
1 | New Configuration Value | Varies |
- Information about which settings can be modified can be found in Section 6 of the RFM69HCW Manual
- This command only reads one register at a time
Request Message:
- Payload Size: 1 byte
Byte | Description | Valid Range |
---|---|---|
0 | Register to Read | See RFM69HCW Manual |
Response Message:
- Payload Size: 2 bytes
Byte | Description | Valid Range |
---|---|---|
0 | Register that was Read | See RFM69HCW Manual |
1 | Value in Register | Varies |
Request Message:
- Payload Size: 1 byte (null)
Response Message:
- Payload Size: 64 bytes
Byte | Description | Valid Range |
---|---|---|
0 | Message Available | True/False |
1 to 61 | Message Received | Any |
62 to 63 | RSSI | 0 to -114 (dBm) |
Request Message:
- Payload Size: 61 bytes (contents of message)
Byte | Description | Valid Range |
---|---|---|
0 to 60 | Message to Send | Any |
Response Message:
- Payload Size: 1 bytes
Byte | Description | Valid Range |
---|---|---|
0 | TX Successful | True or False |