Home
last modified time | relevance | path

Searched refs:msg_pub (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/uagent/src/
A Duagent_send.c15 static char msg_pub[UAGENT_INFO_PAYLOAD_SIZE]; variable
87 msg_len = snprintf(msg_pub, sizeof(msg_pub), UAGENT_INFO_STR, uganet_send_id++, in delay_send()
90 msg_len = snprintf(msg_pub, sizeof(msg_pub), UAGENT_INFO_STR, uganet_send_id++, in delay_send()
94 msg_len = snprintf(msg_pub, sizeof(msg_pub), UAGENT_INFO_STR, uganet_send_id++, in delay_send()
99 UAGENT_DEBUG("[uA]upload payload %s", msg_pub); in delay_send()
100 rc = pub_info(msg_len, msg_pub, (policy&send_policy_trans_guarantee) ? 1 : 0); in delay_send()
143 … short msg_len = snprintf(msg_pub, sizeof(msg_pub), UAGENT_FORMAT_PRE, uganet_send_id++, in uagent_send()
160 msg_pub[msg_len++] = '"'; in uagent_send()
167 … strncpy(&msg_pub[msg_len], (char *)msg_pub_base64, empty_room_for_data); in uagent_send()
170 strncpy(&msg_pub[msg_len], data, empty_room_for_data); in uagent_send()
[all …]
/AliOS-Things-master/components/linkkit/dev_model/alcs/
A Dalcs_mqtt.c36 char *msg_pub = NULL; in __alcs_mqtt_send_response() local
48 if (msg_pub == NULL) { in __alcs_mqtt_send_response()
55 status = __alcs_mqtt_publish(topic, 1, msg_pub, strlen(msg_pub)); in __alcs_mqtt_send_response()
57 ALCS_free(msg_pub); in __alcs_mqtt_send_response()
617 char *msg_pub = NULL; in alcs_prefixkey_get() local
634 if (msg_pub == NULL) { in alcs_prefixkey_get()
641 status = __alcs_mqtt_publish(topic, 1, msg_pub, strlen(msg_pub)); in alcs_prefixkey_get()
643 ALCS_free(msg_pub); in alcs_prefixkey_get()
652 char *msg_pub = NULL; in alcs_mqtt_subdev_prefix_get() local
681 status = __alcs_mqtt_publish(topic, 1, msg_pub, strlen(msg_pub)); in alcs_mqtt_subdev_prefix_get()
[all …]

Completed in 4 milliseconds