* retain blob upload timeout if set
* fix no timeout set case
* fix unit tests
* PR comments, use size_t to align with documentation, unit test fixes
* add const back in
* add unit test for timeout
* add test for timeout in u2b ut
* uncomment assert
* Add doxygen documentation for CONNECTION STATUS CALLBACK STATUS an REASON
Also include documentation for missing connection status reasons IOTHUB_CLIENT_CONNECTION_NO_PING_RESPONSE and IOTHUB_CLIENT_CONNECTION_QUOTA_EXCEEDED.
* Address CR comments
Installing python causes issues when this script is being run on the newest version of Ubuntu, which ships with python 3. Removing the explicit python installation in the script resolves the issue.
* Adding support for OpenSSL engines when using curl for file uploads to blob storage
* Only allow setting upload options OPENSSL_PRIVATE_KEY_TYPE and OPENSSL_ENGINE for credential type IOTHUB_CREDENTIAL_TYPE_X509
* Add unit tests for setting upload options OPENSSL_PRIVATE_KEY and OPENSSL_ENGINE
* Fix unit test by setting required credential type x509
* Fixing UTs.
Co-authored-by: Eric Wolz <ericwol@microsoft.com>
Co-authored-by: CIPop <Cristian.Pop@microsoft.com>
* Update Raspberry Pi dockerfile toolchain link
Update old invalid toolchain link to newer, working link.
* Delete SDK_cross_compile_example.md
The steps in this doc are no longer valid. Cross compilation for raspberry pi can be done via our sample dockerbuilds.
* Update docker file link for toolchain
The old link might break if latest gets updated. So linking straight to the binaries.
* Update Dockerfile
Change link to most recent, stable version of toolchain binaries.
* Update readme.md
Remove dead links to deleted file (Cross compilation example).
* Add an option to define a custom target network interface for e2e tests
* Fix logging in new IoTHubTest_GetTargetNetworkInterface
* Simplify IoTHubTest_GetTargetNetworkInterface
* Address code review comments
* add bzip2
* added bzip2
* Update Dockerfile
* add Cross Compile (MIPS32) tot pipeline
* test fail case
* update openwrt mips toolchain
* xz-utils
* update env
* remove temp
* newline
* Add dockerfile for cross compiling C SDK with ARM
* Add file to test cross compiling app with ARM
* Update yaml file for ARM compilation
* Update yaml file for cross compilation
* Fix spelling error
* Add sudo command to build/.vsts-ci.yml
Co-authored-by: Eric Wolz <ericwol@microsoft.com>
* Add sudo to apt-get for mips compilation
* Add toolchain prefix
* Update Dockerfile
* Add command for cc of docker adjunct file
* modifications to jose's PR (#2367)
* add updates
* update command
* one more
* reset cmake
* updates
* updates
* Change user to root
So as not to get permission errors when creating files in the cmake install command.
* Update .vsts-ci.yml
Change into correct directory
* Update .vsts-ci.yml
Add cross compiling of myapp for MIPS
* Update ARM/MIPS dockerfile and adjunct
* Update Docker SDK Cross Compile documentation
Include updates for new ARM sample.
* Update broken link
Update broken link to gcc toolchain binaries to the proper, working link
Co-authored-by: Eric Wolz <ericwol@microsoft.com>
Co-authored-by: Dane Walton <dane.walton@microsoft.com>
* Add IoTHubAccount_GetIoTHubVersion to test framework
* Add E2E test to verify AMQP telemetry batching against IoT Hub GWv2
This change introduces the use of iothub_device_client_ll and iothub_module_client_ll
into the iothubclient_common_e2e.c, to ensure the test with
batch telemetry sends all messages at once (without competing with the convenience layer DoWork thread).
The test also sends 5 messages of 64Kb each.
Finally , this test only runs against IoT Hub GWv2, since GWv1 has a bug in the AMQP
max message size that the org decided not be fix (given GWv2 will replace all GWv1 soon).
* Simplify functions in e2e common code
* Try fix popen call for Windows/Linux/Apple
* Try fix popen call for Windows/Linux/Apple
* Add logging to nslookup function
* Add logging to nslookup function
* Address code review comments
* Address code review comments
* change from retry counters to expiring messages based on time - retry times keep existing behavior for connected retries of 1 retry after 1 minute, expiring the packet at 2 minutes.
* Added mqtt disconnect trace logs (#2322)
* Added mqtt disconnect trace logs
* Update iothub_client/src/iothubtransport_mqtt_common.c
Co-authored-by: Dane Walton <dane.walton@microsoft.com>
Co-authored-by: Dane Walton <dane.walton@microsoft.com>
* fix 13/15 failing unit tests. Last two need more rewriting still. Address PR comment
* added message ID to timeout message
* fix last two unit tests
* expire messages after 2 minutes, even if we were waiting for ack for less than a minute
* move log error with msg_detail_entry details before call to free the object
* add new unit test to cover scenario of multiple disconnects where we retry the message each time
* update unit on #defines and make comment more clear
Co-authored-by: Eric Wolz <ericwol@microsoft.com>
Co-authored-by: Dane Walton <dane.walton@microsoft.com>