Home
last modified time | relevance | path

Searched refs:fmt (Results 1 - 17 of 17) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/coap_demo/
H A Diot_log.h65 * @param fmt: same use as the fmt for printf
73 #define IOT_PRINT(fmt, ...) \
76 printf(fmt, ##__VA_ARGS__); \
82 #define IOT_LOG(level, fmt, ...) \
85 IOT_PRINT("[%s][%s] " fmt "\r\n", \
89 #define IOT_LOG_TRACE(fmt, ...) \
94 IOT_LOG(EN_IOT_LOG_LEVEL_TRACE, fmt, ##__VA_ARGS__); \
98 #define IOT_LOG_DEBUG(fmt, ...) \
103 IOT_LOG(EN_IOT_LOG_LEVEL_DEBUG, fmt, ##__VA_ARGS_
[all...]
H A Diot_profile.c161 // if request_id is needed depends on the fmt
162 static char *MakeTopic(const char *fmt, const char *deviceId, const char *requestID) in MakeTopic() argument
167 len = strlen(fmt) + strlen(deviceId); in MakeTopic()
174 (void)snprintf_s(ret, len, len, fmt, deviceId, requestID); in MakeTopic()
176 (void)snprintf_s(ret, len, len, fmt, deviceId); in MakeTopic()
/vendor/hisilicon/hispark_pegasus/demo/iottencent_demo/
H A Diot_log.h64 * @param fmt: same use as the fmt for printf
76 #define IOT_PRINT(fmt, ...) \
79 printf(fmt, ##__VA_ARGS__); \
85 #define IOT_LOG(level, fmt, ...) \
88 IOT_PRINT("[%s][%s] " fmt "\r\n", \
92 #define IOT_LOG_TRACE(fmt, ...) \
97 IOT_LOG(EN_IOT_LOG_LEVEL_TRACE, fmt, ##__VA_ARGS__); \
101 #define IOT_LOG_DEBUG(fmt, ...) \
106 IOT_LOG(EN_IOT_LOG_LEVEL_DEBUG, fmt, ##__VA_ARGS_
[all...]
H A Diot_profile.c162 // < if request_id is needed depends on the fmt
163 static char *MakeTopic(const char *fmt, const char *deviceID, const char *requestID) in MakeTopic() argument
168 len = strlen(fmt) + strlen(deviceID); in MakeTopic()
176 (void)snprintf_s(ret, len, len, fmt, deviceID, requestID); in MakeTopic()
178 (void)snprintf_s(ret, len, len, fmt, deviceID); in MakeTopic()
/vendor/hisilicon/hispark_pegasus/demo/mqtt_demo/
H A Diot_log.h64 * @param fmt: same use as the fmt for printf
76 #define IOT_PRINT(fmt, ...) \
79 printf(fmt, ##__VA_ARGS__); \
85 #define IOT_LOG(level, fmt, ...) \
88 IOT_PRINT("[%s][%s] " fmt "\r\n", \
92 #define IOT_LOG_TRACE(fmt, ...) \
97 IOT_LOG(EN_IOT_LOG_LEVEL_TRACE, fmt, ##__VA_ARGS__); \
101 #define IOT_LOG_DEBUG(fmt, ...) \
106 IOT_LOG(EN_IOT_LOG_LEVEL_DEBUG, fmt, ##__VA_ARGS_
[all...]
H A Diot_profile.c162 // < if request_id is needed depends on the fmt
163 static char *MakeTopic(const char *fmt, const char *deviceID, const char *requestID) in MakeTopic() argument
168 len = strlen(fmt) + strlen(deviceID); in MakeTopic()
176 (void)snprintf_s(ret, len, len, fmt, deviceID, requestID); in MakeTopic()
178 (void)snprintf_s(ret, len, len, fmt, deviceID); in MakeTopic()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Diot_log.h64 * @param fmt: same use as the fmt for printf
72 #define IOT_PRINT(fmt, ...) \
75 printf(fmt, ##__VA_ARGS__); \
81 #define IOT_LOG(level, fmt, ...) \
84 IOT_PRINT("[%s][%s] " fmt "\r\n", \
88 #define IOT_LOG_TRACE(fmt, ...) \
93 IOT_LOG(EN_IOT_LOG_LEVEL_TRACE, fmt, ##__VA_ARGS__); \
97 #define IOT_LOG_DEBUG(fmt, ...) \
102 IOT_LOG(EN_IOT_LOG_LEVEL_DEBUG, fmt, ##__VA_ARGS_
[all...]
H A Diot_profile.c155 // if request_id is needed depends on the fmt
156 static char *MakeTopic(const char *fmt, const char *deviceId, const char *requestID) in MakeTopic() argument
161 len = strlen(fmt) + strlen(deviceId); in MakeTopic()
169 if (snprintf_s(ret, len + 1, len, fmt, deviceId, requestID) < 0) { in MakeTopic()
173 if (snprintf_s(ret, len + 1, len, fmt, deviceId) < 0) { in MakeTopic()
H A Dapp_demo_multi_sample.h74 #define FACTORY_HISPARK_BOARD_TEST(fmt, ...) \
76 printf(fmt, ##__VA_ARGS__); \
/vendor/hihope/rk3568/bluetooth/src/
H A Duserial_vendor.c208 if (p_cfg->fmt & USERIAL_DATABITS_8) in userial_vendor_open()
210 else if (p_cfg->fmt & USERIAL_DATABITS_7) in userial_vendor_open()
212 else if (p_cfg->fmt & USERIAL_DATABITS_6) in userial_vendor_open()
214 else if (p_cfg->fmt & USERIAL_DATABITS_5) in userial_vendor_open()
217 if (p_cfg->fmt & USERIAL_PARITY_NONE) in userial_vendor_open()
219 else if (p_cfg->fmt & USERIAL_PARITY_EVEN) in userial_vendor_open()
221 else if (p_cfg->fmt & USERIAL_PARITY_ODD) in userial_vendor_open()
224 if (p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()
226 else if (p_cfg->fmt & USERIAL_STOPBITS_2) in userial_vendor_open()
/vendor/hihope/dayu210/bluetooth/include/
H A Duserial_vendor.h112 uint16_t fmt; /* Data format */ member
/vendor/hihope/rk3568/bluetooth/include/
H A Duserial_vendor.h112 uint16_t fmt; /* Data format */ member
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dapp_demo_multi_sample.h74 #define FACTORY_HISPARK_BOARD_TEST(fmt, ...) \
76 printf(fmt, ##__VA_ARGS__); \
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/
H A Dapp_demo_multi_sample.h74 #define FACTORY_HISPARK_BOARD_TEST(fmt, ...) \
76 printf(fmt, ##__VA_ARGS__); \
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
H A Dapp_demo_multi_sample.h74 #define FACTORY_HISPARK_BOARD_TEST(fmt, ...) \
76 printf(fmt, ##__VA_ARGS__); \
/vendor/hihope/dayu210/bluetooth/src/
H A Duserial_vendor.c207 if (p_cfg->fmt & USERIAL_STOPBITS_1) in userial_vendor_open()
209 else if (p_cfg->fmt & USERIAL_STOPBITS_2) in userial_vendor_open()
/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
H A Dapp_demo_multi_sample.h75 #define FACTORY_HISPARK_BOARD_TEST(fmt, ...) \
77 printf(fmt, ##__VA_ARGS__); \

Completed in 9 milliseconds