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 check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

API Changes: Meter Scale and Transmit property of Slice class

Eric-KE5DTOEric-KE5DTO Administrator, FlexRadio Employee admin
edited November 2018 in New Ideas
We have made some changes to our API recently that developers may be interested in.

First, we changed the divider for the Voltage type of Meter from 256 to 1024 to give us room for higher voltages that we are monitoring in the Power Genius amplifier.  This change in the ethernet API is handled transparently in FlexLib and will be included in the next public release beyond v1.10.16.

Second, based on feedback from multiple developers, the Transmit property in the Slice class (FlexLib) has been renamed to IsTransmitSlice.  This should help resolve the confusion when some developers would set this property to true and expect the radio to be transmitting when it was simply designating a particular Slice as the Transmit Slice (as the new name reflects).  This change only affects the FlexLib API (not the ethernet API).  This change will also be included in the next public release following v1.10.16.
0 votes

Open for Comments · Last Updated

Comments

  • John G3WGVJohn G3WGV Member ✭✭
    edited November 2018
    Hi Eric,

    Thanks for the heads-up.

    Surely the voltage divisor change must be from 1024 to 256 rather than the other way round?

    Will the API protocol version number, currently 1.2.0.0, be changed when these changes are implemented? This seems to be a safer way for Ethernet API software to unambiguously determine which scale value to use.

    73, John
  • Eric-KE5DTOEric-KE5DTO Administrator, FlexRadio Employee admin
    edited February 2017
    You are correct.  The divisor goes from 1024 to 256.

    We did indeed bump the API protocol version to v1.3.0.0.
  • John G3WGVJohn G3WGV Member ✭✭
    edited November 2018
    Thanks Eric. My API library code is ready for ya!

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.