Home
last modified time | relevance | path

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

/NetX-Duo-v6.3.0/addons/azure_iot/azure_iot_security_module/
Dnx_azure_iot_security_module.c109 LogError(LogLiteralArgs("Security module register fail, error=%d"), status); in _cm_init()
126 … LogError(LogLiteralArgs("Failed to init Azure IoT Security Module component, error=%d"), status); in _cm_init()
152 … LogError(LogLiteralArgs("Failed to deregister Azure IoT Security Module, error=%d"), status); in _cm_deinit()
159 …LogError(LogLiteralArgs("Failed to deinit Azure IoT Security Module component, error=%d"), status); in _cm_deinit()
179 LogError(LogLiteralArgs("Security Module is not running")); in nx_azure_iot_security_module_enable()
185 LogError(LogLiteralArgs("Multiple initializing with different nx_azure_iot_ptr")); in nx_azure_iot_security_module_enable()
201 LogError(LogLiteralArgs("Failed to retrieve UNIX time")); in nx_azure_iot_security_module_enable()
207 LogError(LogLiteralArgs("Failed to retrieve UNIX time")); in nx_azure_iot_security_module_enable()
217 LogError(LogLiteralArgs("Failed to retrieve event loop")); in nx_azure_iot_security_module_enable()
234 LogError(LogLiteralArgs("Failed to init component manager")); in nx_azure_iot_security_module_enable()
[all …]
/NetX-Duo-v6.3.0/addons/azure_iot/
Dnx_azure_iot_hub_client.c138 LogError(LogLiteralArgs("IoTHub client fail to get unix time: %d"), status); in nx_azure_iot_hub_client_throttled_check()
172 LogError(LogLiteralArgs("IoTHub client initialization fail: INVALID POINTER")); in nx_azure_iot_hub_client_initialize()
197 …LogError(LogLiteralArgs("IoTHub client failed initialization with error status: %d"), core_result); in nx_azure_iot_hub_client_initialize()
213 …LogError(LogLiteralArgs("IoTHub client initialization fail: MQTT CLIENT CREATE FAIL status: %d"), … in nx_azure_iot_hub_client_initialize()
222 LogError(LogLiteralArgs("IoTHub client set message callback status: %d"), status); in nx_azure_iot_hub_client_initialize()
250 LogError(LogLiteralArgs("IoTHub client connect callback fail: INVALID POINTER")); in nx_azure_iot_hub_client_connection_status_callback_set()
361 LogError(LogLiteralArgs("IoTHub WebSocket enable fail: INVALID POINTER")); in nx_azure_iot_hub_client_websocket_enable()
391 LogError(LogLiteralArgs("IoTHub client connect fail: INVALID POINTER")); in nx_azure_iot_hub_client_connect()
398 LogError(LogLiteralArgs("IoTHub client already connected")); in nx_azure_iot_hub_client_connect()
403 LogError(LogLiteralArgs("IoTHub client is connecting")); in nx_azure_iot_hub_client_connect()
[all …]
Dnx_azure_iot_json_writer.c108 LogError(LogLiteralArgs("Json writer init fail: INVALID POINTER")); in nx_azure_iot_json_writer_init()
130 LogError(LogLiteralArgs("Json writer failed to init chunked writer")); in nx_azure_iot_json_writer_init()
151 LogError(LogLiteralArgs("Json writer init fail: INVALID POINTER")); in nx_azure_iot_json_writer_with_buffer_init()
161 LogError(LogLiteralArgs("Json writer failed to init writer")); in nx_azure_iot_json_writer_with_buffer_init()
172 LogError(LogLiteralArgs("Json writer deinit fail: INVALID POINTER")); in nx_azure_iot_json_writer_deinit()
188 LogError(LogLiteralArgs("Json writer get bytes used fail: INVALID POINTER")); in nx_azure_iot_json_writer_get_bytes_used()
202 LogError(LogLiteralArgs("Json writer append string fail: INVALID POINTER")); in nx_azure_iot_json_writer_append_string()
223 LogError(LogLiteralArgs("Json writer append text fail: INVALID POINTER")); in nx_azure_iot_json_writer_append_json_text()
244 LogError(LogLiteralArgs("Json writer append property name fail: INVALID POINTER")); in nx_azure_iot_json_writer_append_property_name()
262 LogError(LogLiteralArgs("Json writer append bool fail: INVALID POINTER")); in nx_azure_iot_json_writer_append_bool()
[all …]
Dnx_azure_iot_provisioning_client.c83 LogError(LogLiteralArgs("IoTProvisioning client failed to parse chained packet")); in nx_azure_iot_provisioning_client_process_message()
95 …LogError(LogLiteralArgs("IoTProvisioning client failed to parse packet, error status: %d"), core_r… in nx_azure_iot_provisioning_client_process_message()
146 …LogError(LogLiteralArgs("IoTProvisioning client connect fail: DNS RESOLVE FAIL status: %d"), statu… in nx_azure_iot_provisioning_client_connect_internal()
173 …LogError(LogLiteralArgs("IoTProvisioning client connect fail: MQTT CLIENT LOGIN SET FAIL status: %… in nx_azure_iot_provisioning_client_connect_internal()
197 LogInfo(LogLiteralArgs("IoTProvisioning client connect pending")); in nx_azure_iot_provisioning_client_connect_internal()
204 …LogError(LogLiteralArgs("IoTProvisioning client connect fail: MQTT CONNECT FAIL status: %d"), stat… in nx_azure_iot_provisioning_client_connect_internal()
275 LogDebug(LogLiteralArgs("Action result in state %d"), state); in nx_azure_iot_provisioning_client_update_state()
276 LogDebug(LogLiteralArgs("status : %d"), action_result); in nx_azure_iot_provisioning_client_update_state()
316 LogError(LogLiteralArgs("Unknown state: %d"), state); in nx_azure_iot_provisioning_client_update_state()
532 LogError(LogLiteralArgs("Registration failed with dPS response: operation status = %d"), in nx_azure_iot_provisioning_client_process_service_response()
[all …]
Dnx_azure_iot.c243 LogError(LogLiteralArgs("IoT create fail: INVALID POINTER")); in nx_azure_iot_create()
257 LogError(LogLiteralArgs("IoT create fail status: %d"), status); in nx_azure_iot_create()
267 LogError(LogLiteralArgs("IoT module register fail status: %d"), status); in nx_azure_iot_create()
282 LogError(LogLiteralArgs("IoT failed to enable IoT Security Module, status: %d"), status); in nx_azure_iot_create()
297 LogError(LogLiteralArgs("IoT delete fail: INVALID POINTER")); in nx_azure_iot_delete()
303 LogError(LogLiteralArgs("IoT delete fail: Resource NOT DELETED")); in nx_azure_iot_delete()
312 LogError(LogLiteralArgs("IoT failed to disable IoT Security Module, status: %d"), status); in nx_azure_iot_delete()
324 LogError(LogLiteralArgs("IoT delete fail status: %d"), status); in nx_azure_iot_delete()
369 LogError(LogLiteralArgs("Create publish packet failed")); in nx_azure_iot_publish_packet_get()
388 LogError(LogLiteralArgs("failed to add mqtt header")); in nx_azure_iot_publish_mqtt_packet()
[all …]
Dnx_azure_iot_hub_client_properties.c31 LogError(LogLiteralArgs("IoT PnP reported property begin fail: INVALID POINTER")); in nx_azure_iot_hub_client_reported_properties_component_begin()
41 … LogError(LogLiteralArgs("IoT PnP failed to append component, core error : %d"), core_result); in nx_azure_iot_hub_client_reported_properties_component_begin()
56 LogError(LogLiteralArgs("IoT PnP reported property end fail: INVALID POINTER")); in nx_azure_iot_hub_client_reported_properties_component_end()
64 … LogError(LogLiteralArgs("IoT PnP failed to append component, core error : %d"), core_result); in nx_azure_iot_hub_client_reported_properties_component_end()
86 LogError(LogLiteralArgs("IoT PnP client begin reported status failed: INVALID POINTER")); in nx_azure_iot_hub_client_reported_properties_status_begin()
99 LogError(LogLiteralArgs("Failed to prefix data with core error : %d"), core_result); in nx_azure_iot_hub_client_reported_properties_status_begin()
114 LogError(LogLiteralArgs("IoT PnP client end reported status failed: INVALID POINTER")); in nx_azure_iot_hub_client_reported_properties_status_end()
122 LogError(LogLiteralArgs("Failed to suffix data with core error : %d"), core_result); in nx_azure_iot_hub_client_reported_properties_status_end()
142 LogError(LogLiteralArgs("IoTHub client get properties version failed: INVALID POINTER")); in nx_azure_iot_hub_client_properties_version_get()
155 LogError(LogLiteralArgs("IoTHub client get properties version failed : %d"), core_result); in nx_azure_iot_hub_client_properties_version_get()
[all …]
Dnx_azure_iot_adu_agent.c137 LogError(LogLiteralArgs("ADU agent start fail: INVALID POINTER")); in nx_azure_iot_adu_agent_start()
144 LogError(LogLiteralArgs("ADU agent start fail: IOTHUB NOT CONNECTED")); in nx_azure_iot_adu_agent_start()
151 LogError(LogLiteralArgs("ADU agent start fail: PROPERTIES NOT ENABLED")); in nx_azure_iot_adu_agent_start()
158 LogError(LogLiteralArgs("ADU agent start fail: PNP NOT ENABLED")); in nx_azure_iot_adu_agent_start()
192 LogError(LogLiteralArgs("ADU agent start fail: COMPONENT ADD FAIL: %d"), status); in nx_azure_iot_adu_agent_start()
226 LogError(LogLiteralArgs("ADU agent start fail: NO AVAILABLE CIPHER")); in nx_azure_iot_adu_agent_start()
233 LogError(LogLiteralArgs("ADU agent start fail: INSUFFICIENT BUFFER FOR SHA256")); in nx_azure_iot_adu_agent_start()
257 LogError(LogLiteralArgs("ADU agent start fail: DRIVER ERROR")); in nx_azure_iot_adu_agent_start()
285 LogError(LogLiteralArgs("ADU agent start fail: CLIENT REPORTED PROPERTIES SEND FAIL")); in nx_azure_iot_adu_agent_start()
308 LogError(LogLiteralArgs("ADU module register fail status: %d"), status); in nx_azure_iot_adu_agent_start()
[all …]
Dnx_azure_iot.h65 #define LogLiteralArgs(s) (UCHAR *)s, sizeof(s) - 1 macro
78 #define LogError(...) nx_azure_iot_log(LogLiteralArgs("[ERROR] "), __VA_ARGS__)
82 #define LogInfo(...) nx_azure_iot_log(LogLiteralArgs("[INFO] "), __VA_ARGS__)
86 #define LogDebug(...) nx_azure_iot_log(LogLiteralArgs("[DEBUG] "), __VA_ARGS__)