Home
last modified time | relevance | path

Searched refs:topicString (Results 1 – 6 of 6) sorted by relevance

/device/board/isoftstone/yangfan/common/mqtt/mqttpacket/samples/
Dpub0sub1.c53 MQTTString topicString = MQTTString_initializer; in main() local
98 topicString.cstring = MQTT_TOPIC; in main()
99 len = MQTTSerialize_subscribe(buf, buflen, 0, msgid, 1, &topicString, &req_qos); in main()
119 topicString.cstring = "pubtopic"; in main()
141 …len = MQTTSerialize_publish(buf, buflen, 0, 0, 0, 0, topicString, (unsigned char*)payload, payload… in main()
Dpub0sub1_nb.c53 MQTTString topicString = MQTTString_initializer; in main() local
102 topicString.cstring = MQTT_TOPIC; in main()
103 len = MQTTSerialize_subscribe(buf, buflen, 0, msgid, 1, &topicString, &req_qos); in main()
126 topicString.cstring = "pubtopic"; in main()
145 …len = MQTTSerialize_publish(buf, buflen, 0, 0, 0, 0, topicString, (unsigned char*)payload, payload… in main()
Dqos0pub.c33 MQTTString topicString = MQTTString_initializer; in main() local
61 topicString.cstring = MQTT_TOPIC; in main()
62 …len += MQTTSerialize_publish((unsigned char *)(buf + len), buflen - len, 0, 0, 0, 0, topicString, … in main()
/device/board/isoftstone/yangfan/common/mqtt/mqttpacket/samples/baremetalserial/
Dpub0sub1_nb.c59 MQTTString topicString = MQTTString_initializer; in main() local
112 topicString.cstring = "substopic"; in main()
113 len = MQTTSerialize_subscribe(buf, buflen, 0, msgid, 1, &topicString, &req_qos); in main()
139 topicString.cstring = "pubtopic"; in main()
160 …len = MQTTSerialize_publish(buf, buflen, 0, 0, 0, 0, topicString, (unsigned char*)payload, payload… in main()
/device/board/isoftstone/yangfan/common/mqtt/mqttpacket/test/
Dtest1.c359 MQTTString topicString = MQTTString_initializer; in test2() local
376 topicString.cstring = "mytopic"; in test2()
377 rc = MQTTSerialize_publish(buf, buflen, dup, qos, retained, msgid, topicString, in test2()
392 … checkMQTTStrings(topicString, topicString2), "topics were different %s\n", ""); // topicString2); in test2()
/device/board/isoftstone/yangfan/common/mqtt/mqttclient/src/
DMQTTClient.h988 MQTTString topicString = MQTTString_initializer; in publish() local
994 topicString.cstring = (char*)topicName; in publish()
1002 topicString, (unsigned char*)payload, payloadlen); in publish()