/NetX-Duo-v6.4.1/test/regression/azure_iot/ |
D | nx_azure_iot_json_writer_unit_test.c | 168 return(NX_AZURE_IOT_SUCCESS); in generate_test_sample_json() 180 return(NX_AZURE_IOT_SUCCESS); in copy_nx_packet_json_to_buffer() 189 return(NX_AZURE_IOT_SUCCESS); in copy_nx_packet_json_to_buffer() 220 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_writer_invalid_argument_fail() 224 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_writer_invalid_argument_fail() 226 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_writer_invalid_argument_fail() 230 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_writer_invalid_argument_fail() 234 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_writer_invalid_argument_fail() 238 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_writer_invalid_argument_fail() 242 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_writer_invalid_argument_fail() [all …]
|
D | device_twin_unit_test.c | 111 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_enable() 117 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_disable() 125 return(NX_AZURE_IOT_SUCCESS); in __wrap__nxde_mqtt_client_receive_notify_set() 281 NX_AZURE_IOT_SUCCESS); in construct_device_twin_response() 289 NX_AZURE_IOT_SUCCESS); in construct_device_twin_response() 296 NX_AZURE_IOT_SUCCESS); in construct_device_twin_response() 301 NX_AZURE_IOT_SUCCESS); in construct_device_twin_response() 305 NX_AZURE_IOT_SUCCESS); in construct_device_twin_response() 312 NX_AZURE_IOT_SUCCESS); in construct_device_twin_response() 432 NX_AZURE_IOT_SUCCESS); in test_suit_begin() [all …]
|
D | nx_azure_iot_pnp_client_properties_unit_test.c | 149 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_enable() 155 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_disable() 163 return(NX_AZURE_IOT_SUCCESS); in __wrap__nxde_mqtt_client_receive_notify_set() 323 NX_AZURE_IOT_SUCCESS); in construct_command_message() 331 NX_AZURE_IOT_SUCCESS); in construct_command_message() 338 NX_AZURE_IOT_SUCCESS); in construct_command_message() 343 NX_AZURE_IOT_SUCCESS); in construct_command_message() 347 NX_AZURE_IOT_SUCCESS); in construct_command_message() 354 NX_AZURE_IOT_SUCCESS); in construct_command_message() 635 NX_AZURE_IOT_SUCCESS); in validate_json_reader() [all …]
|
D | iot_provisioning_client_unit_test.c | 185 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_enable() 191 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_disable() 318 return(NX_AZURE_IOT_SUCCESS); in __wrap__nxde_mqtt_client_receive_notify_set() 402 NX_AZURE_IOT_SUCCESS); in construct_provisioning_service_response() 420 NX_AZURE_IOT_SUCCESS); in construct_provisioning_service_response() 427 NX_AZURE_IOT_SUCCESS); in construct_provisioning_service_response() 432 NX_AZURE_IOT_SUCCESS); in construct_provisioning_service_response() 439 NX_AZURE_IOT_SUCCESS); in construct_provisioning_service_response() 443 NX_AZURE_IOT_SUCCESS); in construct_provisioning_service_response() 446 NX_AZURE_IOT_SUCCESS); in construct_provisioning_service_response() [all …]
|
D | nx_azure_iot_pnp_client_telemetry_unit_test.c | 89 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_enable() 95 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_disable() 208 return(NX_AZURE_IOT_SUCCESS); in __wrap__nxd_mqtt_client_sub_unsub() 244 NX_AZURE_IOT_SUCCESS); in generate_test_telemetry_ack() 251 NX_AZURE_IOT_SUCCESS); in generate_test_telemetry_ack() 257 NX_AZURE_IOT_SUCCESS); in generate_test_telemetry_ack() 264 NX_AZURE_IOT_SUCCESS); in generate_test_telemetry_ack() 330 NX_AZURE_IOT_SUCCESS); in test_suit_begin() 338 NX_AZURE_IOT_SUCCESS); in test_suit_begin() 345 NX_AZURE_IOT_SUCCESS); in test_suit_end() [all …]
|
D | nx_azure_iot_json_reader_unit_test.c | 94 return(NX_AZURE_IOT_SUCCESS); in generate_test_sample_json() 251 return(NX_AZURE_IOT_SUCCESS); in read_test_sample_json() 281 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_reader_invalid_argument_fail() 285 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_reader_invalid_argument_fail() 287 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_reader_invalid_argument_fail() 289 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_reader_invalid_argument_fail() 291 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_reader_invalid_argument_fail() 293 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_reader_invalid_argument_fail() 295 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_reader_invalid_argument_fail() 297 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_json_reader_invalid_argument_fail() [all …]
|
D | trusted_cert_unit_test.c | 73 NX_AZURE_IOT_SUCCESS); in demo_entry() 78 NX_AZURE_IOT_SUCCESS); in demo_entry() 81 NX_AZURE_IOT_SUCCESS); in demo_entry() 84 NX_AZURE_IOT_SUCCESS); in demo_entry() 88 NX_AZURE_IOT_SUCCESS); in demo_entry() 101 NX_AZURE_IOT_SUCCESS); in demo_entry() 105 NX_AZURE_IOT_SUCCESS); in demo_entry() 109 NX_AZURE_IOT_SUCCESS); in demo_entry() 114 NX_AZURE_IOT_SUCCESS); in demo_entry() 116 NX_AZURE_IOT_SUCCESS); in demo_entry() [all …]
|
D | connection_unit_test.c | 62 NX_AZURE_IOT_SUCCESS); in demo_entry() 66 NX_AZURE_IOT_SUCCESS); in demo_entry() 81 NX_AZURE_IOT_SUCCESS); in demo_entry() 86 NX_AZURE_IOT_SUCCESS); in demo_entry() 90 NX_AZURE_IOT_SUCCESS); in demo_entry() 95 NX_AZURE_IOT_SUCCESS); in demo_entry() 99 NX_AZURE_IOT_SUCCESS); in demo_entry() 104 NX_AZURE_IOT_SUCCESS); in demo_entry() 108 NX_AZURE_IOT_SUCCESS); in demo_entry() 113 NX_AZURE_IOT_SUCCESS); in demo_entry() [all …]
|
D | initialization_unit_test.c | 66 NX_AZURE_IOT_SUCCESS); in demo_entry() 72 NX_AZURE_IOT_SUCCESS); in demo_entry() 77 NX_AZURE_IOT_SUCCESS); in demo_entry() 82 NX_AZURE_IOT_SUCCESS); in demo_entry() 87 NX_AZURE_IOT_SUCCESS); in demo_entry() 92 NX_AZURE_IOT_SUCCESS); in demo_entry() 97 NX_AZURE_IOT_SUCCESS); in demo_entry() 102 NX_AZURE_IOT_SUCCESS); in demo_entry() 106 assert_int_not_equal(nx_azure_iot_delete(NX_NULL), NX_AZURE_IOT_SUCCESS); in demo_entry() 111 assert_int_not_equal(nx_azure_iot_delete(&iot), NX_AZURE_IOT_SUCCESS); in demo_entry() [all …]
|
D | d2c_unit_test.c | 75 NX_AZURE_IOT_SUCCESS); in demo_entry() 80 NX_AZURE_IOT_SUCCESS); in demo_entry() 84 NX_AZURE_IOT_SUCCESS); in demo_entry() 100 NX_AZURE_IOT_SUCCESS); in demo_entry() 105 NX_AZURE_IOT_SUCCESS); in demo_entry() 109 NX_AZURE_IOT_SUCCESS); in demo_entry() 116 NX_AZURE_IOT_SUCCESS); in demo_entry() 119 NX_AZURE_IOT_SUCCESS); in demo_entry() 120 …sert_int_equal(nx_azure_iot_hub_client_telemetry_message_delete(packet_ptr), NX_AZURE_IOT_SUCCESS); in demo_entry() 124 NX_AZURE_IOT_SUCCESS); in demo_entry() [all …]
|
D | device_cert_unit_test.c | 71 NX_AZURE_IOT_SUCCESS); in demo_entry() 76 NX_AZURE_IOT_SUCCESS); in demo_entry() 80 NX_AZURE_IOT_SUCCESS); in demo_entry() 93 NX_AZURE_IOT_SUCCESS); in demo_entry() 97 NX_AZURE_IOT_SUCCESS); in demo_entry() 101 NX_AZURE_IOT_SUCCESS); in demo_entry() 105 NX_AZURE_IOT_SUCCESS); in demo_entry() 110 NX_AZURE_IOT_SUCCESS); in demo_entry() 115 NX_AZURE_IOT_SUCCESS); in demo_entry() 119 NX_AZURE_IOT_SUCCESS); in demo_entry() [all …]
|
D | c2d_unit_test.c | 103 NX_AZURE_IOT_SUCCESS); in demo_entry() 107 NX_AZURE_IOT_SUCCESS); in demo_entry() 122 NX_AZURE_IOT_SUCCESS); in demo_entry() 125 NX_AZURE_IOT_SUCCESS); in demo_entry() 127 will_return(__wrap__nxde_mqtt_client_subscribe, NX_AZURE_IOT_SUCCESS); in demo_entry() 130 NX_AZURE_IOT_SUCCESS); in demo_entry() 142 will_return(__wrap__nxde_mqtt_client_unsubscribe, NX_AZURE_IOT_SUCCESS); in demo_entry() 144 NX_AZURE_IOT_SUCCESS); in demo_entry() 147 NX_AZURE_IOT_SUCCESS); in demo_entry() 150 NX_AZURE_IOT_SUCCESS); in demo_entry() [all …]
|
D | nx_azure_iot_pnp_client_command_unit_test.c | 96 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_enable() 102 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_disable() 110 return(NX_AZURE_IOT_SUCCESS); in __wrap__nxde_mqtt_client_receive_notify_set() 269 NX_AZURE_IOT_SUCCESS); in construct_command_message() 277 NX_AZURE_IOT_SUCCESS); in construct_command_message() 284 NX_AZURE_IOT_SUCCESS); in construct_command_message() 289 NX_AZURE_IOT_SUCCESS); in construct_command_message() 293 NX_AZURE_IOT_SUCCESS); in construct_command_message() 300 NX_AZURE_IOT_SUCCESS); in construct_command_message() 389 NX_AZURE_IOT_SUCCESS); in test_suit_begin() [all …]
|
D | direct_method_unit_test.c | 82 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_enable() 88 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_disable() 96 return(NX_AZURE_IOT_SUCCESS); in __wrap__nxde_mqtt_client_receive_notify_set() 258 NX_AZURE_IOT_SUCCESS); in construct_direct_method_response() 266 NX_AZURE_IOT_SUCCESS); in construct_direct_method_response() 273 NX_AZURE_IOT_SUCCESS); in construct_direct_method_response() 278 NX_AZURE_IOT_SUCCESS); in construct_direct_method_response() 282 NX_AZURE_IOT_SUCCESS); in construct_direct_method_response() 289 NX_AZURE_IOT_SUCCESS); in construct_direct_method_response() 330 NX_AZURE_IOT_SUCCESS); in test_suit_begin() [all …]
|
D | nx_azure_iot_adu_agent_unit_test.c | 338 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_enable() 344 return(NX_AZURE_IOT_SUCCESS); in __wrap_nx_azure_iot_security_module_disable() 352 return(NX_AZURE_IOT_SUCCESS); in __wrap__nxde_mqtt_client_receive_notify_set() 424 return(NX_AZURE_IOT_SUCCESS); in __wrap__nxd_mqtt_client_publish_packet_send() 489 …(nx_packet_allocate(iot.nx_azure_iot_pool_ptr, &data_packet, 0, NX_NO_WAIT), NX_AZURE_IOT_SUCCESS); in __wrap__nxe_web_http_client_response_body_get() 494 NX_AZURE_IOT_SUCCESS); in __wrap__nxe_web_http_client_response_body_get() 500 NX_AZURE_IOT_SUCCESS); in __wrap__nxe_web_http_client_response_body_get() 506 NX_AZURE_IOT_SUCCESS); in __wrap__nxe_web_http_client_response_body_get() 557 NX_AZURE_IOT_SUCCESS); in construct_command_message() 565 NX_AZURE_IOT_SUCCESS); in construct_command_message() [all …]
|
D | user_agent_string_unit_test.c | 75 NX_AZURE_IOT_SUCCESS); in demo_entry() 80 NX_AZURE_IOT_SUCCESS); in demo_entry() 84 NX_AZURE_IOT_SUCCESS); in demo_entry() 100 NX_AZURE_IOT_SUCCESS); in demo_entry() 107 NX_AZURE_IOT_SUCCESS); in demo_entry() 110 assert_int_equal(interface_type_check(NX_INTERFACE_TYPE_UNKNOWN), NX_AZURE_IOT_SUCCESS); in demo_entry() 119 NX_AZURE_IOT_SUCCESS); in demo_entry() 122 assert_int_equal(interface_type_check(NX_INTERFACE_TYPE_OTHER), NX_AZURE_IOT_SUCCESS); in demo_entry() 131 NX_AZURE_IOT_SUCCESS); in demo_entry() 134 assert_int_equal(interface_type_check(NX_INTERFACE_TYPE_ETHERNET), NX_AZURE_IOT_SUCCESS); in demo_entry() [all …]
|
D | c2d_property_unit_test.c | 87 NX_AZURE_IOT_SUCCESS); in demo_entry() 91 NX_AZURE_IOT_SUCCESS); in demo_entry() 106 NX_AZURE_IOT_SUCCESS); in demo_entry() 116 NX_AZURE_IOT_SUCCESS); in demo_entry() 121 assert_int_equal(nx_azure_iot_delete(&iot), NX_AZURE_IOT_SUCCESS); in demo_entry() 150 NX_AZURE_IOT_SUCCESS); in construct_c2d_packet() 168 NX_AZURE_IOT_SUCCESS); in construct_c2d_packet() 175 NX_AZURE_IOT_SUCCESS); in construct_c2d_packet() 180 NX_AZURE_IOT_SUCCESS); in construct_c2d_packet() 187 NX_AZURE_IOT_SUCCESS); in construct_c2d_packet() [all …]
|
D | connection_sas_expiry_ram_test.c | 352 NX_AZURE_IOT_SUCCESS); in demo_entry() 356 NX_AZURE_IOT_SUCCESS); in demo_entry() 371 NX_AZURE_IOT_SUCCESS); in demo_entry() 378 NX_AZURE_IOT_SUCCESS); in demo_entry() 390 assert_int_equal(connection_status, NX_AZURE_IOT_SUCCESS); in demo_entry() 405 NX_AZURE_IOT_SUCCESS); in demo_entry() 408 NX_AZURE_IOT_SUCCESS); in demo_entry() 414 assert_int_equal(nx_azure_iot_delete(&iot), NX_AZURE_IOT_SUCCESS); in demo_entry()
|
D | connection_non_block_ram_test.c | 350 NX_AZURE_IOT_SUCCESS); in demo_entry() 354 NX_AZURE_IOT_SUCCESS); in demo_entry() 369 NX_AZURE_IOT_SUCCESS); in demo_entry() 385 assert_int_equal(connection_status, NX_AZURE_IOT_SUCCESS); in demo_entry() 391 NX_AZURE_IOT_SUCCESS); in demo_entry() 394 NX_AZURE_IOT_SUCCESS); in demo_entry() 400 assert_int_equal(nx_azure_iot_delete(&iot), NX_AZURE_IOT_SUCCESS); in demo_entry()
|
D | nx_azure_iot_unit_test.c | 99 assert_int_equal(status, NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_url_encoded_hmac_sha256_calculate_success() 169 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_publish_packet_get() 178 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_publish_packet_get() 189 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_publish_packet_get() 199 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_publish_packet_get() 216 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_publish_packet_get() 226 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_publish_packet_get() 240 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_publish_packet_get() 251 NX_AZURE_IOT_SUCCESS); in test_nx_azure_iot_publish_packet_get()
|
D | api_unit_test.c | 79 NX_AZURE_IOT_SUCCESS); in demo_entry() 83 NX_AZURE_IOT_SUCCESS); in demo_entry() 126 NX_AZURE_IOT_SUCCESS); in api_no_model_id_test() 273 NX_AZURE_IOT_SUCCESS); in api_no_model_id_test() 275 NX_AZURE_IOT_SUCCESS); in api_no_model_id_test() 293 NX_AZURE_IOT_SUCCESS); in api_no_model_id_test() 345 NX_AZURE_IOT_SUCCESS); in api_model_id_test() 350 NX_AZURE_IOT_SUCCESS); in api_model_id_test() 497 NX_AZURE_IOT_SUCCESS); in api_model_id_test() 499 NX_AZURE_IOT_SUCCESS); in api_model_id_test() [all …]
|
/NetX-Duo-v6.4.1/addons/azure_iot/ |
D | nx_azure_iot_json_reader.c | 33 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_translate_error_code() 54 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_with_buffer_init() 65 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_with_buffer_init() 88 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_init() 115 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_init() 130 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_deinit() 192 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_token_bool_get() 208 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_token_uint32_get() 224 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_token_int32_get() 240 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_reader_token_double_get() [all …]
|
D | nx_azure_iot_json_writer.c | 139 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_init() 164 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_with_buffer_init() 180 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_deinit() 212 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_append_string() 233 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_append_json_text() 254 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_append_property_name() 272 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_append_bool() 290 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_append_int32() 309 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_append_double() 327 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_json_writer_append_null() [all …]
|
D | nx_azure_iot_hub_client.c | 131 UINT status = NX_AZURE_IOT_SUCCESS; in nx_azure_iot_hub_client_throttled_check() 237 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_initialize() 267 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_connection_status_callback_set() 594 if (status != NX_AZURE_IOT_SUCCESS) in nx_azure_iot_hub_client_connect() 606 if (status == NX_AZURE_IOT_SUCCESS) in nx_azure_iot_hub_client_connect() 724 ¤t_time) == NX_AZURE_IOT_SUCCESS) && in nx_azure_iot_hub_client_mqtt_disconnect_notify() 790 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_disconnect() 816 UINT status = NX_AZURE_IOT_SUCCESS; in nx_azure_iot_hub_client_messages_enable() 818 if (status == NX_AZURE_IOT_SUCCESS && in nx_azure_iot_hub_client_messages_enable() 824 if (status == NX_AZURE_IOT_SUCCESS && in nx_azure_iot_hub_client_messages_enable() [all …]
|
D | nx_azure_iot_hub_client_properties.c | 44 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_reported_properties_component_begin() 67 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_reported_properties_component_end() 102 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_reported_properties_status_begin() 125 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_reported_properties_status_end() 158 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_properties_version_get() 228 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_properties_component_property_next_get_internal() 232 return(NX_AZURE_IOT_SUCCESS); in nx_azure_iot_hub_client_properties_component_property_next_get_internal() 338 … &component_index, NX_TRUE) == NX_AZURE_IOT_SUCCESS) in nx_azure_iot_hub_client_properties_component_process()
|