-
Notifications
You must be signed in to change notification settings - Fork 3
Radio commands in Python 3
Sébastien Girard edited this page Jun 19, 2021
·
1 revision
import Serial
ser = serial.Serial("COM3", 57600, timeout=1)
ser.write(b"+++")
ser.write(b"AT&T=RSSI\r\n")
ser.write(b"ATO\r\n")
Then, the radio should send debug messages containing the RSSI and noise infos looking like this
L/R RSSI: 218/218 L/R noise: 73/70 pkts: 4 txe=0 rxe=0 stx=0 srx=0 ecc=0/0 temp=22 dco=0\r\n
Those message will never be in the middle of a packet, nor the packet will be in the middle of this message.
- Getting started
- Environment Variables
- Compiling the SBG Library on Linux\Unix\WSL
- Developing on Windows with VSCode
- Set Environment Variable In Vscode With The Cmake Plugin
- Creating Unit Tests
- Cross compiling for the Raspberry Pi
- Info and Error Logging in the Rocket Code
- Send Folder via SSH
Configuration:
Raspberry Pi Setup:
- Add a new wifi network on the Raspberry Pi
- Connect to Raspberry Pi via SSH
- Important Notes About Setting Up Raspberry Pi
- Running Emulation of Raspberry Pi
Logging Format: