Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    AWS Data use

    Scheduled Pinned Locked Moved FiPy
    fipyawsmicrosoft azure
    2 Posts 2 Posters 548 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      DDA
      last edited by

      We were able to successfully transmit data with our Fipy over Cat-M1 connectivity using secure SSL ( lte.connect-->> s.connect-->>s.send etc). Data usage was about 300 bytes per transmission which includes date/time + last 6 of the device IMEI and a 20 Char hex( sensor data).

      When we switched to TLS based connectivity over cellular with AWS, the same transmission is over 7kbytes, and it was 5Kbytes if we used Microsoft Azure.We were looking at LPWAN based hardware to save power and data cost, but using AWS or similar data usage is sky high due to transmission-security overhead.

      We typically transmit every 30 minutes and in this scenario our SIM usage will be over 10MB per month compared to 0.5 MB using simple SSL.

      Anyone else facing the same problem and found any roundabout solution.

      1 Reply Last reply Reply Quote 0
      • P Offline
        protean
        last edited by

        Hi,

        Have you considered a normal socket connection, and simply AES encrypting your data during transmission? You should be able to smash a checksum of the encrypted message down to like 4 bytes, and then include a delimiter sequence to snip the checksum off the datagram.

        You can use SSL to fetch the initial AES key from your backend, and then use that key in the future over normal network sockets.

        Sure, you might get MITM, but who cares, if the messages are encrypted and checksummed.

        Can't help with the AWS stuff, we just push messages to our own backend servers directly.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom