This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
Azure IoT Gateway SDK Beta
Pre-release
Pre-release
Breaking Changes
- Remove
LL
from gateway function names. - Change the
MODULE_APIS
struct toMODULE_API
, with a new layout. - Change the signature of
Module_GetAPIS
toconst MODULE_API* Module_GetApi(const MODULE_API_VERSION gateway_api_version)
. - Change JSON config and the
GATEWAY_MODULES_ENTRY
struct to support loading modules that are not DLLs/SOs. - Add a function pointer for
Module_CreateFromJson
toMODULE_API
, and remove from the codebase allHL
modules that previously implemented that functionality. - Rename the function
Gateway_Create_From_JSON
toGateway_CreateFromJson
. - Remove UWP adaptation of the gateway SDK.
New Features
-
Add a version field to the
MODULE_API
struct so the gateway will (1) be backward-compatible with old modules, and (2) load backward-compatible modules. -
Allow gateway apps to choose how they load modules by specifying a "loader". The default loader loads modules as DLLs.
Gateway_CreateFromJson
uses the default loader. -
Add a script to automate version bumps.
-
Enable CMake's
find_package
for the gateway SDK. To use the gateway SDK in your project:In your clone of the SDK repo:
mkdir build && cd build cmake .. cmake --build . cmake --build . --target install # may require elevated privileges
In your project's CMakeLists.txt:
find_package(azure_iot_gateway_sdk REQUIRED CONFIG) target_link_libraries(your_lib gateway_install)
Doc Updates
- Add missing headers to C API reference.
- Add Node.js API reference.
- Add how-to document for Node.js modules in the gateway.
Changes/Bug Fixes
- #43 Fix image link in
sample_ble.md
(@formulahendry). - Fix Node.js tests and sample in so they can find node.dll on Windows.
- Enable 64-bit Java in Windows build script.
- Move events-related functions out of the public API.
- Rename
callbacks_sample
toevents_sample
and move it to theexperimental/
subfolder. - Fix issues reported by valgrind in:
gateway
,gateway_ut
,azure_functions
,ble
. - Fix memory leaks in
ble
,azure_functions_ut
,event_system_ut
. - Fix script that updates the
gh-pages
branch. - In the
hello_world
module, don't join a non-existent thread. - Change building BLE module to be optional, enabled by default