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

    Is it possible to create a device 'whitelist' and only transmitt our sensors over LTE ?

    Scheduled Pinned Locked Moved Expansion Board
    2 Posts 2 Posters 38 Views 2 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.
    • H Offline
      hjojohan
      last edited by hjojohan

      Hi
      We have problems, our pygate gateway are situated beside a large hospital that have 1000's of lora devices.. The pygate picks up all messages and transmitt all of it to our Lorawan network server over simcard.. Consuming 400 Mb in 24H... We need a solution how to filter out messages 'on the edge' and only transmitt our messages .. can there be a filter of som kind in the config file to whitelist our deveui's `

      Problem described here.. https://medium.com/swlh/filtering-lorawan-traffic-on-gateway-level-bce7366a56a

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gijs
        last edited by

        You would only be able to do this by making changes in the pygate source code and compiling your own firmware. I can imagine this issue is frustrating! I'll point you to some locations that might help you here:

        https://github.com/pycom/pycom-micropython-sigfox/blob/Dev/esp32/pygate/lora_pkt_fwd/lora_pkt_fwd.c#L1526
        Close to here, you will find the comment 'skip that packet' after a continue; statement. There, you could build your whitelist, based on mote_addr in a similar way. I will leave the final implementation to figure out for you, but I would load the whitelist in the JSON configuration file (some lines above: https://github.com/pycom/pycom-micropython-sigfox/blob/Dev/esp32/pygate/lora_pkt_fwd/lora_pkt_fwd.c#L635) (Im not sure of the amount of sensors you are using and how often it changes)

        Let me know if that works for you!
        Gijs

        1 Reply Last reply Reply Quote 1

        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