• LoPy as a gateway send packet under TCP/IP

    LoPy server lorawan lopy gateway
    3
    0 Votes
    3 Posts
    2k Views
    S
    @jmarcelino said in LoPy as a gateway send packet under TCP/IP: don’t recommend running TCP over LoRa itself. Sir, can you please elaborate more on how to change the lora packet data into tcp/ip format?
  • LoPy as LoRaWAN Nano Gateway to Loriot

    LoPy lopy gateway
    3
    0 Votes
    3 Posts
    1k Views
    bmarkusB
    Which channel plan are you using?
  • 0 Votes
    8 Posts
    3k Views
    J
    @neilh93 Great. Yes I use a similar thing for my commercial product. But remember that nodes may miss (due to RF issues, power) the "key change" message and still use the old one. What I did was to clone the existing device on the server backend but with the new keys. Then when a transmission arrives on the new device (which means the node has updated the keys) the old device is deleted. If the next transmission still arrives on the old device it means the node has not picked it up so a new key change message is scheduled for retransmission - this is repeated until it's finally picked up.
  • LoRaWAN gateway using Lopy and SX1276 node

    Discussion gateway sx1276 sx1272 ttn
    2
    0 Votes
    2 Posts
    2k Views
    J
    @eron93br The SX1272 and SX1276 have no problems communicating, as long as you set the same modulation it's OK. But your request for node code is difficult, the SX1276 is just a radio transceiver it doesn't run any code, to use it you need to connect it to a host processor (can be a microcontroller, a SoC like the Raspberry Pi or even a computer via USB). All of these will have different code. For example if you host is an Arduino and since you mentioned LoRaWAN something like Arduino-LMIC would be suitable for a node. You can even use the ttn ABP example just remove the LMIC_setupChannel() lines to match your LoPy nano gateway setup (so have only ONE LMIC_setupChannel line with the same frequency you set on the LoPy)
  • 0 Votes
    6 Posts
    2k Views
    lollisoftL
    @jmarcelino Securing keys on a device is always hard, or, not possible. If the program can decrypt the keys for use, then the decryption keys are known and thus the keys it self :-) And I think, every device get's it's own keys, thus if one is tampered with, all others may not be. What do you mean with framecounters? The tcp/ip frames? And MIC attacks? Sorry, I am dumb :-)
  • TTN & LoRaWAN does not run smoothly

    LoPy ttn gateway lorawan
    1
    0 Votes
    1 Posts
    809 Views
    No one has replied
  • Print(recv_ack) and Print(recv_pkg)

    Comments & Feedback lora lopy gateway
    9
    0 Votes
    9 Posts
    3k Views
    T
    @PiAir Thanks.
  • LoRa Node with Gateway using LoPy

    LoPy lopy lora network gateway
    4
    0 Votes
    4 Posts
    2k Views
    nkaN
    @livius Node should talk about each hour (or maybe less, but I don't think I'll go lower than 10 minutes) do to a keep alive and update informations or "right away" if there's a trigger trigged (alarm). I'm pretty sure the hardware can do it, I was less sure about the MicroPython (I saw there was some limitation if we compare to the Python3). I'll order some for testing I guess ! :)
  • Downlink Messages

    LoPy lorawan gateway downlink
    2
    0 Votes
    2 Posts
    1k Views
    B
    Hi @athtest800 Yes! You can do both uplink and downlink messages with the LoPy as a LoRaWAN nano-gateway. You'll see that in the examples, within the docs, there is a method for the device to connect via OTAA. This method of connection requires the gateway to send an ACK, message back to the device, confirming that it's connected. This is a form of downlink message! If you're using the Things Network, you can set up your downlink messages using their backend platform. Thanks, Alex