deviceplug / btleplug

Rust Cross-Platform Host-Side Bluetooth LE Access Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RSSI and tx_power_level are None on OSX (corebluetooth)

Yohannfra opened this issue · 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