Home
last modified time | relevance | path

Searched refs:topic_name (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/linkkit/infra/
A Dinfra_report.c107 char topic_name[IOTX_URI_MAX_LEN + 1] = { 0 }; in iotx_report_devinfo() local
123 ret = HAL_Snprintf(topic_name, IOTX_URI_MAX_LEN, in iotx_report_devinfo()
130 VERSION_DEBUG("devinfo report topic: %s", topic_name); in iotx_report_devinfo()
152 info_report_func(pclient, topic_name, 1, msg, strlen(msg)); in iotx_report_devinfo()
169 char topic_name[IOTX_URI_MAX_LEN + 1] = { 0 }; in iotx_report_firmware_version() local
192 ret = HAL_Snprintf(topic_name, IOTX_URI_MAX_LEN, "/ota/device/inform/%s/%s", in iotx_report_firmware_version()
198 VERSION_DEBUG("firmware report topic: %s", topic_name); in iotx_report_firmware_version()
210 ret = info_report_func(pclient, topic_name, 1, msg, strlen(msg)); in iotx_report_firmware_version()
/AliOS-Things-master/components/linkkit/include/linkkit/infra/
A Dinfra_report.h42 typedef int (*info_report_func_pt)(void *handle, const char *topic_name,
55 int iotx_midreport_topic(char *topic_name, char *topic_head, char *product_key,
59 int iotx_gen_aos_report_topic(char *topic_name, char *product_key,
/AliOS-Things-master/components/linkkit/ota/
A Dota_mqtt.c62 char topic_name[OTA_MQTT_TOPIC_LEN]; in otamqtt_Publish() local
77 ret = otamqtt_GenTopicName(topic_name, OTA_MQTT_TOPIC_LEN, topic_type, in otamqtt_Publish()
84 ret = IOT_MQTT_Publish(handle->mqtt, topic_name, &topic_info); in otamqtt_Publish()
94 const char *topic_name, in otamqtt_publish_full_topic() argument
97 if (IOT_MQTT_Publish(handle->mqtt, topic_name, topic_msg) < 0) { in otamqtt_publish_full_topic()
332 int osc_RequestConfig(void *handle, const char *topic_name, in osc_RequestConfig() argument
335 return otamqtt_publish_full_topic(handle, topic_name, topic_msg); in osc_RequestConfig()
/AliOS-Things-master/components/linkkit/mqtt/
A Dmqtt_api.c555 int IOT_MQTT_Publish(void *handle, const char *topic_name, in IOT_MQTT_Publish() argument
561 if (client == NULL || topic_name == NULL || strlen(topic_name) == 0) { in IOT_MQTT_Publish()
566 rc = wrapper_mqtt_publish(client, topic_name, topic_msg); in IOT_MQTT_Publish()
570 int IOT_MQTT_Publish_Simple(void *handle, const char *topic_name, int qos, in IOT_MQTT_Publish_Simple() argument
577 if (client == NULL || topic_name == NULL || strlen(topic_name) == 0) { in IOT_MQTT_Publish_Simple()
590 rc = wrapper_mqtt_publish(client, topic_name, &mqtt_msg); in IOT_MQTT_Publish_Simple()
/AliOS-Things-master/components/linkkit/include/linkkit/
A Dmqtt_api.h312 int IOT_MQTT_Publish(void *handle, const char *topic_name,
331 int IOT_MQTT_Publish_Simple(void *handle, const char *topic_name, int qos,
/AliOS-Things-master/components/linkkit/iot_http/
A Diotx_http_api.c173 static int http_report_func(void *handle, const char *topic_name, int req_ack, in http_report_func() argument
180 if (handle == NULL || topic_name == NULL || data == NULL) { in http_report_func()
185 HAL_Snprintf(topic_path, sizeof(topic_path), "/topic%s", topic_name); in http_report_func()
/AliOS-Things-master/components/linkkit/iot_coap/client/
A Diotx_coap_api.c345 static int coap_report_func(void *handle, const char *topic_name, int req_ack, in coap_report_func() argument
358 HAL_Snprintf(coap_topic, 100, "/topic%s", topic_name); in coap_report_func()

Completed in 12 milliseconds