FiPy simultaneously LoRaWAN and Sigfox multiple sockets problem (only one LoRaWAN message)

  • Hi,

    I found a cause on a problem that some people are facing (forum TTN).

    Sigfox and LoRaWAN works fine on the FiPy, except, not together.
    Together, LoRaWAN just joins by OTAA en can send just 1 data message. After the first data message, LoRaWAN communicatie stops working without an error.

    My code:
    alt text

    alt text

    alt text

    When I comment out the 4 lines starting with 'sigsock' (my way to disable sigfox), then LoRaWAN works fine and all the message pass trough. When I enable sigfox again, only the join is working and 1 message after the join.

    (sysname='FiPy', nodename='FiPy', release='1.17.3.b1', version='v1.8.6-849-83e2f 7f on 2018-03-19', machine='FiPy with ESP32', lorawan='1.0.2', sigfox='1.0.1')

    Anyone the same problem over here?
    Anyone a solution?

    Thanks in advance.

  • This post is deleted!

  • @leare86
    Because Sigfox and LoRa share the same chip you can't currently have both enabled at the same time.

    Either init LoRa and Sigfox depending on the one you want to use. You can also deinit one and init the other to switch between protocols.


Hello World?

Pylife on Kickstarter - November 2018

Back Us On Kickstarter >

Pycom on Twitter