12 lines
600 B
Markdown
12 lines
600 B
Markdown
Fixed the issue where `auto_observe` was not working in LwM2M Gateway.
|
|
|
|
Before the fix, OBSERVE requests were sent without a token, causing failures
|
|
that LwM2M clients could not handle.
|
|
|
|
After the fix, LwM2M Gateway can correctly observe the resource list carried by
|
|
client, furthermore, unknown resources will be ignored and printing the following
|
|
warning log:
|
|
```
|
|
2023-03-28T18:50:27.771123+08:00 [warning] msg: ignore_observer_resource, mfa: emqx_lwm2m_session:observe_object_list/3, line: 522, peername: 127.0.0.1:56830, clientid: testlwm2mclient, object_id: 31024, reason: no_xml_definition
|
|
```
|