SiKset.py, a python script to easily control your RFD900, 3DR radio from the command line

  • v0.0.9 is an alpha release
  • adds ability to set radio SERIAL_SPEED and will report EEPROM parameters
  • patch included to ReachView0.4.9, a framework with no functionality yet. It just shows future radio configuration parameters (all disabled at the moment).

Usage: SiKset0.0.9.py [-p port_filepath] [-b baud]

Options:
–version show program’s version number and exit
-h, --help show this help message and exit
-v, --verbose Enables extra information output (debugging).
-p PORT, --port=PORT Serial port filepath. Program default: /dev/ttyMFD2
-t, --test-baud Test serial port for correct baud rate.
-l, --local Work with the local radio. Program default. Can’t be
used simultaneously with remote option.
-r, --remote Work with the remote radio.
–show-parameters Shows all user settable EEPROM parameters.
-b BAUD, --baud=BAUD Choose our serial connection speed to the radio in
baud. Valid speeds: [2400, 4800, 57600, 9600, 38400,
19200, 115200]. If no baud specified, it will test.
(factory default: 57600)
–serial-speed=SERIAL_SPEED
Set the radio’s serial speed in baud (SERIAL_SPEED).
Valid speeds: [2400, 4800, 57600, 9600, 38400, 19200,
115200]. (factory default: 57600)
–adr=ADR Set the air data rate (AIR_SPEED) in kbps. Valid
speeds: 4, 8, 16, 24, 32, 64, 96, 128, 192, 250.
(factory default: 128)
–netid=NETID Set the network ID number (NETID). Valid IDs: 0 to
499 (factory default: 25)
–ecc-on Enable error correcting code (ECC).
–ecc-off Disable error correcting code (ECC). (factory default)
–mavlink-on Enable MAVLink framing and reporting (MAVLINK).
–mavlink-off Disable MAVLink framing and reporting (MAVLINK).
(factory default)
–or-on Enable opportunic resend (OP_RESEND)
–or-off Disable opportunic resend (OP_RESEND). (factory
default)


example command line:

python SiKset0.0.9.py --remote --baud=57600 --show-parameters
connect at 57600 baud / output settings from the remote radio

Download:

SiKset0.0.9.zip (5.8 KB)


Known issues:

  • same as v0.0.8
  • takes too long to finish (for now)