Other Parts Discussed in Thread: LAUNCHXL-CC26X2R1, SYSCONFIG
使用的simplelink_cc13x2_26x2_sdk_3_10_00_53开发应用发现扫描到的response数据很少,使用官网最新版SDK验证-simplelink_cc13xx_cc26xx_sdk_6_10_00_29还是存在该问题,解决该问题是否需要修改某些配置参数
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
使用的simplelink_cc13x2_26x2_sdk_3_10_00_53开发应用发现扫描到的response数据很少,使用官网最新版SDK验证-simplelink_cc13xx_cc26xx_sdk_6_10_00_29还是存在该问题,解决该问题是否需要修改某些配置参数
我自己添加了一些打印,根据evtType的Bit3判断Response并计数,计数结果数量很少
/// Event for advertising report
typedef struct {
/**
* Bits 0 to 4 indicate connectable, scannable, directed, scan response, and
* legacy respectively
*/
uint8_t evtType;
/// Public, random, public ID, random ID, or anonymous
GAP_Addr_Types_t addrType;
/// Address of the advertising device
uint8_t addr[B_ADDR_LEN];
/// PHY of the primary advertising channel
GapScan_ScannedPhy_t primPhy;
/// PHY of the secondary advertising channel
GapScan_ScannedPhy_t secPhy;
/// SID (0x00-0x0f) of the advertising PDU. 0xFF means no ADI field in the PDU
uint8_t advSid;
/// -127 dBm <= TX power <= 126 dBm
int8_t txPower;
/// -127 dBm <= RSSI <= 20 dBm
int8_t rssi;
/// Type of TargetA address in the directed advertising PDU
GAP_Addr_Types_t directAddrType;
/// TargetA address
uint8_t directAddr[B_ADDR_LEN];
/// Periodic advertising interval. 0 means no periodic advertising.
uint16_t periodicAdvInt;
/// Length of the data
uint16_t dataLen;
/// Pointer to advertising or scan response data
uint8_t *pData;
} GapScan_Evt_AdvRpt_t;