180718 HJM : 8 Count sensing data RF send, certTest, temp(cold)Test
Fork of EV-COG-AD3029LZ by
Diff: source/SimpleSpirit1.cpp
- Revision:
- 65:a16f0064110a
- Parent:
- 64:28ef790e4ef7
- Child:
- 66:1e09d233280b
diff -r 28ef790e4ef7 -r a16f0064110a source/SimpleSpirit1.cpp --- a/source/SimpleSpirit1.cpp Mon Jul 03 14:39:01 2017 +0200 +++ b/source/SimpleSpirit1.cpp Mon Jul 03 16:42:03 2017 +0200 @@ -450,7 +450,10 @@ irq_get_status(&x_irq_status); /* The IRQ_TX_DATA_SENT notifies the packet received. Puts the SPIRIT1 in RX */ - if(x_irq_status.IRQ_TX_DATA_SENT) { + if(x_irq_status.IRQ_TX_DATA_SENT) { /* betzw - NOTE: MUST be handled before `IRQ_RX_DATA_READY` for Nanostack integration! + Logically, Nanostack only expects the "DONE" after "SUCCESS" (if it gets + DONE before SUCCESS, it assumes you're not going to bother to send SUCCESS). + */ #ifdef DEBUG_IRQ uint32_t *tmp = (uint32_t*)&x_irq_status; debug_if(!_spirit_tx_started, "\n\rAssert failed in: %s (%d)\n\r", __func__, __LINE__);