This topic has 3 replies, 2 voices, and was last updated 6 months, 1 week ago by Pontus. This post has been viewed 217 times

  • Author
    Posts
  • #839
     psh
    Participant

    I have tried to have my FiPy send data to one our own sever via NB-IoT.
    I tried to change the IP address in the telenor.py libraryo

    IOTGW_IP = '172.16.32.1' # Telenor IoT Gateway IP address

    I changed 172.16.32.1 to our own server-IP.

    We have Node Red server with listening. I should mention that I’m not sure the Node Red server is 100% correct set up for the Coap, but I was also watching activity on our firewall in front of the server and I could not detect any activity relating from my device.

    #840
     Pontus
    Keymaster

    Hi!

    Change the APN variable from telenor.iotgw to telenor.iot. This is located on the line above, here: https://github.com/TelenorStartIoT/fipy-dev-kit-coap/blob/master/lib/telenor.py#L15

    The telenor.iotgw APN is a private APN separated from the internet, so you can’t connect to anything other than the “IoT Gateway” (172.16.32.1). By switching to the public APN telenor.iot you can connect to your own server.

    -Pontus

    #846
     psh
    Participant

    That did it, now it works,
    Thank you!

    #847
     Pontus
    Keymaster

    Glad it works! 🙂

    Keep in mind that you are now sending data packets over the internet, unencrypted. By switching back to the private APN telenor.iotgw you can safely transfer data while using CoAP.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

© 2020 Telenor Start IoT
 

Log in with your credentials

Forgot your details?