Good day!
I am planning to use BTool to control my CC2640r2f radio during regulatory (FCC & CE) testing. We are using blestack (not ble5stack) with Simplelink CC2640R2 SDK 5.30.00.03, and are running the HostTest project.
After talking to the laboratory test engineer, I had several observations and questions regarding DTM packet counting (for receiver blocking, radiated immunity, and PER tests):
- The HCIExt_ModemTestTx/Rx commands do not return a TX/RX packet count after ending the test.
- The HCI_LE_TransmitterTest always returns 0x0000 in the NumOfPackets field after ending the test.
- I know the device is transmitting, as I can simultaneously run the HCI_LE_RecieverTest on a different device, and it does return the NumOfPackets received.
- SWRA737 recommends using the HCIExt_SetDtmTxPktCnt command (opcode 0xFC24) to set the number of transmitted packets. However, this command does not work for blestack (the 0xFC24 opcode is mapped to the HCI_EXT_GET_ACTIVE_CONNECTION_INFO command in hci_tl.h).
So my questions would be:
- How does TI recommend keeping track of PER with the original blestack?
- Related... is there a place in the stack I could add my own packet counter, or determine that the radio is still receiving/transmitting test packets?
Thanks a ton!
-Kenton