You can intercept incoming messages in zmac_cb.c - these messages are from the MAC and they are being passed to the NWK layer code in the libraries. Look at the function MAC_CbackEvent(), and the MAC_MCPS_DATA_IND. Be very careful - this is a live callback from an ISR - any code you add can cause horrific system latency and/or lossy-ness on the network.
↧