Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 13 of 13) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/
Diot_main.c87 IoTMsg_t *msg; in MsgRcvCallBack() local
98 msg = (IoTMsg_t *)buf; in MsgRcvCallBack()
101 msg->qos = message->qos; in MsgRcvCallBack()
102 msg->type = EN_IOT_MSG_RECV; in MsgRcvCallBack()
105 msg->topic = buf; in MsgRcvCallBack()
110 msg->payload = buf; in MsgRcvCallBack()
111 IOT_LOG_DEBUG("RCVMSG:QOS:%d TOPIC:%s PAYLOAD:%s\r\n", msg->qos, msg->topic, msg->payload); in MsgRcvCallBack()
112 if (IOT_SUCCESS != osMessageQueuePut(gIoTAppCb.queueID, &msg, 0, CN_QUEUE_WAITTIMEOUT)) { in MsgRcvCallBack()
114 hi_free(0, msg); in MsgRcvCallBack()
130 static int MqttProcessQueueMsg(MQTTClient client, IoTMsg_t *msg, MQTTClient_message pubMsg) in MqttProcessQueueMsg() argument
[all …]
Diot_profile.c318 char *msg; in IoTProfilePropertyReport() local
327 msg = MakeProfileReport(payload); in IoTProfilePropertyReport()
328 if ((topic != NULL) && (msg != NULL)) { in IoTProfilePropertyReport()
329 ret = IotSendMsg(0, topic, msg); in IoTProfilePropertyReport()
333 cJSON_free(msg); in IoTProfilePropertyReport()
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/
Diot_main.c87 IoTMsg_t *msg; in MsgRcvCallBack() local
98 msg = (IoTMsg_t *)buf; in MsgRcvCallBack()
101 msg->qos = message->qos; in MsgRcvCallBack()
102 msg->type = EN_IOT_MSG_RECV; in MsgRcvCallBack()
105 msg->topic = buf; in MsgRcvCallBack()
110 msg->payload = buf; in MsgRcvCallBack()
111 IOT_LOG_DEBUG("RCVMSG:QOS:%d TOPIC:%s PAYLOAD:%s\r\n", msg->qos, msg->topic, msg->payload); in MsgRcvCallBack()
112 if (IOT_SUCCESS != osMessageQueuePut(gIoTAppCb.queueID, &msg, 0, CN_QUEUE_WAITTIMEOUT)) { in MsgRcvCallBack()
114 hi_free(0, msg); in MsgRcvCallBack()
130 static int MqttProcessQueueMsg(MQTTClient client, IoTMsg_t *msg, MQTTClient_message pubMsg) in MqttProcessQueueMsg() argument
[all …]
Diot_profile.c318 char *msg; in IoTProfilePropertyReport() local
327 msg = MakeProfileReport(payload); in IoTProfilePropertyReport()
328 if ((topic != NULL) && (msg != NULL)) { in IoTProfilePropertyReport()
329 ret = IotSendMsg(0, topic, msg); in IoTProfilePropertyReport()
333 cJSON_free(msg); in IoTProfilePropertyReport()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
Diot_main.c87 IoTMsgT *msg; in MsgRcvCallBack() local
98 msg = (IoTMsgT *)buf; in MsgRcvCallBack()
101 msg->qos = message->qos; in MsgRcvCallBack()
102 msg->type = EN_IOT_MSG_RECV; in MsgRcvCallBack()
105 msg->topic = buf; in MsgRcvCallBack()
110 msg->payload = buf; in MsgRcvCallBack()
111 IOT_LOG_DEBUG("RCVMSG:QOS:%d TOPIC:%s PAYLOAD:%s\r\n", msg->qos, msg->topic, msg->payload); in MsgRcvCallBack()
112 if (IOT_SUCCESS != osMessageQueuePut(g_ioTAppCb.queueID, &msg, 0, CN_QUEUE_WAITTIMEOUT)) { in MsgRcvCallBack()
114 hi_free(0, msg); in MsgRcvCallBack()
130 void IoTMsgProcess(IoTMsgT *msg, MQTTClient_message pubmsg, MQTTClient client) in IoTMsgProcess() argument
[all …]
Diot_profile.c241 const char *msg; in IoTProfileCmdResp() local
251 msg = MakeProfileCmdResp(payload); in IoTProfileCmdResp()
252 if ((topic != NULL) && (msg != NULL)) { in IoTProfileCmdResp()
253 ret = IotSendMsg(0, topic, msg); in IoTProfileCmdResp()
257 cJSON_free(msg); in IoTProfileCmdResp()
293 char *msg; in IoTProfilePropertyReport() local
302 msg = MakeProfilePropertyReport(payload); in IoTProfilePropertyReport()
303 if ((topic != NULL) && (msg != NULL)) { in IoTProfilePropertyReport()
304 ret = IotSendMsg(0, topic, msg); in IoTProfilePropertyReport()
308 cJSON_free(msg); in IoTProfilePropertyReport()
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/
Diot_main.c86 IoTMsgT *msg; in MsgRcvCallBack() local
98 msg = (IoTMsgT *)buf; in MsgRcvCallBack()
101 msg->qos = message->qos; in MsgRcvCallBack()
102 msg->type = EN_IOT_MSG_RECV; in MsgRcvCallBack()
108 msg->topic = buf; in MsgRcvCallBack()
116 msg->payload = buf; in MsgRcvCallBack()
117 IOT_LOG_DEBUG("RCVMSG:QOS:%d TOPIC:%s PAYLOAD:%s\r\n", msg->qos, msg->topic, msg->payload); in MsgRcvCallBack()
118 if (IOT_SUCCESS != osMessageQueuePut(g_ioTAppCb.queueID, &msg, 0, CN_QUEUE_WAITTIMEOUT)) { in MsgRcvCallBack()
120 hi_free(0, msg); in MsgRcvCallBack()
136 void IoTMsgProcess(IoTMsgT *msg, MQTTClient_message pubmsg, MQTTClient client) in IoTMsgProcess() argument
[all …]
Diot_profile.c241 const char *msg; in IoTProfileCmdResp() local
251 msg = MakeProfileCmdResp(payload); in IoTProfileCmdResp()
252 if ((topic != NULL) && (msg != NULL)) { in IoTProfileCmdResp()
253 ret = IotSendMsg(0, topic, msg); in IoTProfileCmdResp()
257 cJSON_free(msg); in IoTProfileCmdResp()
293 char *msg; in IoTProfilePropertyReport() local
302 msg = MakeProfilePropertyReport(payload); in IoTProfilePropertyReport()
303 if ((topic != NULL) && (msg != NULL)) { in IoTProfilePropertyReport()
304 ret = IotSendMsg(0, topic, msg); in IoTProfilePropertyReport()
308 cJSON_free(msg); in IoTProfilePropertyReport()
/vendor/hihope/rk3568/demo/tetcl_poetry/entry/src/main/ets/MainAbility/common/utils/
DRestApiUtil.ts24 msg: string; property in RestApiUtil
27 constructor(code: number, msg: string, newslist: Array<any>) {
29 this.msg = msg;
/vendor/hisilicon/hispark_pegasus/demo/sntp_demo/src/
Dsntp_debug.c21 void assert_printf(char *msg, int line, const char *file) in assert_printf() argument
23 (void) msg; in assert_printf()
/vendor/hihope/rk3568/demo/tetcl_poetry/entry/src/main/ets/MainAbility/pages/
Dindex.ets56 message: data.msg,
63 message: data.msg,
/vendor/hihope/rk3568/bluetooth/include/
Duipc_msg.h98 uint8_t msg[IPC_LOG_MSG_LEN]; member
/vendor/hisilicon/watchos/patches/
Dhi3516dv300.patch16214 +#define hiedmacv310_trace(level, msg...) do { \
16217 + printk(msg); \
16240 +#define hiedmacv310_trace(level, msg...)
16241 +#define hiedmacv310_assert(level, msg...)
16242 +#define hiedmacv310_error(level, msg...)
22914 +#define hiedmacv310_trace(level, msg...) do { \
22917 + printk(msg); \
22940 +#define hiedmacv310_trace(level, msg...) do { } while (0)
22941 +#define hiedmacv310_assert(level, msg...) do { } while (0)
22942 +#define hiedmacv310_error(level, msg...) do { } while (0)
[all …]