Event based programming/ Interrupts | FiPy | Network (WiFi/LTE/LoRa) disconnection

  • Hello, Hope everyone is doing well. Quick query on event-based programming/ interrupts.

    As FiPy allows connecting with multiple networks (LTE, WiFi, LoRa, Sigfox, Bluetooth), is there a way to know when a particular network is disconnected.

    For example, assuming a battery powered FiPy is connected to WiFi, however the power of the house is disconnected and WiFi is disconnected. Is there a way to know that FiPy sends a event/ interrupt that WiFi is disconnected? rather than running a loop always to check whether wifi is connected or not. Similarly for LTE and lora.

    If so, would be grateful if examples to implement such functionality can be pointed to.

  • Global Moderator

    I know we have this callback for LTE, but not for WiFi (Ill check if its possible!)
    LoRa and SigFox do not really have any connection status, as they are not continuously connected
    and for Bluetooth there is a callback as well.
    You can find the relevant information in the documentation:
    (For LTE, im still writing about it!)


Log in to reply

Pycom on Twitter