https://github.com/xmidt-org/tr181cli
CLI for for WebPA interactions with TR-181 Objects
https://github.com/xmidt-org/tr181cli
Last synced: about 2 months ago
JSON representation
CLI for for WebPA interactions with TR-181 Objects
- Host: GitHub
- URL: https://github.com/xmidt-org/tr181cli
- Owner: xmidt-org
- License: apache-2.0
- Created: 2016-12-21T21:00:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-07T17:31:16.000Z (over 4 years ago)
- Last Synced: 2025-03-23T12:32:53.851Z (2 months ago)
- Language: C
- Size: 66.4 KB
- Stars: 3
- Watchers: 21
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# tr181cli
CLI for for WebPA interactions with TR-181 Objects
[](https://travis-ci.org/Comcast/tr181cli)
[](http://codecov.io/github/Comcast/tr181cli?branch=master)
[](https://github.com/Comcast/tr181cli/blob/master/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.Manufacturertr181cli 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.
```