We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Writing an empty string ("") to /5/0/1 to cancel a firmware update is suppressed. No request is sent. According the LWM2M TS, appendix E.6,
If writing an empty string to Package Resource is done or writing an empty string to Package URI is done, the state changes to Idle.
it seesm to be considered as "valid operation" (even if there may be a discussion on what "mandatory" means :-) )
As far as I understand, the write is suppressed in "resource-directives.js", line 152,
if(value) {
changing that to
if(value || "" == value) {
would allow to write an empty string.
The text was updated successfully, but these errors were encountered:
#119 allow to write empty string in web ui
022c8f4
Fix in master (commit 022c8f4) Thx again @boaks
Sorry, something went wrong.
No branches or pull requests
Writing an empty string ("") to /5/0/1 to cancel a firmware update is suppressed.
No request is sent.
According the LWM2M TS, appendix E.6,
If writing an empty string to Package Resource is done or writing an empty string to Package URI is done, the state changes to Idle.
it seesm to be considered as "valid operation" (even if there may be a discussion on what "mandatory" means :-) )
As far as I understand, the write is suppressed in
"resource-directives.js", line 152,
if(value) {
changing that to
if(value || "" == value) {
would allow to write an empty string.
The text was updated successfully, but these errors were encountered: