EasyCwmp

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000053easycwmp[All Projects] Helppublic2015-05-04 17:112015-05-08 19:18
Reporterfeckert 
Assigned Tomohamed.kallel 
PrioritynoneSeveritytrivialReproducibilityhave not tried
StatusresolvedResolutionno change required 
PlatformOSOS Version
Summary0000053: notify
DescriptionHi

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
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000194)
mohamed.kallel (manager)
2015-05-04 19:34
edited on: 2015-05-04 19:35

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


- Issue History
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 View Revisions
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


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker