Граф коммитов

4582 Коммитов

Автор SHA1 Сообщение Дата
Eric Wolz 89db361d24
[E2E] recv_message_test should use wait_for_client_authenticated() (#2463)
* recv_message_test should use wait_for_client_authenticated()
2023-03-17 14:59:07 -07:00
Eric Wolz 3113236d61
Ericwol/hub gwv2 (#2462)
* Disable the IoT Hub Gateway V2 AMQP batch size e2e test

* increase twin update sleep time
2023-03-13 14:28:42 -07:00
Eric Wolz 74c199310d remove cleanup 2023-03-08 11:25:28 -08:00
Dane Walton 2c7e1972b0
Remove Dane and Jose from codeowners (#2454) 2023-03-03 12:15:29 -05:00
Ewerton Scaboro da Silva b576b03d0d
Submodule update (#2447) 2023-02-14 10:55:52 -08:00
Jose Sanchez 8f22990f1a
Remove public-preview. (#2444)
* Remove public-preview.

* Remove use-prov-client
2023-02-07 14:48:56 -08:00
Jose Sanchez 515306eb20
Update submodules (#2443) 2023-02-07 11:04:01 -08:00
Valerie Avva Lim 6eff11dbda
remove build cleanup script on windows dynamic (#2442) 2023-02-06 16:43:38 -08:00
Valerie Avva Lim 23fab17e26
have component governance run before test cleanup (#2440) 2023-02-02 13:19:57 -08:00
Valerie Avva Lim f983a80a28
Propagate file upload timeout (#2439)
* 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
2023-02-02 10:43:31 -08:00
Ewerton Scaboro da Silva 021212f84f
Add doxygen documentation for CONNECTION STATUS CALLBACK STATUS an REASON (#2434)
* 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
2023-01-24 22:45:28 +00:00
Ewerton Scaboro da Silva d32eedc54e
Add documentation for Connection Status Callback status and reason codes (#2433)
* Add documentation for Connection Status Callback status and reason codes

* Address CR comments
2023-01-23 18:55:11 +00:00
Jose Sanchez f0cbf225dd
Add comment to explain reverting of version (#2432) 2023-01-20 01:01:56 +00:00
Ewerton Scaboro da Silva 56aa8a8463
Remove support for tizenrt board (#2431) 2023-01-18 19:42:49 +00:00
Dane Walton 707f15a9af
use 20.04 (#2429)
Co-authored-by: Jose Sanchez <108306325+JoseSanchez7@users.noreply.github.com>
2023-01-17 23:32:57 -08:00
Ewerton Scaboro da Silva e152cc763e
Remove workflows, scripts and references to MBED OS in documentation (#2420)
* Remove workflows, scripts and references to MBED OS in documentation

* Address CR comments

* Remove iothub_client/build/iothub_client/mbed

* Address CR comments

* Fix r-pi build for changes in non-text files
2023-01-18 05:01:03 +00:00
Jose Sanchez 2c9f037f68
Remove python installation (#2428)
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.
2023-01-17 16:21:53 -08:00
Jose Sanchez dbeb521e12
Bump version from 1.10.0 to 1.11.0. Add LTS Table entry for LTS_01_2023_Ref01 (#2423) 2023-01-13 18:40:22 -08:00
Ewerton Scaboro da Silva 9fa25c9f99
Add a Deprecation Notes section to readme.md, add MBED OS deprecation note (#2419)
* Add a Deprecation Notes section to readme.md, add MBED OS deprecation note

* Address CR comments
2023-01-12 06:40:06 +00:00
John Spaith 1726e7a928
Remove branch rename notice (#2417) 2023-01-05 15:20:49 -08:00
Dane Walton ce6bf3b0ae
add dep warning to cocoapods (#2409) 2022-12-01 19:23:56 -05:00
Jonathan Knam c101e787e1
Support openssl engine (#2400)
* 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>
2022-11-19 01:41:30 +00:00
Dane Walton 285bfc9caf
update to correct handle (#2403) 2022-11-14 16:05:19 -08:00
Jose Sanchez cdefa6f826
Update Raspberry Pi dockerfile toolchain link (#2397)
* 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).
2022-11-09 14:26:42 -08:00
Ewerton Scaboro da Silva 55763a6b7e
Add an option to define a custom target network interface for e2e tests (#2394)
* 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
2022-11-03 05:50:54 +00:00
Eric Wolz 19b7457970
Allow empty file blob uploads (#2393)
* Allow empty file blob uploads

* PR feedback

* pr feed back
2022-10-21 18:39:37 -07:00
Eric Wolz 460282257d
use tick counter and not clock for connection retry (#2384)
* use tick counter and not clock for connection retry

* Update retry ctrl unit tests

* added seconds_to_ticks

* update SECONDS_TO_TICKS

* added delay after device created

* added tickcounter_create mock

* update calloc

* dd global_valgrind_suppression
2022-10-18 18:10:40 -07:00
Eric Wolz af590ce9e0
Disable SFC tests (#2389) 2022-10-14 18:47:24 -07:00
Eric Wolz 6697694694
Added additional logs when creating a device (#2383) 2022-10-07 17:28:15 -07:00
Eric Wolz 807cb32701
Remove build cleanup steps / added E2E tracing (#2382)
* remove build cleanup scripts

* added E2E traces
2022-10-07 00:15:38 +00:00
Eric Wolz e6a8a2fbf2
Update SDK dead links (#2381) 2022-10-04 22:13:13 +00:00
Valerie Avva Lim 4490e7bbe7
Update devbox setup docs for x64 builds with newer Visual Studio versions (#2380)
* fix cmake command on x64 builds for newer Visual Studio

* update instructions for VS 2022 as well

* pr comment
2022-10-03 15:21:38 -07:00
Jose Sanchez a241a46e0c
Jose/add arm cc (#2366)
* 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>
2022-09-24 22:06:15 -07:00
Cristian Pop d085cd758e
HTTP transport (cURL) support for OpenSSL Engines (#2372)
* Adding cURL OpenSSL ENGINE tests.
Adding docker image for the opensslengine test container.

* Updating submodules.
2022-09-22 00:56:51 +00:00
Eric Wolz 01804e4707
Added C2D traces for longhaul tests (#2377)
* add IOTHUB_CLIENT_CONNECTION_NO_PING_RESPONSE to stats

* add network ping requests

* increase DSP registration timeout

* remove bing from ping test

* suppress network error

* Added wait time to C2D

* Added C2D traces
2022-09-21 23:17:24 +00:00
Eric Wolz 06741e37ff
update Component Governance Root dependencies for pywin32 (#2376) 2022-09-21 13:46:13 -07:00
Wellington Duraes [MSFT] 8ff280461d
Update samples and SDK guidance (#2373)
* Update samples and SDK guidance

* Update doc/run_c_sdk_on_constrained_device.md

Co-authored-by: Eric Wolz <ericwol@microsoft.com>

* Update readme.md

Co-authored-by: Dane Walton <dane.walton@microsoft.com>

* Update readme.md

Co-authored-by: Dane Walton <dane.walton@microsoft.com>

* Update doc/run_c_sdk_on_constrained_device.md

Co-authored-by: Valerie Avva Lim <54871851+vaavva@users.noreply.github.com>

* Update readme.md

Co-authored-by: Valerie Avva Lim <54871851+vaavva@users.noreply.github.com>

Co-authored-by: Eric Wolz <ericwol@microsoft.com>
Co-authored-by: Dane Walton <dane.walton@microsoft.com>
Co-authored-by: Valerie Avva Lim <54871851+vaavva@users.noreply.github.com>
2022-09-20 15:45:57 -07:00
Valerie Avva Lim ff9f0ee0c4
Add LTS Table entry for LTS_07_2022_Ref02 (#2375) 2022-09-19 18:50:22 -07:00
Eric Wolz 68612005c8
add logging to C2D E2E tests (#2368) 2022-09-14 17:32:41 -07:00
Raul Leclair 6e915e8c7e
Replacing failure log with assert for failure on Map_AddOrUpdate (#2365) 2022-09-08 16:58:52 -07:00
Jose Sanchez 487d1cb260
Update submodules (#2364) 2022-09-07 09:11:53 -07:00
Jose Sanchez 1b1db47841
Fix unused variable warning issues (#2357)
* Fix unused variable warning issues

* Update CMakeLists.txt

Co-authored-by: Dane Walton <dane.walton@microsoft.com>

* Reorganize code

* Remove typo

* remove flags

* Add compile options

* Update jenkins/linux_c_option_test.sh

Co-authored-by: Dane Walton <dane.walton@microsoft.com>

* Add escape character to compile option

* Spelling fix

* Update jenkins/linux_c_option_test.sh compile options

Co-authored-by: Dane Walton <dane.walton@microsoft.com>

Co-authored-by: Dane Walton <dane.walton@microsoft.com>
2022-09-02 11:40:27 -07:00
Ewerton Scaboro da Silva 071ce07ca1
Add E2E test to verify AMQP telemetry batching against IoT Hub GWv2 (#2359)
* 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
2022-08-31 21:04:55 -07:00
Dane Walton c9a36abdbc
Bump submodule | Compile on Ubuntu 22.04 (#2346) 2022-08-31 21:05:20 -05:00
Eric Wolz dc6b1bc84a
Enable MIPS in devops (#2348)
* added bzip2

* Update Dockerfile

* add Cross Compile (MIPS32) tot pipeline

* update openwrt mips toolchain

* xz-utils
2022-08-17 15:24:41 -07:00
Valerie Avva Lim deaaaca04e
Add Raul to Codeowners (#2350)
* add Raul to Codeowners

* re-alphabetize codeowners
2022-08-10 13:54:31 -07:00
Valerie Avva Lim 5458c086ab
Bump version from 1.9.0 to 1.10.0. Add LTS Table entry for LTS_07_2022_Ref01 (#2342) 2022-07-19 10:30:47 -07:00
Dane Walton 2e74a756ee
add jose to codeowners (#2337) 2022-07-12 13:18:54 -07:00
John Spaith 4814abaedf
Merge PnP feature into main (#2334)
Implements proper SDK for http://aka.ms/iotpnp.
2022-07-01 08:25:00 -07:00
Valerie Avva Lim d94368df71
Add mqtt reconnect counter (#2319)
* 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>
2022-06-24 14:31:47 -07:00