cc2640r2f的simple_observer无限扫描的模式下,扫描过大概一个小时后,就扫描不到设备了?
Viki Shi:
是不是扫描设备的个数满了,看一下下面的参数设置:
#define GAPCENTRALROLE_MAX_SCAN_RES 0x404
Maximmum number of scan reports to store from GAPCentralRole_StartDiscovery (Read/Write)
size: uint8_t
default: 8
range: 0-256 but this will be constrained by available RAM
user4665025:
回复 Viki Shi:
把 GAPCENTRALROLE_MAX_SCAN_RES 定义为0x404是什么意思
Viki Shi:
回复 user4665025:
#define GAPCENTRALROLE_MAX_SCAN_RES 0x404
Maximmum number of scan reports to store from GAPCentralRole_StartDiscovery (Read/Write)
size: uint8_t
default: 8
range: 0-256 but this will be constrained by available RAM