Set antenna gain via command line

Home Forums Conduit: AEP Model Set antenna gain via command line

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28391
    tbone
    Participant

    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

    #28394
    Jason Reiss
    Keymaster

    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 ''

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.