Info |
---|
This Page is under development |
...
- Client Host name
- Mac Address
- IP addresses
- Lease information
- Active/Inactive device status
Architecture
draw.io Diagram |
---|
diagramName | LMLite High Level Architecture.drawio |
---|
revision | 1 |
---|
|
Image RemovedFigure 1 - LMLite High Level Architecture
...
LMLite interacts with other components of RDK-B stack over DBUS. Each of these components registers a "callback" function with respective HAL. The HAL performs a “callback” whenever there is an update in connected clients. This triggers a DBus call to LMLite with the necessary data. LMLite receives this data and adds it to the Host table.
Function & Threads used in LM Lite
Important threads used by LMLite module
- ValidateHost_Thread
- ValidateHostRetry_Thread
- Event_HandlerThread
- Hosts_StatSyncThreadFunc
- Hosts_LoggingThread
Important functions.
Every 30 seconds the below functions are invoked to check whether the clients are connected or disconnected. if the clients are disconnected the DM for the particular client will be updated.
- Wifi_ServerSyncHost
- Send_Eth_Host_Sync_Req
- Wifi_Server_Sync_Function
Notifications
LMLite notifies the Notification component which in turn tells the interested PAs about the connection and disconnection of the connected devices.
draw.io Diagram |
---|
diagramName | NotifyMsg.drawio |
---|
revision | 1 |
---|
|
Image Removed
There are three types of notification messages for the connected clients to work.
...
LMLite has three objects in its DML layer:
Note: The RDK data model naming convention prefix was changed in March 2020 to “X_RDK_”. We request you use this new prefix going forward.
Object | Description | Supported Parameters |
Device.Hosts. | Contains parameters depicting statistics of the connected devices. | - Device.Hosts.X_CISCO_COM_ConnectedDeviceNumber
- Device.Hosts.X_CISCO_COM_ConnectedWiFiNumber
- Device.Hosts.X_RDKCENTRAL-COM_HostVersionId
- Device.Hosts.X_RDKCENTRAL-COM_HostCountPeriod
- Device.Hosts.Host.{i}.PhysAddress
- Device.Hosts.Host.{i}.IPAddress
- Device.Hosts.Host.{i}.DHCPClient
- Device.Hosts.Host.{i}.HostName
- Device.Hosts.Host.{i}.LeaseTimeRemaining
- Device.Hosts.Host.{i}.X_RDKCENTRAL-COM_DeviceType
|
Device.XHosts. | Contains parameters for home security devices. | - Device.XHosts.X_CISCO_COM_ConnectedDeviceNumber
- Device.XHosts.XHost.{i}.Alias
- Device.XHosts.XHost.{i}.PhysAddress
- Device.XHosts.XHost.{i}.IPAddress
- Device.XHosts.XHost.{i}.DHCPClient
- Device.XHosts.XHost.{i}.HostName
- Device.XHosts.XHost.{i}.LeaseTimeRemaining
- Device.XHosts.XHost.{i}.X_RDKCENTRAL-COM_DeviceType
|
Device.X_RDKCENTRAL-COM_Report. | Contains parameters depicting network status and traffic. | - Device.X_RDKCENTRAL-COM_Report.NetworkDevicesStatus.Enabled
- Device.X_RDKCENTRAL-COM_Report.NetworkDevicesStatus.ReportingPeriod
- Device.X_RDKCENTRAL-COM_Report.NetworkDevicesStatus.PollingPeriod
- Device.X_RDKCENTRAL-COM_Report.NetworkDevicesStatus.Default.ReportingPeriod
- Device.X_RDKCENTRAL-COM_Report.NetworkDevicesStatus.Default.PollingPeriod
- Device.X_RDKCENTRAL-COM_Report.NetworkDevicesTraffic.Enabled
- Device.X_RDKCENTRAL-COM_Report.NetworkDevicesTraffic.ReportingPeriod
- Device.X_RDKCENTRAL-COM_Report.NetworkDevicesTraffic.PollingPeriod
- Device.X_RDKCENTRAL-COM_Report.NetworkDevicesTraffic.Default.ReportingPeriod
- Device.X_RDKCENTRAL-COM_Report.NetworkDevicesTraffic.Default.PollingPeriod
- Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifiExtender.Enabled
|
...