Jn516x send APDU inside a user task

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jn516x send APDU inside a user task

670 Views
ssofia
Contributor I


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

Tags (1)
0 Kudos
1 Reply

464 Views
weisheng
Contributor III

Hi, Bumblebee Bumblebee

   do you solve the problem? if so, can you tell me how to do with it? thanks.

0 Kudos