Hi,
One of my customers is applying LWM2M to their target application.
And they are trying to fix LOCAL PORT of LWM2M.
I heard that when end equipment is registered on server, IP/Port of end equipment is also detected by server.
So, if Port of client is changed, The leshan server commands initialization.
They say that this makes an effect to end equipment operation.
They checked how to change LOCAL PORT of LWM2M.
Zephyr version v1.14.1 had following definitions.
https://docs.zephyrproject.org/1.14.1/reference/kconfig/index.html
CONFIG_LWM2M_LOCAL_PORT
CONFIG_LWM2M_PEER_PORT
But in case of Zephyr version v2.3.0, Items Above couldn't be found.
https://docs.zephyrproject.org/2.3.0/reference/kconfig/index-all.html
It's found only CONFIG_LWM2M_PEER_PORT.
So To test this, they modified Kconfig file in folder in zephyr\subsys\net\lib\lwm2m.
The added texts below.
After above, Configurations of nRF connect SDK seems to be applied.
But Test result is not ok.
Could you check that CONFIG_LWM2M_LOCAL_PORT could be used on LWM2M project?
Best Regards
James Lee