I am testing scanning using BLE-STACK 1.4 and SimplePeripheralObserver. I removed the code to set maxScanResponses to 15:
// uint8 scanRes = 15;
// GAPRole_SetParameter( GAPOBSERVERROLE_MAX_SCAN_RES, sizeof( uint8 ), &scanRes );
This will keep the DEFAULT value of 0, however I am no longer getting any GAP_DEVICE_INFO_EVENT events. As I understand this is the maximum number of scan results to receive in a single scan (including Advertising events and Scan Responses). I really do not want any filtering.
- Is this the definition of maxScanResponses ?
- Does 0 mean infinite as described in observer.h and peripheralObserverProfile.h?
- Will setting to maxScanResponses to a large number such as >175 fill the heap with responses to filter on?
- Is there another way to turn this filtering off?