Downlink queue post command

Home Forums Lora Network Server Downlink queue post command

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31021
    baylan watermeters
    Participant

    Hello ;
    The command,
    curl 127.0.0.1/api/lora/packets/queue -X POST –data ‘{“deveui”: “34-39-36-34-6a-33-6f-14”, “data”: “01”, “port”:”2″}’
    returns ;
    {
    “code” : 400,
    “error” : “Failed to parse json, object expected.”,
    “status” : “fail”
    }
    Can anyone correct the issue here?
    Thank you.

    #31022
    Jason Reiss
    Keymaster

    Data should be base64 encoded

    Also add the header option
    -H “Content-Type: application/json”

    #31042
    baylan watermeters
    Participant

    Thank you, works great, it’s finally a solution for the extreme GPRS delays(8sec or more) in Africa.
    An additional question if allowed here,
    “s000727–mPower-Edge-Intelligence-Conduit-AEP-software-guide.pdf” contains the features of device rather than the implemented methods with fields, I need the API’s complete list of methods, do you know where? I asked support but they gave me the pdf that I wrote above, thank you.

    #31043
    Jason Reiss
    Keymaster

    Here are the end-points for the API.

    MTR, Conduit, and Conduit 300 API Reference

    Collection Endpoints

    lora

    I usually use a browser to inspect the calls made by the UI for JSON examples of API calls.

    #31044
    baylan watermeters
    Participant

    Thanks a lot.

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