Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/addons/azure_iot/
Dnx_azure_iot.c28 … VOID(*_nx_azure_iot_log_callback)(az_log_classification classification, UCHAR *msg, UINT msg_len);
98 UINT nx_azure_iot_log(UCHAR *type_ptr, UINT type_len, UCHAR *msg_ptr, UINT msg_len, ...) in nx_azure_iot_log() argument
108 if (msg_len >= 2 && (msg_ptr[msg_len - 2] == '%') && in nx_azure_iot_log()
109 ((msg_ptr[msg_len - 1] == 'd') || (msg_ptr[msg_len - 1] == 's'))) in nx_azure_iot_log()
111 span = az_span_create((UCHAR *)msg_ptr, (INT)(msg_len - 2)); in nx_azure_iot_log()
114 va_start(ap, msg_len); in nx_azure_iot_log()
117 if (msg_ptr[msg_len - 1] == 'd') in nx_azure_iot_log()
128 if (msg_ptr[msg_len - 1] == 's') in nx_azure_iot_log()
131 msg_len = va_arg(ap, UINT); in nx_azure_iot_log()
132 span = az_span_create((UCHAR *)msg_ptr, (INT)msg_len); in nx_azure_iot_log()
[all …]
Dnx_azure_iot.h73 UINT nx_azure_iot_log(UCHAR *type_ptr, UINT type_len, UCHAR *msg_ptr, UINT msg_len, ...);
293 …_iot_log_init(VOID(*log_callback)(az_log_classification classification, UCHAR *msg, UINT msg_len));
/NetX-Duo-v6.2.1/test/regression/azure_iot/
Dnx_azure_iot_unit_test.c61 static VOID test_log_callback(az_log_classification classification, UCHAR *msg, UINT msg_len) in test_log_callback() argument
63 if ((classification == AZ_LOG_IOT_AZURERTOS) && ((log_index + msg_len) <= MAX_BUFFER_SIZE)) in test_log_callback()
65 memcpy((VOID *)(buffer + log_index), (VOID *)msg, msg_len); in test_log_callback()
66 log_index += msg_len; in test_log_callback()
Dmain.c244 static void log_callback(az_log_classification classification, UCHAR *msg, UINT msg_len) in log_callback() argument
248 printf("%.*s", msg_len, (CHAR *)msg); in log_callback()
/NetX-Duo-v6.2.1/addons/azure_iot/samples/
Dsample_azure_iot_embedded_sdk.c277 static void log_callback(az_log_classification classification, UCHAR *msg, UINT msg_len) in log_callback() argument
281 printf("%.*s", msg_len, (CHAR *)msg); in log_callback()
Dsample_azure_iot_embedded_sdk_pnp.c992 static void log_callback(az_log_classification classification, UCHAR *msg, UINT msg_len) in log_callback() argument
996 printf("%.*s", msg_len, (CHAR *)msg); in log_callback()
/NetX-Duo-v6.2.1/addons/azure_iot/docs/
Dazure_rtos_iot.md89 …_iot_log_init(VOID(*log_callback)(az_log_classification classification, UCHAR *msg, UINT msg_len));