|
@@ -245,7 +245,7 @@ uint8_t MQTT_CONN(char *IpAddr, uint16_t port, char *ID, char *User, char *Passw
|
|
uint8_t MQTT_PUB(uint8_t connect_id, char *topic, char *mesg, char* pRes)
|
|
uint8_t MQTT_PUB(uint8_t connect_id, char *topic, char *mesg, char* pRes)
|
|
sprintf((char *)MQTT_Sendbuf,"AT+MQTTPUB=%d,\"%s\",1,0,0,%d,\"%s\"\r\n",connect_id, topic, length, mesg);
|
|
sprintf((char *)MQTT_Sendbuf,"AT+MQTTPUB=%d,\"%s\",1,0,0,%d,\"%s\"\r\n",connect_id, topic, length, mesg);
|
|
if(sendCmd_4G(MQTT_Sendbuf,pRes,1,1))
|
|
if(sendCmd_4G(MQTT_Sendbuf,pRes,1,1))
|