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
V9 Compiling error
-
jollybv
- Posts: 152
- http://meble-kuchenne.info.pl
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 42 times
- Been thanked: 15 times
-
jollybv
- Posts: 152
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 42 times
- Been thanked: 15 times
Re: V9 Compiling error
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 + "\""
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 + "\""