Skip to content

xmidt-org/tr181cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tr181cli

CLI for for WebPA interactions with TR-181 Objects

Build Status codecov.io Apache V2 License

Building and Testing Instructions

mkdir build
cd build
cmake ..
make
make test

Usage Instructions

Currently tr181cli is supporting GET queries.

Sample command line GET query is as below:
./tr181cli Get parameter1 parameter2
e.g. --> ./tr181cli Get Device.DeviceInfo.ModelName Device.DeviceInfo.Manufacturer

tr181cli works as:

-tr181cli will accept the command line arguments with command and required parameter names
-converts this request into wrp-c format 
-wrp-c formatted request will be encoded using msgpack
-sends this encoded request to webpa adapter through nanomsg
-webpa adapter will process this requests to fetch the values from stack
-tr181cli accepts the encoded response from adapter through nanomsg and displays the TR181 query result.

About

CLI for for WebPA interactions with TR-181 Objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published