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

Joseph Udofia liked Joseph Udofia's profile
14 hours ago
DIY Robocars via Twitter
Jan 28
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
Jan 23
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
Jan 23
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
Jan 23
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
Jan 22
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
Jan 21
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
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
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
More…