Important changes to forums

We’re making some changes to the Mbed forums. From 10th December 2019 all new discussions will take place on our new forum site. You can continue to reply to existing threads for the next two weeks. After that we will archive this forum so you can return to useful posts in the future.

The MultiConnect® mDot™ offers significantly longer range and improved radio performance compared to traditional wireless solutions—resulting in greater transmission range and reduced capital expense.

how to wakeup a mDot through multiple InterruptIn pins?

22 Oct 2018

Hello,

I am trying to figure whether it is possible to put a mDot module to sleep (not necessarily deep sleep) and wake it through multiple external pins. I tried to modify the "ota_example" code by adding a second call to:

dot->setWakePin(XBEE_AD3);

in the:

sleep_wake_interrupt_only(bool deepsleep)

function which is located in the "dot_util.cpp" file but that does not seem work. I also tried to add the following code in the main loop but without further success:

InterruptIn in(XBEE_AD3); in.rise(&rise_handler); in.fall(&fall_handler);

Any help appreciated, thank you!

You need to log in to post a reply