Git Product home page Git Product logo

examples's People

Contributors

alphafox02 avatar sdr-technologies avatar sdr4space avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

examples's Issues

[sat_receive.js] MQTT error : 'Error sending Mqtt message'

(boot:0)> waiting for AOS
(boot:0)> 13:31:59 - WAIT_AOS --> Sat position: Lat=0.492, Lon=-14.572, Az=200.264, Elev=36.039
(boot:0)> 13:31:59 - In view ! -->  Elev=36.039, Az=200.264, Lat=0.492, Lon=-14.572, Doppler@1GHz= 351
Error sending Mqtt message.
(boot:0)> START RECORD MQTT
(boot:0)> send MQTT AOS : RECORD_START:ELEKTRO-L2_20210728-113159
Error sending Mqtt message.


  • Be sure following packages are installed : mosquitto mosquitto-clients
  • Check mosquitto status :
mosquitto_pub -h localhost -u mqtt -P mqtt -t 'sdrcli/stream' -m "0"
Connection Refused: not authorised.
Error: The connection was refused.
  • Create 'mqtt' user & password for mosquitto :
    sudo mosquitto_passwd -b /etc/mosquitto/passwd mqtt mqtt

[GPS support] Basic example

Not yet documented, sorry, here is a short example to access GPS from SDR4space.lite

  • You have to launch SDR4space.lite with following parameters (adapt to your setup):
     -g, --gps arg       set GPS NMEA source port input (ex: /dev/ttyACM0),
     -b, --baudrate arg  GPS Baudrate (default: 9600)
  • Basic test :
var gps= System.GPSAvail() ;
print(gps);
sleep(2000);
var mypos = System.GPSInfos();
print(JSON.stringify(mypos));

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.