Searched refs:CN_CLIENTID_FMT (Results 1 – 4 of 4) sorted by relevance
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/ |
D | iot_main.c | 43 #define CN_CLIENTID_FMT "%s_0_0_%s" // This is the cient ID format, deviceID_0_0_TIME macro 240 …clientID = hi_malloc(0, strlen(CN_CLIENTID_FMT) + strlen(CONFIG_DEVICE_ID) + strlen(CN_EVENT_TIME)… in MainEntryProcess() 244 …if (snprintf_s(clientID, strlen(CN_CLIENTID_FMT) + strlen(CONFIG_DEVICE_ID) + strlen(CN_EVENT_TIME… in MainEntryProcess() 245 … CN_QUEUE_MSGNUM, strlen(CN_CLIENTID_FMT) + strlen(CONFIG_DEVICE_ID) + strlen(CN_EVENT_TIME) + 1, in MainEntryProcess() 246 CN_CLIENTID_FMT, CONFIG_DEVICE_ID, CN_EVENT_TIME) < 0) { in MainEntryProcess()
|
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/ |
D | iot_main.c | 42 #define CN_CLIENTID_FMT "%s_0_0_%s" // This is the cient ID format, deviceID_0_0_TIME macro 247 …clientID = hi_malloc(0, strlen(CN_CLIENTID_FMT) + strlen(CONFIG_DEVICE_ID) + strlen(CN_EVENT_TIME)… in MainEntryProcess() 251 …ret = snprintf_s(clientID, strlen(CN_CLIENTID_FMT) + strlen(CONFIG_DEVICE_ID) + strlen(CN_EVENT_TI… in MainEntryProcess() 252 … CN_QUEUE_MSGNUM, strlen(CN_CLIENTID_FMT) + strlen(CONFIG_DEVICE_ID) + strlen(CN_EVENT_TIME) + 1, in MainEntryProcess() 253 CN_CLIENTID_FMT, CONFIG_DEVICE_ID, CN_EVENT_TIME); in MainEntryProcess()
|
/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/ |
D | iot_main.c | 46 #define CN_CLIENTID_FMT "%s_0_0_%s" // < This is the cient ID format, deviceID_0_0_TIME macro
|
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/ |
D | iot_main.c | 46 #define CN_CLIENTID_FMT "%s_0_0_%s" // < This is the cient ID format, deviceID_0_0_TIME macro
|