-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable deviations from lwm2m spec #1103
Comments
I double checked and I confirm that LWM2M version in Register Request is required (in LWM2M v1.0 and v1.1)
For now, there is not such a kind of configuration. Some not tested ideas :
The real question behind this one is : "should we handle bad device behavior ? and how should we do that ? "
I guess bad device behavior are part of real world and so we can not ignore it.
At the beginning of the project we were rather flexible with inputs but the drawbacks are :
Little by little we move to a more strict way to handle input but as we also try to provide code which is customizable (not always a success) we hope this is possible to handle bad behavior by providing some code. Should we rather go to a Configuration way ? |
Tell me if fixing this by code is OK for you. |
What we want to avoid is forking the code in a way requires us to basically patch every time there is an update, hence "configuration". That does not mean that solution could done in code, just that it should be fairly self containing and independent on whatever version of the leshan server is used. To me, custom custom |
I don't know why I didn't though about it but with #1104 which should be available in I guess this is another way to workaround this. |
Is there any way to configure/account for/manage bad behaving devices? The background is that there is devices not reporting the lwm2m version when register. This is mandatory according to the lwm2m specification, but nevertheless they don't. As I understand earlier versions of leshan allowed this and assumed the lwm2m version to be 1.0 so the problem wasn't detected, more recent versions block these devices from connecting. The question is, is there anyway configurable to allow for these devices to connect despite not follow the lwm2m specification?
The text was updated successfully, but these errors were encountered: