Command format for Serial control

Forum to ask for any help
Post Reply
DemoIan
Posts: 11
Joined: Tue Aug 01, 2017 9:59 am

Command format for Serial control

Post by DemoIan » Sun Jun 26, 2022 10:19 pm

I have a Nuvo Concerto that I am using to control a Bluesound Node 21. I capture feedback from the Node 2i, the name of the radio station, it is in the format of a line of text. I have embedded this in a command to send to the Nuvo Concerto via RS232 COM port which will update the keypad. I am having an issue because the command has quotes around the text in the format

*S1DISPLINE1"RADIO STATION"

Because of of the quotes " I have had to put a \ in front of them

*S1DISPLINE1\"RADIO STATION\"

If I send the command the text on the keypad changes, so far so good. I have tried embedding a label containing the feedback in the format

*S1DISPLINE1\"[LBluesound_Status_Title1]\"

The label [LBluesound_Status_Title1] contains valid data, I suspect that like the quotes the square brackets are causing the problem, does anyone know how to get around this?

Post Reply