This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

remote wake up

Hello,

I am integrating saadc example to ble_uart in order to receive analog input signals and send them via ble connection to android application. Low power consumption is an important consideration in this application. I am looking for a way that I could send a wake up call to the device via android application and then device start advertising and sending data(for example in blinky example there is this possibility of turning on LED using android app). But I do not know how to do it. Is there any example that I can look at?

Best regards,

Kosar

Parents
  • Hello Kosar,

    As said, the central(phone) will not know about the peripherals presence if it is not advertising, but there are many other ways to have the peripheral wake up at different intervals or events.
    The chosen wakeup method and advertising parameters will significantly impact the power consumption, but it is also not possible for us to suggest anything in particular without knowing more about the intended application.

    If you are looking to go the route of a GPIO wakeup signal, you might be interested in seeing the Pin Change Interrupt example, which demonstrates how to set up an interrupt on pin change. You may also want to have a look at the BLE Blinky app for seeing the basic BLE parts of peripheral implementation.

    Best regards,
    Karl

Reply
  • Hello Kosar,

    As said, the central(phone) will not know about the peripherals presence if it is not advertising, but there are many other ways to have the peripheral wake up at different intervals or events.
    The chosen wakeup method and advertising parameters will significantly impact the power consumption, but it is also not possible for us to suggest anything in particular without knowing more about the intended application.

    If you are looking to go the route of a GPIO wakeup signal, you might be interested in seeing the Pin Change Interrupt example, which demonstrates how to set up an interrupt on pin change. You may also want to have a look at the BLE Blinky app for seeing the basic BLE parts of peripheral implementation.

    Best regards,
    Karl

Children
Related