C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino: In member function 'void GSM_MQTT::AutoConnect()':
C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
connect("qwertyuiop", 0, 0, "", "", 1, 0, 0, 0, "", "");
^
C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino: In member function 'void GSM_MQTT::OnConnect()':
C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:83:64: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
publish(0, 0, 0, _generateMessageID(), "SampleTopic", "Hello");
^
C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:83:64: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp: In member function 'void GSM_MQTT::_tcpInit()':
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:81:35: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
if (_sendAT("AT\r\n", 5000) == 1)
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:93:37: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
if (_sendAT("ATE1\r\n", 2000) == 1)
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:105:52: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
if (sendATreply("AT+CREG?\r\n", "0,1", 5000) == 1)
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:105:52: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:107:42: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
_sendAT("AT+CIPMUX=0\r\n", 2000);
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:108:43: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
_sendAT("AT+CIPMODE=1\r\n", 2000);
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:109:55: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
if (sendATreply("AT+CGATT?\r\n", ": 1", 4000) != 1)
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:109:55: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:111:43: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
_sendAT("AT+CGATT=1\r\n", 2000);
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:126:69: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
_tcpStatus = sendATreply("AT+CIPSTATUS\r\n", "STATE", 4000);
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:126:69: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:149:61: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
_sendAT("AT+CSTT=\"AIRTELGPRS.COM\"\r\n", 5000);
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:154:43: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
_sendAT("AT+CIICR\r\n", 5000) ;
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:159:52: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
sendATreply("AT+CIFSR\r\n", ".", 4000) ;
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:159:52: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:168:41: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
if (_sendAT("\"\r\n", 5000) == 1)
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:195:55: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
sendATreply("AT+CIPSHUT\r\n", "OK", 4000) ;
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:195:55: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp: In member function 'void GSM_MQTT::_ping()':
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:222:53: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
MQTT.sendATreply("AT+CIPSHUT\r\n", ".", 4000);
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:222:53: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp: In function 'void serialEvent()':
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:879:18: error: 'class GSM_MQTT' has no member named 'MQTT_flag'; did you mean 'MQTT_Flag'?
MQTT.MQTT_flag = false;
^~~~~
MQTT_Flag
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:882:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
MQTT.sendATreply("AT+CIPSHUT\r\n", ".", 4000) ;
^
C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:882:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
exit status 1
C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino: In member function 'void GSM_MQTT::AutoConnect()': C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] connect("qwertyuiop", 0, 0, "", "", 1, 0, 0, 0, "", ""); ^ C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:23:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino: In member function 'void GSM_MQTT::OnConnect()': C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:83:64: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] publish(0, 0, 0, _generateMessageID(), "SampleTopic", "Hello"); ^ C:\temp\222\temp\sketch_jul04a\sketch_jul04a.ino:83:64: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp: In member function 'void GSM_MQTT::_tcpInit()': C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:81:35: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] if (_sendAT("AT\r\n", 5000) == 1) ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:93:37: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] if (_sendAT("ATE1\r\n", 2000) == 1) ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:105:52: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] if (sendATreply("AT+CREG?\r\n", "0,1", 5000) == 1) ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:105:52: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:107:42: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] _sendAT("AT+CIPMUX=0\r\n", 2000); ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:108:43: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] _sendAT("AT+CIPMODE=1\r\n", 2000); ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:109:55: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] if (sendATreply("AT+CGATT?\r\n", ": 1", 4000) != 1) ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:109:55: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:111:43: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] _sendAT("AT+CGATT=1\r\n", 2000); ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:126:69: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] _tcpStatus = sendATreply("AT+CIPSTATUS\r\n", "STATE", 4000); ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:126:69: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:149:61: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] _sendAT("AT+CSTT=\"AIRTELGPRS.COM\"\r\n", 5000); ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:154:43: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] _sendAT("AT+CIICR\r\n", 5000) ; ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:159:52: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] sendATreply("AT+CIFSR\r\n", ".", 4000) ; ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:159:52: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:168:41: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] if (_sendAT("\"\r\n", 5000) == 1) ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:195:55: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] sendATreply("AT+CIPSHUT\r\n", "OK", 4000) ; ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:195:55: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp: In member function 'void GSM_MQTT::_ping()': C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:222:53: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] MQTT.sendATreply("AT+CIPSHUT\r\n", ".", 4000); ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:222:53: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp: In function 'void serialEvent()': C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:879:18: error: 'class GSM_MQTT' has no member named 'MQTT_flag'; did you mean 'MQTT_Flag'? MQTT.MQTT_flag = false; ^
~~~~ MQTT_Flag C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:882:57: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings] MQTT.sendATreply("AT+CIPSHUT\r\n", ".", 4000) ; ^ C:\Users\�����\Documents\Arduino\libraries\MQTT_SIM800\GSM_MQTT.cpp:882:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] exit status 1