chore: add changes
This commit is contained in:
parent
6db5a4872a
commit
447f5bf9c5
|
@ -0,0 +1,11 @@
|
||||||
|
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
|
||||||
|
```
|
|
@ -0,0 +1,8 @@
|
||||||
|
修复 LwM2M 网关 `auto_observe` 不工作的问题。
|
||||||
|
|
||||||
|
在修复之前,下发的 OBSERVE 请求没有 Token 从而导致 LwM2M 客户端无法处理的失败。
|
||||||
|
|
||||||
|
修复后,能正确监听 LwM2M 携带的资源列表、和会忽略未知的资源,并打印以下日志:
|
||||||
|
```
|
||||||
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue