Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

Updated API commands for 8000 series?

W1WRA
W1WRA Member ✭✭
edited January 23 in SmartSDR API

Greetings,

I was looking at https://github.com/flexradio/smartsdr-api-docs/wiki/SmartSDR-TCPIP-API (which I believe is the official source) for TCPIP API commands. The documentation might not be up to date (or perhaps the things I am thinking of are not available via the API).

I was wanting to look at the built in GNSS/GPS receiver to query it for how many satellites are visibale/locked, and any other data that might be accessible. While I can query the NTP server built into the 8000 (works well), not sure if there are API commands to get the current time/date from the radio.

There maybe other things I am not sure I want to access yet :) .

So the question is, is there a list of updated API commands for the 8000 series of radios?

Thanks,

Bill

W1WRA

Comments

  • Eric-KE5DTO
    Eric-KE5DTO Administrator, FlexRadio Employee admin

    The GPS info comes through in gps status messages. This is not currently documented in the wiki, but I've added a task to do this (SMART-10832). In the meantime, the easiest way to get this information is to use Wireshark to watch the communication with SmartSDR. You'll see the GPS status messages and will see how they are formatted.

  • Mike VE3CKO
    Mike VE3CKO Member ✭✭✭
    edited January 24

    I got the GPS info using node-red, Iooking at the flexradio-message, with the topic "gps"

    payload.gnss_powered_ant

    payload.lon

    payload.lat

    payload.time

    payload.tracked

    payload.visible

    payload.track

    payload.grid

    payload.altitude

    payload.freq_error

    payload.speed

    Here is my slice info showing the GPS data when button selected

  • W1WRA
    W1WRA Member ✭✭

    Very good. I suppose I could have gone went the NodeRed type approach, but silly me wanted to consult the documentation. Nice looking display btw.

    I will say firing up Wireshark certainly answered my questions. Not sure why I didn't start there (I have done so in the past for general observing purposes). Now I can grab the data any method I choose. Also if I have other questions, I suppose watching the wire should answer them… Teach a man to fish, and all that.

    Updating the documentation is probably a good thing regardless though.

    73,

    Bill

    W1WRA

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.