Hy,
what would be the best way to solve the following application:
I have a CC2640 in multi role (peripheral + observer) that shall scan for peripherals and detect the closest one (using rssi). Also it shall collect a list of all scanned devices that can be read out by an android master.
What I tried:
I created my own list and add every scanned device to this list. This works OK, but in an environment with many BLE devices (>100) the system is very slow, it may take several minutes to see all BLE devices.
I tried to change GAPOBSERVERROLE_MAX_SCAN_RES to a higher value but find my system instable with high values. Is there a maximum value for this?
Do you think it is possible to solve this application using a CC2640? Using the android device, I see all 100 devices in an instance, no problem. Is there a systematic limitation for discovering many devices with CC2640?
Regards
Harald