Set antenna gain via command line
- This topic has 1 reply, 2 voices, and was last updated 7 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Conduit: AEP Model › Set antenna gain via command line
Tagged: antenna gain, command line, external antenna
I want to use a 8dBi external antenna with my Conduit AEP and need to configure Conduit gain setting via command line. I can ssh into my gateway but am having trouble finding the commands to set the antenna attributes.
Anyone know how to do this? thanks
AEP configuration is controlled through the API.
Network Server Mode
$ curl 127.0.0.1/api/loraNetwork -X PUT --data '{"lora":{"antennaGain":8}}' -H "Content-Type: application/json"
Packet Forwarder Mode
$ curl 127.0.0.1/api/packetForwarder -X PUT --data '{"lora":{"antennaGain":8}}' -H "Content-Type: application/json"
Save and Restart
url 127.0.0.1/api/commands/save_restart -X POST –data ”`
Or save and restart only Lora services
$ curl 127.0.0.1/api/commands/save -X POST --data ''
$ curl 127.0.0.1/api/lora/restart -X POST --data ''