v2.2.0
What's Changed
- Improve plgd Cloud2Cloud-Gateway test cases by @Danielius1922 in #561
- Don't sign certificates that contain plgd hub ID by @jkralik in #564
- Add missing CN to self-signed cert by @ondrejtomcik in #566
- Threadsafe refresh/exchange token in CoAP-Gateway by @jkralik in #568
- Support batch device subscriptions by @Danielius1922 in #563
- Update go-CoAP improving CPU load by @jkralik in #598
- Support unpublish by instance IDs by @Danielius1922 in #605
- Allow disabling unsecure CoAP-Gateway in plgd hub #bundle by @jkralik in #607
- Introduce consent screen and param validation in mock OAuth Server by @ondrejtomcik in #569
Performance Optimizations Insights
The current version rapidly improves the memory consumption and CPU load of the CoAP-Gateway. This was achieved by supporting batch observations of device resources, compared to observing every single resource separately. This option is nevertheless still supported.
No breaking changes introduced. Just update to the newest version.
In order to benefit from these optimizations, you need to pull the latest IoTivity-Lite which supports the batch observation of the /oic/res resource.
It's simple, just rebuild your IoTivity-Lite application with the additional make option OICRES_OBSERVABLE=1.
For example: make CLOUD=1 SECURE=1 MNT=1 CREATE=1 OICRES_OBSERVABLE=1 OSCORE=0 cloud_server
Enjoy!
Full Changelog: v2.1.2...v2.2.0