// Fast advertising interval in 625us units #define DEFAULT_FAST_ADV_INTERVAL 32 // Duration of fast advertising duration in (625us) #define DEFAULT_FAST_ADV_DURATION 30000 // Slow advertising interval in 625us units #define DEFAULT_SLOW_ADV_INTERVAL 1600 // Duration of slow advertising duration in (625us) (set to 0 for continuous advertising) #define DEFAULT_SLOW_ADV_DURATION 0 // How often to perform heart rate periodic event #define DEFAULT_HEARTRATE_PERIOD 800 // Minimum connection interval (units of 1.25ms) #define DEFAULT_DESIRED_MIN_CONN_INTERVAL 80//20 //2023.12.6 // Maximum connection interval (units of 1.25ms) #define DEFAULT_DESIRED_MAX_CONN_INTERVAL 160
#define DEFAULT_DESIRED_MIN_CONN_INTERVAL 80//20 //2023.12.6
这个改大会减少一秒内蓝牙握手次数的吧?
那这些又是啥意思 影响什么?
// Fast advertising interval in 625us units #define DEFAULT_FAST_ADV_INTERVAL 32 // Duration of fast advertising duration in (625us) #define DEFAULT_FAST_ADV_DURATION 30000 // Slow advertising interval in 625us units #define DEFAULT_SLOW_ADV_INTERVAL 1600
热门产品 :
CH32L103: 32位PDUSB低功耗单片机