Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Below picture shows that successfully connected to RDK wifi connection:-

for more details go through this link

 https://github.com/WebPlatformForEmbedded/ThunderNanoServices/blob/master/WifiControl/doc/WifiControlPlugin.md

Network control plugin:-

It provides the following methods:

reloadReloads a static and non-static network interface adapter
requestReloads a non-static network interface adapter
assignReloads a static network interface adapter
flushFlushes a network interface adapter


Not only the above functionalities but also we can able to know the status of the connected interface for eth0,wlan0,lo.

...

It provides the geo-location functionality such as the City,Country ,Region,Timezone, Public IP, Sync.As of now it will list the country,timezone and public ip as part of UI

For more details you can details  go through this link https://github.com/WebPlatformForEmbedded/ThunderNanoServices/blob/master/LocationSync/doc/LocationSyncPlugin.md

...

we can also set time by using UI,Below picture show the UI for time sync plugin

For more details you can details  go through this link https://github.com/WebPlatformForEmbedded/ThunderNanoServices/blob/master/TimeSync/doc/TimeSyncPlugin.md

Troubleshooting

  • Error Messages

<Identify the error messages that a user may receive and the likely cause(s) and/or possible corrective actions for the error>

  • Special Considerations

...

System commands plugin:

  It allows executing of low level actions on the system.It is supporting USBRESET functionality,means USB device can be reset using USBFS_RESET ioctl command.

we have to pass the dev path as part of params usually in RPI it should be there in /dev/bus/usb/

By using lsusb it will list the connected usb:

root@raspberrypi-rdk-hybrid-thunder:~# lsusb

Bus 001 Device 006: ID 05e3:0751

Bus 001 Device 005: ID 0424:7800

Bus 001 Device 004: ID 03f0:0024

Bus 001 Device 003: ID 0424:2514

Bus 001 Device 002: ID 0424:2514

Bus 001 Device 001: ID 1d6b:0002

By using the JSON RPC we can able to do reset the usb device.Your jason rpc looks like below

curl --data-binary '{"jsonrpc": "2.0", "id": 1234567890, "method": "SystemCommands.1.usbreset", "params": {"device": "/dev/bus/usb/001/006"} }' -H 'content-type:text/plain;' http://$ip/jsonrpc

for more details go through this link https://github.com/WebPlatformForEmbedded/ThunderNanoServices/blob/master/SystemCommands/doc/SystemCommandsPlugin.md


DHCP SERVER PLUGINS:

A DHCP Server is a network server that automatically provides and assigns IP addresses, default gateways and other network parameters to client devices.

By using the DHCP server plugin we can activate and deactivate the server by using the following jason commands

curl --data-binary '{"jsonrpc": "2.0", "id": 1234567890, "method": "DHCPServer.1.activate", "params": { "interface": "eth0" }}' -H 'content-type:text/plain;' http://$IP/jsonrpc


curl --data-binary '{"jsonrpc": "2.0", "id": 1234567890, "method": "DHCPServer.1.deactivate", "params": { "interface": "eth0" }}' -H 'content-type:text/plain;' http://SIP/jsonrpc


It also allows Provides access to the server status. By using below command we can get the server status details

 curl --data-binary '{"jsonrpc": "2.0", "id": 1234567890, "method": "DHCPServer.1.status@eth0" }' -H 'content-type:text/plain;' http://SIP/jsonrpc

Referrence

 https://github.com/WebPlatformForEmbedded/ThunderNanoServices

Support

Contact

Organization

Phone

Email

Role

<Contact Name>

<Organization>

<Phone>

<Email>

<Role>