?bleConfig_t? cfg;
cfg.ConnectNumber = (PERIPHERAL_MAX_CONNECTION & 3) | (CENTRAL_MAX_CONNECTION << 2)
從CH58xBLE_LIB.h里面查看bleConfig_t 的定義
uint8_t ConnectNumber;? ? ? ? ? // Connect number,lower two bits are peripheral number,followed by central?
似乎從機(jī)和主機(jī)的數(shù)量最大只能是3?
?