Hello sir;
I want to set up the fastest connection bewteen BLE device (3ms delay as described in 4.0spec). So the peripheral device should advertise using the min adv_interval so that the central device(battery powered) can receive the adv_ind packet quickly and setup conenction to save power.
so what is the difference between following definations and which pair i should use to set the interval param.
#define TGAP_LIM_DISC_ADV_INT_MIN 6 //!< Minimum advertising interval, when in limited discoverable mode (n * 0.625 mSec)
#define TGAP_LIM_DISC_ADV_INT_MAX 7 //!< Maximum advertising interval, when in limited discoverable mode (n * 0.625 mSec)
for which adv_type?
#define TGAP_GEN_DISC_ADV_INT_MIN 8 //!< Minimum advertising interval, when in General discoverable mode (n * 0.625 mSec)
#define TGAP_GEN_DISC_ADV_INT_MAX 9 //!< Maximum advertising interval, when in General discoverable mode (n * 0.625 mSec)
for which adv_type?
#define TGAP_CONN_ADV_INT_MIN 10 //!< Minimum advertising interval, when in Connectable mode (n * 0.625 mSec)
#define TGAP_CONN_ADV_INT_MAX 11 //!< Maximum advertising interval, when in Connectable mode (n * 0.625 mSec)
for which adv_type?
In SDK 1.2 , for fast connection , the adv_interval is set to 20ms(0.625*32) while 1000ms for slow conenction(0.625*1600). I also find some description that the adv_interval setting to zero indicates continous advertising. The time between two continous adv_event can be less than 2.5ms. But i can not find this description in BT4.0 spec, is it right?