Skip to content
Permalink
Browse files

Anjay 1.15.3

Bugfixes:
- Fixed some issues found by Coverity scan
- Upgraded avs_commons to version 3.9.1, which includes:
  - Fix of usage of select() on platforms that do not support poll()
  - Added new AVS_RESCHED_* APIs
  • Loading branch information...
kFYatek committed Apr 3, 2019
1 parent 09239b2 commit 428ba01676b1bd0cb2edeccfcc0120be4036f3bc
Showing with 13 additions and 4 deletions.
  1. +1 −1 CMakeLists.txt
  2. +2 −0 README.md
  3. +1 −1 avs_commons/git
  4. +5 −1 demo/demo.c
  5. +4 −1 demo/demo_args.c
@@ -15,7 +15,7 @@
cmake_minimum_required(VERSION 2.8.12)

project(anjay C)
set(ANJAY_VERSION "1.15.2" CACHE STRING "Anjay library version")
set(ANJAY_VERSION "1.15.3" CACHE STRING "Anjay library version")
set(ANJAY_BINARY_VERSION 1.0.0)

set(ANJAY_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
@@ -223,6 +223,8 @@ See [LICENSE](LICENSE) file.
### Commercial support

Anjay LwM2M library comes with the option of [full commercial support, provided by AVSystem](https://www.avsystem.com/products/anjay/).
The commercial version supports the latest LwM2M 1.1 release.
If you're interested in LwM2M Server, be sure to check out the [Coiote IoT Device Management](https://www.avsystem.com/products/coiote-iot-dm/) platform by AVSystem, which also focuses on LwM2M along with its latest 1.1 specification.

## Contributing

@@ -141,7 +141,11 @@ static void demo_delete(anjay_demo_t *demo) {

if (demo->schedule_update_on_exit) {
demo_log(INFO, "forced registration update on exit");
anjay_schedule_registration_update(demo->anjay, ANJAY_SSID_ANY);
if (demo->anjay) {
anjay_schedule_registration_update(demo->anjay, ANJAY_SSID_ANY);
} else {
demo_log(INFO, "Anjay object not created, skipping");
}
}

if (demo->anjay) {
@@ -292,7 +292,10 @@ static int parse_u16(const char *str, uint16_t *out_value) {
static int parse_size(const char *str, size_t *out_value) {
long long_value;
if (demo_parse_long(str, &long_value) || long_value < 0
|| (size_t) long_value > SIZE_MAX) {
#if SIZE_MAX < LONG_MAX
|| long_value > SIZE_MAX
#endif
) {
demo_log(ERROR, "value out of range: %s", str);
return -1;
}

0 comments on commit 428ba01

Please sign in to comment.
You can’t perform that action at this time.