Part Number: CC2640R2F
1. What is the default scan window and scan interval the following code is executed to connect to a sensor with a known BD address:
GAPCentralRole_EstablishLink(FALSE,FALSE, addrType, addr);
The reader is a single BLE connection application.
Is it 100% duty cycle at 10ms for both window and interval ?
which GAP parameters should I change to not use the default value ?
2. Does this API use the GAP_SetParamValue(TGAP_GEN_DISC_SCAN, DEFAULT_SCAN_DURATION); has any effect ?
#define DEFAULT_SCAN_DURATION 61000
what happens when the scan duration expires ? does it continuously scan for the advertiser's BD address ?
3. If the sensor's advertising interval is 60ms, and the reader wants to scan at 25% duty cycle, which scan window/interval option is better at capturing the advertising packets?
a. window = 30ms, interval = 120ms
b. window = 10ms, interval = 40ms