View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000053 | easycwmp | Help | public | 2015-05-04 17:11 | 2015-05-08 19:18 |
Reporter | feckert | Assigned To | mohamed.kallel | ||
Priority | none | Severity | trivial | Reproducibility | have not tried |
Status | resolved | Resolution | no change required | ||
Summary | 0000053: notify | ||||
Description | Hi I have some questions. 1. Notifing an acs that a value has changed ------------------------- For Example if I edit an paramter over the webgui on the cpe i have to notify the tr069 that this value has changed. How do i do this? I think i have to call - `ubus call tr069 notify '{"parameter":"String","value":"String","type":"String"}` What are the valid atributes for this call? If i call `ubus call tr069 notify '{"parameter":"Device.WiFi.AccessPoint.2.MacAddresses","value":"0"}'` In the log i see: Mon May 4 14:38:17 2015 daemon.notice easycwmpd: triggered ubus notification parameter Device.WiFi.AccessPoint.2.MacAddresses Mon May 4 14:38:17 2015 daemon.notice easycwmpd: external script init Mon May 4 14:38:17 2015 daemon.notice easycwmpd: external: execute get notification Device.WiFi.AccessPoint.2.MacAddresses Mon May 4 14:38:17 2015 daemon.notice easycwmpd: external script exit Nothing happens on the ace side the value is not updated in his database 2. What does this function do? -------------------------- In the directory funkctions in file common there are three function 1. "common_get_parameter_notification" 2. "common_remove_parameter_notification" 3. "common_set_parameter_notification" what does they do. Do i have to add an notification config tag in the uci if i want to notify my acs? 3. ubus callbacks --------------------------- Please can you give me an advice what this ubus messages do and what are there paramter values for them? "inform":{"event":"String"} "command":{"name":"String"} Thank you for your help :-) Kind regards Flo | ||||
Tags | No tags attached. | ||||
|
1- before executing the ubus call function, you have to set the notification attribute of you param to 2: easycwmp set notification Device.WiFi.AccessPoint.2.MacAddresses 2 easycwmp apply notification |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-04 17:11 | feckert | New Issue | |
2015-05-04 19:34 | mohamed.kallel | Note Added: 0000194 | |
2015-05-04 19:35 | mohamed.kallel | Note Edited: 0000194 | |
2015-05-08 19:18 | mohamed.kallel | Status | new => resolved |
2015-05-08 19:18 | mohamed.kallel | Resolution | open => no change required |
2015-05-08 19:18 | mohamed.kallel | Assigned To | => mohamed.kallel |