RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Notify component is used to notify interested protocol agents to the change of subscribed parameter values/events.
Three types of notification messages exist for the notification for connected clients to work.
NotifyMsg 1 : Notification Message from the individual interface component to LMLite about any update of the existing connected devices or any new connections.
NotifyMsg 2: Notification Message from LMLite to the Notify component
NotifyMsg 3: Notification message from Notify component to the PA’s who have registered for notifications for connected device.
In this type of notification message, the connected device components like WiFi,MoCA, Ethernet sets a dedicated parameter of LMLite. As and when this notify message comes from a component to LMLite, the dedicated parameter is parsed and the host table is updated accordingly.
Example: For WiFi the dedicated parameter is “Device.Hosts. X_RDKCENTRALCOM_LMHost_Sync_From_WiFi”.
This parameter is of string type and contains values for fields phyAddr, ssid, status and so on
LMLite monitors the values of all the connected clients.Whenever any connection/disconnection updates happen in host table it updates the notify component.
The data sent from LMLite to notify component is status, MAC, interface of the connected device.
Notify component maintains a table of parameters for which PA's are interested to be notified.
Whenever the notify component receives a NotifyMsg2 from LMLite, it search's this table and notifies the interested protocol agents.