Page 1 of 1

V9 Compiling error

Posted: Sat Jun 13, 2026 9:50 am
by jollybv
Hi Guys

I'm a bit lost i have one cmd that will not compile but everything looks fine to me and flowcode, vps name and password are string variables but wont compile. The At cmd is.

AT+CMQTTCONNECT=0,"tcp://188.40.106.108:1883",60,1,"your_vps_username","your_vps_password"

I have done this to replicate it in flowcode but wont compile

send = "AT+CMQTTCONNECT=0,\"tcp://188.40.106.108:1883\",60,1,\""
Send = send + vps_name
Send = send + "\",\""
Send = send + vps_password

This is strange as flowcode says everything is right but wont compiler this is the message i get when compiling . Is there a better way to do this other then the above way.

E-P_U6_V-4-6-2_ConInt_12-06-26_For-A7682E_B12V01.c: FCM_ConnectInternet()
13397: FCI_SHEAD(FCV_SEND,210, FCV_VPS_NAME,10, FCV_SEND,210);
^ (195) expression syntax
E-P_U6_V-4-6-2_ConInt_12-06-26_For-A7682E_B12V01.c: main()

16376: break;

If anyone can help it would be much appreciated as i don't want to go purchase a vps and i cant get it to work

Re: V9 Compiling error

Posted: Mon Jun 15, 2026 6:53 am
by jollybv
Hi Guys
I'm not sure what i did but i now have it working after 3 day.

send = "AT+CMQTTCONNECT=0,"
send = send + "\""
send = send + "tcp://188.40.106.108:1883"
send = send + "\""
send = send + ",60,1,\""
Send = send + vps_name
Send = send + "\",\""
Send = send + vps_password
send = send + "\""