Home
last modified time | relevance | path

Searched refs:timeout (Results 1 - 9 of 9) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/lwip_demo/
H A Ddemo_entry_cmsis.c31 int timeout = 10; /* timeout 10ms */ in NetDemoTask() local
32 while (timeout--) { in NetDemoTask()
33 printf("After %d seconds, I will start lwip test!\r\n", timeout); in NetDemoTask()
/vendor/hisilicon/hispark_pegasus/demo/easy_wifi_demo/demo/
H A Dwifi_connect_demo.c46 int timeout = 60; in WifiConnectTask() local
47 while (timeout--) { in WifiConnectTask()
48 printf("After %d seconds I will disconnect with AP!\r\n", timeout); in WifiConnectTask()
H A Dwifi_hotspot_demo.c51 int timeout = 60; in WifiHotspotTask() local
52 while (timeout--) { in WifiHotspotTask()
53 printf("After %d seconds Ap will turn off!\r\n", timeout); in WifiHotspotTask()
/vendor/hisilicon/hispark_pegasus/demo/coap_demo/
H A Diot_main.c170 hi_u32 timeout; in ProcessQueueMsg() local
173 timeout = CN_QUEUE_WAITTIMEOUT; in ProcessQueueMsg()
177 ret = osMessageQueueGet(g_ioTAppCb.queueID, &msg, &msgSize, timeout); in ProcessQueueMsg()
185 timeout = 0; // continue to deal the message without wait here in ProcessQueueMsg()
/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/
H A Diot_main.c163 unsigned int timeout; in ProcessQueueMsg() local
166 timeout = CN_QUEUE_WAITTIMEOUT; in ProcessQueueMsg()
170 ret = osMessageQueueGet(gIoTAppCb.queueID, &msg, &msgSize, timeout); in ProcessQueueMsg()
176 timeout = 0; // < continuos to deal the message without wait here in ProcessQueueMsg()
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/
H A Diot_main.c163 unsigned int timeout; in ProcessQueueMsg() local
166 timeout = CN_QUEUE_WAITTIMEOUT; in ProcessQueueMsg()
170 ret = osMessageQueueGet(gIoTAppCb.queueID, &msg, &msgSize, timeout); in ProcessQueueMsg()
176 timeout = 0; // < continuos to deal the message without wait here in ProcessQueueMsg()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Diot_main.c164 hi_u32 timeout; in ProcessQueueMsg() local
167 timeout = CN_QUEUE_WAITTIMEOUT; in ProcessQueueMsg()
171 ret = osMessageQueueGet(g_ioTAppCb.queueID, &msg, &msgSize, timeout); in ProcessQueueMsg()
179 timeout = 0; // continuos to deal the message without wait here in ProcessQueueMsg()
/vendor/hihope/dayu210/bluetooth/src/
H A Dhardware.c316 ** Description sleep unconditionally for timeout milliseconds
321 void ms_delay(uint32_t timeout) in ms_delay() argument
326 if (timeout == 0) in ms_delay()
329 delay.tv_sec = timeout / BT_VENDOR_TIME_RAIDX; in ms_delay()
330 delay.tv_nsec = BT_VENDOR_TIME_RAIDX * BT_VENDOR_TIME_RAIDX * (timeout % BT_VENDOR_TIME_RAIDX); in ms_delay()
1103 ** Returns idle timeout value
/vendor/hihope/rk3568/bluetooth/src/
H A Dhardware.c364 ** Description sleep unconditionally for timeout milliseconds
369 void ms_delay(uint32_t timeout) in ms_delay() argument
374 if (timeout == 0) in ms_delay()
377 delay.tv_sec = timeout / BT_VENDOR_TIME_RAIDX; in ms_delay()
378 delay.tv_nsec = BT_VENDOR_TIME_RAIDX * BT_VENDOR_TIME_RAIDX * (timeout % BT_VENDOR_TIME_RAIDX); in ms_delay()
1150 ** Returns idle timeout value

Completed in 8 milliseconds