Skip to content

Releases: Azure/azure-iot-sdk-c

2019-10-07

10 Oct 05:30
Compare
Choose a tag to compare

Package versions:

Apt/Debian:
azure-iot-sdk-c - 0.2.0.0-23xenial
azure-iot-sdk-c - 0.2.0.0-16bionic
azure-iot-sdk-c - 0.2.0-23trusty

VcPkg:
Port: azure-iot-sdk-c
Version: 2019-10-07.1

C Device SDK

  • Added Azure Security Center Client
  • Added missing srand() to modules that use rand()
  • Added compiler support to C18
  • Changed the fail reason from DEVICE_DISABLED to BAD_CREDENTIAL if the key or device-id is not correct in connection status callback
  • Fixed certGen.sh for devices
  • Forced single initialization of HTTPAPIEX for upload to blob
  • Fixed product info bug in AMQP transport (for Device Twin)
  • Improved MQTT transport by always deleting xio in cleanup functions
  • Exposed option for setting connection retry interval rate in AMQP and MQTT transports
  • Updated code to use macro-utils new MU_DEFINE_ENUM_STRINGS
  • Added cmake install directives for libmsr_riot.a
  • Fixed check for number of failed reconnection attempts in MQTT transport
  • Removed hardcoded key name usage from iothub_messaging_ll.c (allows to use non "iothubowner" IoT Hub strings with service client)
  • Added connection status callback invokation on MQTT ping fail
  • Fixed compilation warnings (MSVC)
  • Added new build verification jobs (Bearssl)
  • Added/improved tests
  • Added improvements to documentation in general
  • Changed reported properties and send event callback functions to store context per send, not per iothub_client handle

C Shared Utility

  • Added async DNS resolution using c-ares
  • Fixed critical socketio_win32 bug where socketio_send() would drop packets if send() returns SOCKET_ERROR and WSAEWOULDBLOCK
  • Fixed critical socketio_berkeley bug where socketio_send() would drop packets if send() returns -1 and errno=EAGAIN
  • Added better logging of the lost etw messages
  • Added constbuffer_array_batcher
  • Fixed check for lock in openssl
  • Added mbedtls support for httpapi curl
  • Added C18 compiler support.
  • Updated mbedtls to not send multiple complete messages for each send
  • Added BearSSL TLS adapter layer
  • Fixed mbed tls not to close the socket until the TLS layer notifies the peer of closure
  • Added constbufferarray_create_with_move_memory tests and code

uAMQP

  • Updated open complete to include a callback for error
  • Fixed open complete to not execute callback
  • Fixed error message on failed send
  • Fixed bug where Pending close was not getting turned off
  • Changed function to close the xio from dowork if needed

2019-07-01

29 Jul 21:18
Compare
Choose a tag to compare

C Device SDK

  • Exposed IoT Hub Client option OPTION_DO_WORK_FREQUENCY_IN_MS
  • Capped the maximum load of make build to 80% of number of CORES (Linux)
  • Fixed Base32/64 related calls in Unit and E2E tests (by Arthur Ma)
  • Fixed type of compileOption_C, compileOption_CXX, linkerOption in cmake files
  • Fixed AMQP transport to apply Product Info if modified after client creation
  • Internal build process improvements
  • Added tool for Uart interface control, applied to raspberry pi gated tests
  • Improved stability of Longhaul tests for Linux and Windows

2019-05-16

24 May 18:34
Compare
Choose a tag to compare

C Device SDK

  • Fix sas handling logic error (GitHub PR #972)
  • Fixed vcpkg for building using as toolchain (adds support for Linux builds using vcpkg)
  • Add the ability to use mbedTLS as tls layer for all platforms (GitHub PR #862)
  • Fixed potential memory leak bug in iothub_client_core_ll.c
  • Added internal support for SQM info in Windows platform (*_GetSupportedPlatformInfo)
  • Updated code to consume azure-c-shared-utility's renamed Azure_Base32
  • Added gate build to verify building with installed dependencies (re vcpkg deployment)
  • Implemented Provisioning Client custom payload (GitHub PR #984)
  • Added fix for GitHub issue #775 (twin/amqp not resubscribed after reconnection)
  • Added Device Twin service fault injection tests over AMQP
  • Reorganized code and added two separate submodules to the project (umock-c and azure-macro-utils-c)

C Shared Utility

  • Renamed base32/64 modules to azure_base32/64
  • Added support for gathering Windows SQM;
  • Added general fixes for building using installed dependencies;
  • Reorganized code and added two separate submodules to the project (umock-c and azure-macro-utils-c)

uAMQP

  • Added general fixes for building using installed dependencies;
  • Reorganized code and added two separate submodules to the project (umock-c and azure-macro-utils-c)

uMQTT

  • Added general fixes for building using installed dependencies;
  • Reorganized code and added two separate submodules to the project (umock-c and azure-macro-utils-c)

2019-04-11-public-preview

22 Apr 17:02
a8fda7d
Compare
Choose a tag to compare
Pre-release

C Device SDK

  • Refactored iothubtransport_amqp_device module to remove name conflicts (GH #925)
  • Added macro-utils repo as submodule (internal use only)
  • Merged name changes from macro-utils (internal use only)

C Shared Utility

  • Added SQM ID to platform_get_platform_info string
  • Added macro-utils repo as submodule (internal use only)
  • Merged name changes from macro-utils (internal use only)

uMQTT

  • Added macro-utils repo as submodule (internal use only)
  • Merged name changes from macro-utils (internal use only)

uAMQP

  • Added macro-utils repo as submodule (internal use only)
  • Merged name changes from macro-utils (internal use only)

2019-04-11

22 Apr 17:00
Compare
Choose a tag to compare

C Device SDK

  • Refactored iothubtransport_amqp_device module to remove name conflicts (GH #925)
  • Added macro-utils repo as submodule (internal use only)
  • Merged name changes from macro-utils (internal use only)

C Shared Utility

  • Added SQM ID to platform_get_platform_info string
  • Added macro-utils repo as submodule (internal use only)
  • Merged name changes from macro-utils (internal use only)

uMQTT

  • Added macro-utils repo as submodule (internal use only)
  • Merged name changes from macro-utils (internal use only)

uAMQP

  • Added macro-utils repo as submodule (internal use only)
  • Merged name changes from macro-utils (internal use only)

2019-03-18-public-preview

22 Mar 23:01
68d9964
Compare
Choose a tag to compare
Pre-release

C Device SDK (public preview)

  • Added support on Azure IoT C SDK for public-preview of Distributed Tracing.
  • Added support on Azure IoT C SDK for public-preview of new telemetry APIs.

2019-03-18

22 Mar 23:20
Compare
Choose a tag to compare

C Device SDK

Update run_c_sdk_on_constrained_device.md (#890)
Remove 0xb character from comments (#880)
Rename buffer to azure buffer and update repos (#894)
Misc. Azure Dev Ops and Github template improvements
Enabled Edge E2E tests in the gate
Removed invalid character from comment on tpm file (#909)

C Shared Utility

Renamed Base64 utilities to avoid name conflicts

uMQTT

Moving the NULLing out of the transport into the close function

2019-02-11

12 Mar 07:08
Compare
Choose a tag to compare

C Device SDK

Checking that the sas token is not set to an invalid value (#857)
Adding provisioning documents (#854)
add sas support for service_client (#800)
fix mqtt connection log message (#853)
typo fix in dps samples (#836)
MQTT set connection callback for Retry Expired
Document correction for interval time of retry policies
Update http in preparation for code changes (#843)
Ensure mqtt does not refresh sas token when using x509 (#846)
add changes for retry expired callback
Setting symm key to be excluded in custom HSM (#844)
Update AMQP transport twin msgr to use CONSTBUFFER_IncRef/CONSTBUFFER_DecRef

2019-01-31

01 Feb 08:09
Compare
Choose a tag to compare

C Device SDK

Add GetTwinAsync function to C SDK
Update flags in provisioning custom hsm and http (#773)
Edge certs from env (#759)
Fixing issue #785 by making a local variable a part of the handle (#787)
ftell return type fix (#788)
Removed unused constant (#745)
[Doc.] - Added notes on using low level samples (#653)
Adding a Resource document to outline the current release (#802)
Remove redundant values (#778)
Rollback the change of the include path for iothub_auth_client.h (#805)
Update submodules and remove %zu (#808)
Fixing CONNACK failure on 32bit device (#816)
GetTwinAsync API fixes (#823)
Removing windows ce build for the repo (#824)
Setoption sleep timeout (#813)
Moving Sas lifetime into iothub_client_core from the transports. (#825)
Azure DevOps Testing Results (#830)
Fix amqp DPS reinitialize sas token (#828)
patch yaml to run on succeededorfailed (#833)
Remove redundant '..' in docs (#832)
Update readme for privacy disclaimer (#827)
Fix amqp sasl plain to route symm key messages (#834)

Shared Utility

Remove backticks from .c and .h files
Add ConstBuffer_CreateWithCustomFree
Add devdoc for constbuffer_array_append
Add constbuffer_array_append implementation
Add overflow check to constbuffer_array_append
Change constbuffer_array_append to more generalized constbuffer_array
Fix unittest memory leaks and compiler errors for older C compilers
remove \r\n (#250)
Make gballoc_XXX mockable
Add UUID_FORMAT_VALUES_OR_NULL to print UUID_T's that may be NULL
Replace %zu with %lu for mbed builds (#254)
Fix UUID_FORMAT_VALUES_OR_NULL to wrap uuid in parentheses
Fixed location of stnp.h for ESP32 Support (#184)
remove extraneous #else (#255)
Move memory_data to C shared utility
add sas support without changing APIs (#252)

uMQTT

changing mqtt %zu to %ld for mbed (#33)

2019-01-22-public-preview

22 Jan 23:17
Compare
Choose a tag to compare
Pre-release

C Device SDK (public preview)

  • Added support on Azure IoT C SDK for public-preview of Device Streaming.

vcpkg:
The Azure IoT C SDK vcpkg can be accessed through https://github.com/Microsoft/vcpkg.
Please follow the initial instructions for deploying the azure-iot-sdk-c vcpkg. To access the public-preview features please use the following syntax instead:

vcpkg install azure-iot-sdk-c[public-preview] 

and, if you wish to export the nuget packages,

vcpkg export azure-iot-sdk-c[public-preview] --nuget

apt-get:
Installing the apt packages for Azure IoT C SDK public preview can be achieved following these instructions, with the difference that the preview ppa address should be used:

sudo add-apt-repository ppa:aziotsdklinux/azureiot-preview