External interrupt handling on XBee3?

This is related to this previous question: https://forums.digi.com/72870/xbee3-micropython-gpio-interrupt - might even be the same question, actually.

I have a PIR sensor I need to attach to an XBee 3. Actually, my entire application is a set of XBees with PIR sensors, in a mesh network. I’ve verified that my PIR sensors are 3.3V compatible. I need an external interrupt pin to detect a rising edge signal from the PIR sensor, wake the XBee to handle the interrupt, then (outside the interrupt handler) send a message that there was a detect. When the message is successfully passed along, the XBee can go back to sleep and wait for another rising edge detect.

This is supported in MicroPython with callbacks. But I need to know something about the external hardware interrupts on the XBees. I’ve looked at the hardware manual (https://www.digi.com/resources/documentation/digidocs/pdfs/90001543.pdf), and it doesn’t seem to cover the topic. MicroPython has some pages in their reference to how to do this (here: https://docs.micropython.org/en/latest/reference/isr_rules.html#isr-rules), but they say it’s available on “suitable hardware”, which doesn’t help for knowing what pins it’s available on for XBee.

I’m a newb here - I just ordered some XBees from Digi-key today. But I haven’t found any good examples here for doing this. Seems like it should be here somewhere… Anyone know?

Look in the Sample code offered in the Digi XBee Micro Python plugin for PyCharm. I believe you will find what you are looking for.