No, I don't use this API. I found it accidentally.
Thanks, but probably there is also required
// set NWK task to run nwk_setStateIdle( FALSE );
after StubAPS_SetInterPanChannel(), otherwise it doesn't work.
Btw, I found the solution for my problem…
case 1 I have not registered "zcl_registerClusterOptionList(SWITCH_EP,1,OnOffOptions);" so I can't see APS ack in sniffer but zstackmsg_CmdIDs_AF_DATA_CONFIRM_IND gets triggered and also return the correct value of transID
NO APS ACK BUT AF DATA CONFIRM…
ok , thanks for the update .
Now I can see the same value of zstackmsg_afDataConfirmInd_t ->req -> transID , that is what i am passing to zcl send report command.
This is fine.
But
I remember you told me that to use , case zstackmsg_CmdIDs_AF_DATA_CONFIRM_IND…
When I use zstack_home_1_02_02a_44539 SOC mode as End Device .
I found the interval between calling API AF_DataRequest and receiving zstackmsg_CmdIDs_AF_DATA_CONFIRM_IND is more than 100ms.
But from sniffer log the mac ack is always less than 10ms…
Are you are reading the ((zstackmsg_zdoDeviceAnnounceInd_t*)pMsg)->req.srcAddr in
case zstackmsg_CmdIDs_BDB_TC_LINK_KEY_EXCHANGE_NOTIFICATION_IND:
case zstackmsg_CmdIDs_AF_DATA_CONFIRM_IND:
break;
case zstackmsg_CmdIDs_ZDO_DEVICE_ANNOUNCE:
// reading…
In my zcl report command I am passing
disableDefaultRsp =1
seqNum = 0
,
Should I add this "case zstackmsg_CmdIDs_AF_DATA_CONFIRM_IND: " in " Switch_processZStackMsgs"
Also when this event occurs, how will get the sequence number like which structure…
Part Number: CC2652R Other Parts Discussed in Thread: Z-STACK
Tool/software: TI-RTOS
I have upload it in GitHub
github.com/.../LuoYiming_zstack_external.git
1, In AF.h,new parameter "afCnfCB" and "cnfParam" was added into message "AF_DATA_CONFIRM_MSG…
hi YK,
now ,i increase it add at timer event handle then caller Switch_sendToggle.
and i try to zstackmsg_CmdIDs_AF_DATA_CONFIRM_IND event to check,but it seem some issue also.
Part Number: CC1352P
Hello,
I have a CC1352P -2 LaunchPad, Simplelink_cc13x2_26x2_sdk version 4.10.0.78, My project is based on the zed_switch example project. I also have a project based on zc_light project. I send Zigbee attribute data from the…