I'm trying to set a new configuration on a device and I have some functions 
to do this request... All the functions with ubus returns the status code 
[0] which means UBUS_STATUS_OK <http://lxr.mein.io/ident?i=UBUS_STATUS_OK>.

I dont udnerstand why my function with return 
ServicesController.prototype.uci(device[0], "teste_wireless", "wifi", 
ifname, "disabled", data.state, true, true).then(function(wifiData) always 
return undefined.

All the code is 
here 
https://stackoverflow.com/questions/44386538/function-returns-undefined-ubus-node-js

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/0d8e92f0-114b-4b87-ac83-4e2d63972c7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to