Hi,
I’m working with CC2640R2F and simplelink_cc2640r2_sdk_4_20_00_04.
My project have a device with Central role and another device with Peripheral role.
So I started from the BLE simple_central example for the Central Device and BLE simple_peripheral example for the Peripheral Device.
Since my Peripheral device is battery powered, to save battery I set the following parameters:
// Advertising interval when device is discoverable (units of 625us) #define DEFAULT_ADVERTISING_INTERVAL 1600 //1s
Instead in my Central Device I set the following parameters:
// Scan duration in units of 0.625 ms #define DEFAULT_SCAN_DURATION 10400 //6,500 s // Scan interval in units of 0.625 ms #define DEFAULT_SCAN_INTERVAL 3360 //2,100 s // Scan window in units of 0.625 ms #define DEFAULT_SCAN_WINDOW 1680 //1,050 s
Why in these conditions is the peripheral almost never found?
Thanks Emanuela