AnsweredAssumed Answered

Jn516x send APDU inside a user task

Question asked by Bumblebee Bumblebee on Jul 16, 2016
Latest reply on May 31, 2017 by wei sheng


My application is like this:

When user pressed a button, it will fire an ISR, inside the ISR is a 1-second timer. When the timer ends, it will activate a current user task and send a singple APDU using ZPS_eAplAfUnicastDataReq().

 

However, I'm receiving this in the debug print window:

Interrupt for DIO8 occured!

Timer App_tmrBroadcastPacket expired!

OS Error 21, offending object handle = 0x04000060

Currently active task handle = 0x040002b0

Currently active ISR fn address = 0x00000000

OS Error 21, offending object handle = 0x04000060

Currently active task handle = 0x040002b0

Currently active ISR fn address = 0x00000000

OS Error 21, offending object handle = 0x04000060

Currently active task handle = 0x040002b0

Currently active ISR fn address = 0x00000000

OS Error 21, offending object handle = 0x04000060

Currently active task handle = 0x040002b0

Currently active ISR fn address = 0x00000000

Apdu = 16     //DBG_vPrintf(TRACE_APP, "Apdu = %d\n", apduBytes);

Send status: 0     //DBG_vPrintf(TRACE_APP, "Send status: %d\n", sendStatus);

APP: APP_taskEndPoint: ZPS_EVENT_AF_DATA_INDICATION

    Data Indication:

        Profile :1234

        Cluster :7777

        EndPoint:1

Outcomes