Home
last modified time | relevance | path

Searched refs:nx_azure_iot_ptr (Results 1 – 24 of 24) sorted by relevance

/NetX-Duo-v6.2.1/addons/azure_iot/
Dnx_azure_iot.c37 NX_AZURE_IOT *nx_azure_iot_ptr = (NX_AZURE_IOT *)nx_azure_iot; in nx_azure_iot_event_process() local
40 if (nx_azure_iot_ptr -> nx_azure_iot_provisioning_client_event_process) in nx_azure_iot_event_process()
42nx_azure_iot_ptr -> nx_azure_iot_provisioning_client_event_process(nx_azure_iot_ptr, common_events, in nx_azure_iot_event_process()
189 UINT nx_azure_iot_resource_add(NX_AZURE_IOT *nx_azure_iot_ptr, NX_AZURE_IOT_RESOURCE *resource_ptr) in nx_azure_iot_resource_add() argument
192 resource_ptr -> resource_next = nx_azure_iot_ptr -> nx_azure_iot_resource_list_header; in nx_azure_iot_resource_add()
193 nx_azure_iot_ptr -> nx_azure_iot_resource_list_header = resource_ptr; in nx_azure_iot_resource_add()
198 UINT nx_azure_iot_resource_remove(NX_AZURE_IOT *nx_azure_iot_ptr, NX_AZURE_IOT_RESOURCE *resource_p… in nx_azure_iot_resource_remove() argument
203 if (nx_azure_iot_ptr -> nx_azure_iot_resource_list_header == NX_NULL) in nx_azure_iot_resource_remove()
208 if (nx_azure_iot_ptr -> nx_azure_iot_resource_list_header == resource_ptr) in nx_azure_iot_resource_remove()
210nx_azure_iot_ptr -> nx_azure_iot_resource_list_header = nx_azure_iot_ptr -> nx_azure_iot_resource_… in nx_azure_iot_resource_remove()
[all …]
Dnx_azure_iot_provisioning_client.c53 static VOID nx_azure_iot_provisioning_client_event_process(NX_AZURE_IOT *nx_azure_iot_ptr,
119 …status = nx_cloud_module_event_set(&(prov_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_cloud_mod… in nx_azure_iot_provisioning_client_mqtt_disconnect_notify()
139 status = nxd_dns_host_by_name_get(prov_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_dns_ptr, in nx_azure_iot_provisioning_client_connect_internal()
249 …status = nx_cloud_module_event_set(&(prov_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_cloud_mod… in nx_azure_iot_provisioning_client_mqtt_receive_callback()
359 … if (tx_mutex_get(prov_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr, NX_WAIT_FOREVER)) in nx_azure_iot_provisioning_client_mqtt_connect_notify()
370 …status = nx_cloud_module_event_set(&(prov_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_cloud_mod… in nx_azure_iot_provisioning_client_mqtt_connect_notify()
380 …status = nx_cloud_module_event_set(&(prov_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_cloud_mod… in nx_azure_iot_provisioning_client_mqtt_connect_notify()
387 tx_mutex_put(prov_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr); in nx_azure_iot_provisioning_client_mqtt_connect_notify()
425 … status = nx_cloud_module_event_set(&(context -> nx_azure_iot_ptr -> nx_azure_iot_cloud_module), in nx_azure_iot_provisioning_client_process_timer()
456 … status = nx_cloud_module_event_set(&(context -> nx_azure_iot_ptr -> nx_azure_iot_cloud_module), in nx_azure_iot_provisioning_client_subscribe()
[all …]
Dnx_azure_iot_hub_client.c135 … if ((status = nx_azure_iot_unix_time_get(hub_client_ptr -> nx_azure_iot_ptr, &current_time))) in nx_azure_iot_hub_client_throttled_check()
151 NX_AZURE_IOT *nx_azure_iot_ptr, in nx_azure_iot_hub_client_initialize() argument
168 if ((nx_azure_iot_ptr == NX_NULL) || (hub_client_ptr == NX_NULL) || (host_name == NX_NULL) || in nx_azure_iot_hub_client_initialize()
177 hub_client_ptr -> nx_azure_iot_ptr = nx_azure_iot_ptr; in nx_azure_iot_hub_client_initialize()
205 (CHAR *)nx_azure_iot_ptr -> nx_azure_iot_name, in nx_azure_iot_hub_client_initialize()
207 nx_azure_iot_ptr -> nx_azure_iot_ip_ptr, in nx_azure_iot_hub_client_initialize()
208 nx_azure_iot_ptr -> nx_azure_iot_pool_ptr, in nx_azure_iot_hub_client_initialize()
209 &nx_azure_iot_ptr -> nx_azure_iot_cloud); in nx_azure_iot_hub_client_initialize()
227 tx_mutex_get(nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr, TX_WAIT_FOREVER); in nx_azure_iot_hub_client_initialize()
232 nx_azure_iot_resource_add(nx_azure_iot_ptr, resource_ptr); in nx_azure_iot_hub_client_initialize()
[all …]
Dnx_azure_iot.h211 struct NX_AZURE_IOT_STRUCT *nx_azure_iot_ptr,
250 UINT nx_azure_iot_create(NX_AZURE_IOT *nx_azure_iot_ptr, const UCHAR *name_ptr,
266 UINT nx_azure_iot_delete(NX_AZURE_IOT *nx_azure_iot_ptr);
277 UINT nx_azure_iot_unix_time_get(NX_AZURE_IOT *nx_azure_iot_ptr, ULONG *unix_time);
296 UINT nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr,
299 UINT nx_azure_iot_resource_add(NX_AZURE_IOT *nx_azure_iot_ptr, NX_AZURE_IOT_RESOURCE *resource);
300 UINT nx_azure_iot_resource_remove(NX_AZURE_IOT *nx_azure_iot_ptr, NX_AZURE_IOT_RESOURCE *resource);
304 UINT nx_azure_iot_publish_packet_get(NX_AZURE_IOT *nx_azure_iot_ptr, NXD_MQTT_CLIENT *client_ptr,
Dnx_azure_iot_provisioning_client.h80 NX_AZURE_IOT *nx_azure_iot_ptr; member
138 NX_AZURE_IOT *nx_azure_iot_ptr,
Dnx_azure_iot_hub_client.h122 NX_AZURE_IOT *nx_azure_iot_ptr; member
194 NX_AZURE_IOT *nx_azure_iot_ptr,
Dnx_azure_iot_adu_agent.c121 NX_AZURE_IOT *nx_azure_iot_ptr; in nx_azure_iot_adu_agent_start() local
165 nx_azure_iot_ptr = iothub_client_ptr -> nx_azure_iot_ptr; in nx_azure_iot_adu_agent_start()
197 adu_agent_ptr -> nx_azure_iot_adu_agent_mutex_ptr = nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr; in nx_azure_iot_adu_agent_start()
292 …adu_agent_ptr -> nx_azure_iot_adu_agent_downloader.dns_ptr = nx_azure_iot_ptr -> nx_azure_iot_dns_… in nx_azure_iot_adu_agent_start()
295nx_azure_iot_ptr -> nx_azure_iot_dns_ptr -> nx_dns_socket.nx_udp_socket_reserved_ptr = adu_agent_p… in nx_azure_iot_adu_agent_start()
296 nx_udp_socket_receive_notify(&(nx_azure_iot_ptr -> nx_azure_iot_dns_ptr -> nx_dns_socket), in nx_azure_iot_adu_agent_start()
300 status = nx_cloud_module_register(&(nx_azure_iot_ptr -> nx_azure_iot_cloud), in nx_azure_iot_adu_agent_start()
341 …nx_cloud_module_deregister(&(adu_agent_ptr -> nx_azure_iot_hub_client_ptr -> nx_azure_iot_ptr -> n… in nx_azure_iot_adu_agent_stop()
4237 … ip_ptr = adu_agent_ptr -> nx_azure_iot_hub_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_ip_ptr; in nx_azure_iot_adu_agent_http_connect()
/NetX-Duo-v6.2.1/test/regression/azure_iot/
Dconnection_unit_test.c116 iot_client.nx_azure_iot_ptr = NX_NULL; in demo_entry()
119 iot_client.nx_azure_iot_ptr = &iot; in demo_entry()
233 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
239 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
Ddirect_method_unit_test.c79 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
85 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
131 UINT __real_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr,
133 UINT __wrap_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr, in __wrap_nx_azure_iot_buffer_allocate() argument
144 …return __real_nx_azure_iot_buffer_allocate(nx_azure_iot_ptr, buffer_pptr, buffer_size, buffer_cont… in __wrap_nx_azure_iot_buffer_allocate()
306 tx_mutex_get(hub_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr, NX_WAIT_FOREVER); in generate_direct_method_response()
308 tx_mutex_put(hub_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr); in generate_direct_method_response()
Ddevice_cert_unit_test.c199 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
205 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
Dnx_azure_iot_pnp_client_command_unit_test.c46 #define TX_MUTEX_GET(c) ((c) -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr)
93 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
99 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
138 UINT __real_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr,
140 UINT __wrap_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr, in __wrap_nx_azure_iot_buffer_allocate() argument
151 …return __real_nx_azure_iot_buffer_allocate(nx_azure_iot_ptr, buffer_pptr, buffer_size, buffer_cont… in __wrap_nx_azure_iot_buffer_allocate()
Dnx_azure_iot_pnp_client_telemetry_unit_test.c86 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
92 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
114 UINT __real_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr,
116 UINT __wrap_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr, in __wrap_nx_azure_iot_buffer_allocate() argument
127 …return __real_nx_azure_iot_buffer_allocate(nx_azure_iot_ptr, buffer_pptr, buffer_size, buffer_cont… in __wrap_nx_azure_iot_buffer_allocate()
956 …assert_int_equal(hub_client.nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr -> tx_mutex_ownership_count… in test_nx_azure_iot_hub_client_telemetry_send_fail_mutex()
Ddevice_twin_unit_test.c44 #define TX_MUTEX_GET(c) ((c) -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr)
108 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
114 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
161 UINT __real_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr,
163 UINT __wrap_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr, in __wrap_nx_azure_iot_buffer_allocate() argument
174 …return __real_nx_azure_iot_buffer_allocate(nx_azure_iot_ptr, buffer_pptr, buffer_size, buffer_cont… in __wrap_nx_azure_iot_buffer_allocate()
Duser_agent_string_unit_test.c297 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
303 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
Diot_provisioning_client_unit_test.c182 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
188 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
337 UINT __real_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr,
339 UINT __wrap_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr, in __wrap_nx_azure_iot_buffer_allocate() argument
350 …return __real_nx_azure_iot_buffer_allocate(nx_azure_iot_ptr, buffer_pptr, buffer_size, buffer_cont… in __wrap_nx_azure_iot_buffer_allocate()
501 tx_mutex_get(prov_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr, NX_WAIT_FOREVER); in generate_response()
503 tx_mutex_put(prov_client_ptr -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr); in generate_response()
Dnx_azure_iot_adu_agent_unit_test.c47 #define TX_MUTEX_GET(c) ((c) -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr)
335 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
341 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
382 UINT __real_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr,
384 UINT __wrap_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr, in __wrap_nx_azure_iot_buffer_allocate() argument
395 …return __real_nx_azure_iot_buffer_allocate(nx_azure_iot_ptr, buffer_pptr, buffer_size, buffer_cont… in __wrap_nx_azure_iot_buffer_allocate()
Dc2d_unit_test.c54 #define TX_MUTEX_GET(c) ((c) -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr)
573 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
579 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
Dd2c_unit_test.c357 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
363 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
Dnx_azure_iot_pnp_client_properties_unit_test.c48 #define TX_MUTEX_GET(c) ((c) -> nx_azure_iot_ptr -> nx_azure_iot_mutex_ptr)
146 UINT __wrap_nx_azure_iot_security_module_enable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_enable() argument
152 UINT __wrap_nx_azure_iot_security_module_disable(NX_AZURE_IOT *nx_azure_iot_ptr) in __wrap_nx_azure_iot_security_module_disable() argument
193 UINT __real_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr,
195 UINT __wrap_nx_azure_iot_buffer_allocate(NX_AZURE_IOT *nx_azure_iot_ptr, UCHAR **buffer_pptr, in __wrap_nx_azure_iot_buffer_allocate() argument
206 …return __real_nx_azure_iot_buffer_allocate(nx_azure_iot_ptr, buffer_pptr, buffer_size, buffer_cont… in __wrap_nx_azure_iot_buffer_allocate()
Dnx_azure_iot_unit_test.c144 NX_AZURE_IOT *nx_azure_iot_ptr; in test_nx_azure_iot_publish_packet_get() local
Dapi_unit_test.c555 UINT __wrap_nx_azure_iot_publish_packet_get(NX_AZURE_IOT *nx_azure_iot_ptr, NXD_MQTT_CLIENT *client… in __wrap_nx_azure_iot_publish_packet_get() argument
/NetX-Duo-v6.2.1/addons/azure_iot/docs/
Dazure_rtos_iot.md9 UINT nx_azure_iot_create(NX_AZURE_IOT *nx_azure_iot_ptr, const UCHAR *name_ptr,
21 | nx_azure_iot_ptr [in] | A pointer to a NX_AZURE_IOT |
55 UINT nx_azure_iot_delete(NX_AZURE_IOT *nx_azure_iot_ptr);
65 | nx_azure_iot_ptr [in] | A pointer to a `NX_AZURE_IOT` |
Dazure_rtos_iot_provisioning_client.md10 NX_AZURE_IOT *nx_azure_iot_ptr,
28 | nx_azure_iot_ptr [in] | A pointer to a `NX_AZURE_IOT`.|
Dazure_rtos_iot_hub_client.md78 NX_AZURE_IOT *nx_azure_iot_ptr,
96 | nx_azure_iot_ptr [in] | A pointer to a `NX_AZURE_IOT`.|