Scanning for heartbeat messages & using AT commands(?)

I have several questions about the 3DR radios that I was hoping some developers might be able to answer to facilitate my thesis research...

[1] The 3DR wiki says 8 parameters must be the same for two 3DR radios to communicate, but I cannot find a fixed possible parameter value for two of these parameters (firmware version & LBT_RSSI)... can there be an infinite possible values for these parameters?

[2] I've tried using AT commands in the Linux terminal to change the values of these parameters, but I am getting no response at all from the 3DR ground-module... what are the proper Linux terminal commands (or other process, e.g. bash scripting) to modify individual parameters of the 3DR (USB) ground module?? Here's what I tried that elicited no response from the 3DR ground-module:

user@linux:~/MAVProxy# stty < /dev/ttyUSB0

speed 57600 baud; line = 0;

min = 0; time = 0;

-brkint -icrnl -imaxbel

-opost

-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke

user@linux:~/MAVProxy# echo "+++" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATi" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATI" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATi5" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATI5" > /dev/ttyUSB0

user@linux:~/MAVProxy# echo "ATi+++" > /dev/ttyUSB0

always: nothing

[3] Could a 3DR ground-module be used to manually broadcast a heartbeat message? (e.g. using the the 3DR radio as an interface for Scapy to broadcast the MAVLink heartbeat message with rapidly changing & widely varying GPS data)

I would immensely appreciate answers to any/all of these, is it will greatly aid in conducting my experiments... THANKS!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    Hi Joe,

    I'd recommend you install and use mavproxy on Linux. Do this:

      apt-get install python-pip

      pip install pymavlink mavproxy

    The to connect to the radios use:

      mavproxy --baudrate 57600 --master /dev/serial/by-id/FTDI* --setup

    then use +++ followed by enter to get the OK prompt

    Then try:

    ATI

    and follow the rest of the commands from the docs

    Re your other questions. Firmware version is a 32 bit number, so 4 billion possible values. LBT_RSSI can only be in the range 0 to 255.

    The 3DR radios are point to point, and don't currently have the concept of a broadcast.

    Cheers, Tridge

This reply was deleted.

Activity

DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
10 hours ago
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Tuesday
DIY Drones via Twitter
Monday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Jan 14
DIY Robocars via Twitter
Jan 14
David Hori liked Isabella Domi's profile
Jan 12
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Jan 11
DIY Robocars via Twitter
RT @RoboticMasters: Thanks to @EllerbachMaxime and the Sydney Uni Capstone Students the @donkey_car @diyrobocars simulator is getting a ma…
Jan 11
DIY Robocars via Twitter
Jan 6
DIY Robocars via Twitter
Dec 28, 2020
DIY Robocars via Twitter
An interesting line-following simulator to use with with your robocars: https://github.com/ron-grant/LFS
Dec 23, 2020
More…