btleplug icon indicating copy to clipboard operation
btleplug copied to clipboard

RSSI and tx_power_level are None on OSX (corebluetooth)

Open Yohannfra opened this issue 3 years ago • 0 comments

Describe the bug The rssi and tx_power_level properties is set to None in the code. in src/corebluetooth/peripheral.rs

        let properties = Mutex::from(PeripheralProperties {
            address: BDAddr::default(),
            address_type: None,
            local_name,
            tx_power_level: None,
            rssi: None,
            manufacturer_data: HashMap::new(),
            service_data: HashMap::new(),
            services: Vec::new(),
        });

Expected behavior Actual rssi and tx_power_level.

Actual behavior No rssi and tx_power_level

Thanks you

Yohannfra avatar Oct 29 '22 21:10 Yohannfra