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.

Are some characters disallowed in command responses?

Member ✭✭
edited February 2017 in SmartSDR API
Is there a guarantee that some characters (I'm specifically asking about '|', but the double quote  would also be a problem) are not allowed in fields which may be returned from the radio? The affects the parsing or responses.

For example, if it were possible to give the radio the name "|George|", then the response to an "info" command would include these characters.

If a command was issued with debug requested, that adds an extra delimiter.

If there's a guarantee that delimiters aren't included, parsing becomes much easier.

Answers

  • Community Manager admin
    edited February 2017
    I have to say we've not been terribly careful about this like we would with a web application.  For your part, I would assume that no delimiters will be included in any text -- in other words if you see a delimiter character, it is a delimiter. 

Leave a Comment