Jn516x send APDU inside a user task

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Jn516x send APDU inside a user task

1,285 次查看
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

标记 (1)
0 项奖励
回复
1 回复

1,079 次查看
weisheng
Contributor III

Hi, Bumblebee Bumblebee

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

0 项奖励
回复