Home
last modified time | relevance | path

Searched refs:LogLiteralArgs (Results 1 – 8 of 8) sorted by relevance

/NetX-Duo-v6.2.1/addons/azure_iot/
Dnx_azure_iot_hub_client.c137 LogError(LogLiteralArgs("IoTHub client fail to get unix time: %d"), status); in nx_azure_iot_hub_client_throttled_check()
171 LogError(LogLiteralArgs("IoTHub client initialization fail: INVALID POINTER")); in nx_azure_iot_hub_client_initialize()
196 …LogError(LogLiteralArgs("IoTHub client failed initialization with error status: %d"), core_result); in nx_azure_iot_hub_client_initialize()
212 …LogError(LogLiteralArgs("IoTHub client initialization fail: MQTT CLIENT CREATE FAIL status: %d"), … in nx_azure_iot_hub_client_initialize()
221 LogError(LogLiteralArgs("IoTHub client set message callback status: %d"), status); in nx_azure_iot_hub_client_initialize()
249 LogError(LogLiteralArgs("IoTHub client connect callback fail: INVALID POINTER")); in nx_azure_iot_hub_client_connection_status_callback_set()
360 LogError(LogLiteralArgs("IoTHub WebSocket enable fail: INVALID POINTER")); in nx_azure_iot_hub_client_websocket_enable()
390 LogError(LogLiteralArgs("IoTHub client connect fail: INVALID POINTER")); in nx_azure_iot_hub_client_connect()
397 LogError(LogLiteralArgs("IoTHub client already connected")); in nx_azure_iot_hub_client_connect()
402 LogError(LogLiteralArgs("IoTHub client is connecting")); in nx_azure_iot_hub_client_connect()
[all …]
Dnx_azure_iot_provisioning_client.c82 LogError(LogLiteralArgs("IoTProvisioning client failed to parse chained packet")); in nx_azure_iot_provisioning_client_process_message()
94 …LogError(LogLiteralArgs("IoTProvisioning client failed to parse packet, error status: %d"), core_r… in nx_azure_iot_provisioning_client_process_message()
145 …LogError(LogLiteralArgs("IoTProvisioning client connect fail: DNS RESOLVE FAIL status: %d"), statu… in nx_azure_iot_provisioning_client_connect_internal()
172 …LogError(LogLiteralArgs("IoTProvisioning client connect fail: MQTT CLIENT LOGIN SET FAIL status: %… in nx_azure_iot_provisioning_client_connect_internal()
196 LogInfo(LogLiteralArgs("IoTProvisioning client connect pending")); in nx_azure_iot_provisioning_client_connect_internal()
203 …LogError(LogLiteralArgs("IoTProvisioning client connect fail: MQTT CONNECT FAIL status: %d"), stat… in nx_azure_iot_provisioning_client_connect_internal()
274 LogDebug(LogLiteralArgs("Action result in state %d"), state); in nx_azure_iot_provisioning_client_update_state()
275 LogDebug(LogLiteralArgs("status : %d"), action_result); in nx_azure_iot_provisioning_client_update_state()
315 LogError(LogLiteralArgs("Unknown state: %d"), state); in nx_azure_iot_provisioning_client_update_state()
531 LogError(LogLiteralArgs("Registration failed with dPS response: operation status = %d"), in nx_azure_iot_provisioning_client_process_service_response()
[all …]
Dnx_azure_iot_json_writer.c107 LogError(LogLiteralArgs("Json writer init fail: INVALID POINTER")); in nx_azure_iot_json_writer_init()
129 LogError(LogLiteralArgs("Json writer failed to init chunked writer")); in nx_azure_iot_json_writer_init()
150 LogError(LogLiteralArgs("Json writer init fail: INVALID POINTER")); in nx_azure_iot_json_writer_with_buffer_init()
160 LogError(LogLiteralArgs("Json writer failed to init writer")); in nx_azure_iot_json_writer_with_buffer_init()
171 LogError(LogLiteralArgs("Json writer deinit fail: INVALID POINTER")); in nx_azure_iot_json_writer_deinit()
187 LogError(LogLiteralArgs("Json writer get bytes used fail: INVALID POINTER")); in nx_azure_iot_json_writer_get_bytes_used()
201 LogError(LogLiteralArgs("Json writer append string fail: INVALID POINTER")); in nx_azure_iot_json_writer_append_string()
222 LogError(LogLiteralArgs("Json writer append text fail: INVALID POINTER")); in nx_azure_iot_json_writer_append_json_text()
243 LogError(LogLiteralArgs("Json writer append property name fail: INVALID POINTER")); in nx_azure_iot_json_writer_append_property_name()
261 LogError(LogLiteralArgs("Json writer append bool fail: INVALID POINTER")); in nx_azure_iot_json_writer_append_bool()
[all …]
Dnx_azure_iot_hub_client_properties.c30 LogError(LogLiteralArgs("IoT PnP reported property begin fail: INVALID POINTER")); in nx_azure_iot_hub_client_reported_properties_component_begin()
40 … LogError(LogLiteralArgs("IoT PnP failed to append component, core error : %d"), core_result); in nx_azure_iot_hub_client_reported_properties_component_begin()
55 LogError(LogLiteralArgs("IoT PnP reported property end fail: INVALID POINTER")); in nx_azure_iot_hub_client_reported_properties_component_end()
63 … LogError(LogLiteralArgs("IoT PnP failed to append component, core error : %d"), core_result); in nx_azure_iot_hub_client_reported_properties_component_end()
85 LogError(LogLiteralArgs("IoT PnP client begin reported status failed: INVALID POINTER")); in nx_azure_iot_hub_client_reported_properties_status_begin()
98 LogError(LogLiteralArgs("Failed to prefix data with core error : %d"), core_result); in nx_azure_iot_hub_client_reported_properties_status_begin()
113 LogError(LogLiteralArgs("IoT PnP client end reported status failed: INVALID POINTER")); in nx_azure_iot_hub_client_reported_properties_status_end()
121 LogError(LogLiteralArgs("Failed to suffix data with core error : %d"), core_result); in nx_azure_iot_hub_client_reported_properties_status_end()
141 LogError(LogLiteralArgs("IoTHub client get properties version failed: INVALID POINTER")); in nx_azure_iot_hub_client_properties_version_get()
154 LogError(LogLiteralArgs("IoTHub client get properties version failed : %d"), core_result); in nx_azure_iot_hub_client_properties_version_get()
[all …]
Dnx_azure_iot.c238 LogError(LogLiteralArgs("IoT create fail: INVALID POINTER")); in nx_azure_iot_create()
252 LogError(LogLiteralArgs("IoT create fail status: %d"), status); in nx_azure_iot_create()
262 LogError(LogLiteralArgs("IoT module register fail status: %d"), status); in nx_azure_iot_create()
281 LogError(LogLiteralArgs("IoT delete fail: INVALID POINTER")); in nx_azure_iot_delete()
287 LogError(LogLiteralArgs("IoT delete fail: Resource NOT DELETED")); in nx_azure_iot_delete()
298 LogError(LogLiteralArgs("IoT delete fail status: %d"), status); in nx_azure_iot_delete()
343 LogError(LogLiteralArgs("Create publish packet failed")); in nx_azure_iot_publish_packet_get()
362 LogError(LogLiteralArgs("failed to add mqtt header")); in nx_azure_iot_publish_mqtt_packet()
376 LogError(LogLiteralArgs("Mqtt client send fail: PUBLISH FAIL status: %d"), status); in nx_azure_iot_publish_mqtt_packet()
398 LogError(LogLiteralArgs("MQTT NOT CONNECTED")); in nx_azure_iot_mqtt_packet_id_get()
[all …]
Dnx_azure_iot_adu_agent.c136 LogError(LogLiteralArgs("ADU agent start fail: INVALID POINTER")); in nx_azure_iot_adu_agent_start()
143 LogError(LogLiteralArgs("ADU agent start fail: IOTHUB NOT CONNECTED")); in nx_azure_iot_adu_agent_start()
150 LogError(LogLiteralArgs("ADU agent start fail: PROPERTIES NOT ENABLED")); in nx_azure_iot_adu_agent_start()
157 LogError(LogLiteralArgs("ADU agent start fail: PNP NOT ENABLED")); in nx_azure_iot_adu_agent_start()
191 LogError(LogLiteralArgs("ADU agent start fail: COMPONENT ADD FAIL: %d"), status); in nx_azure_iot_adu_agent_start()
225 LogError(LogLiteralArgs("ADU agent start fail: NO AVAILABLE CIPHER")); in nx_azure_iot_adu_agent_start()
232 LogError(LogLiteralArgs("ADU agent start fail: INSUFFICIENT BUFFER FOR SHA256")); in nx_azure_iot_adu_agent_start()
256 LogError(LogLiteralArgs("ADU agent start fail: DRIVER ERROR")); in nx_azure_iot_adu_agent_start()
284 LogError(LogLiteralArgs("ADU agent start fail: CLIENT REPORTED PROPERTIES SEND FAIL")); in nx_azure_iot_adu_agent_start()
307 LogError(LogLiteralArgs("ADU module register fail status: %d"), status); in nx_azure_iot_adu_agent_start()
[all …]
Dnx_azure_iot.h64 #define LogLiteralArgs(s) (UCHAR *)s, sizeof(s) - 1 macro
77 #define LogError(...) nx_azure_iot_log(LogLiteralArgs("[ERROR] "), __VA_ARGS__)
81 #define LogInfo(...) nx_azure_iot_log(LogLiteralArgs("[INFO] "), __VA_ARGS__)
85 #define LogDebug(...) nx_azure_iot_log(LogLiteralArgs("[DEBUG] "), __VA_ARGS__)
/NetX-Duo-v6.2.1/test/regression/azure_iot/
Dnx_azure_iot_unit_test.c272 nx_azure_iot_log(LogLiteralArgs("[INFO]"), LogLiteralArgs(" hello world 1")); in test_nx_azure_iot_log_success()
276 nx_azure_iot_log(LogLiteralArgs("[INFO]"), LogLiteralArgs(" hello world %d"), 1); in test_nx_azure_iot_log_success()
280 …nx_azure_iot_log(LogLiteralArgs("[INFO]"), LogLiteralArgs(" hello %s"), LogLiteralArgs("world 1")); in test_nx_azure_iot_log_success()