File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ impl Display for BleId {
8787}
8888
8989/// A Meshtastic device discovered via Bluetooth LE.
90+ #[ derive( Clone , PartialEq , Eq ) ]
9091pub struct BleDevice {
9192 /// The broadcast name of the device.
9293 pub name : Option < String > ,
Original file line number Diff line number Diff line change @@ -139,6 +139,8 @@ pub mod utils {
139139 /// only need to use these two methods to connect to a radio. The `available_serial_ports` method
140140 /// can also be used to list all available serial ports on the host machine.
141141 pub mod stream {
142+ #[ cfg( feature = "bluetooth-le" ) ]
143+ pub use crate :: connections:: ble_handler:: BleDevice ;
142144 #[ cfg( feature = "bluetooth-le" ) ]
143145 pub use crate :: connections:: ble_handler:: BleId ;
144146 #[ cfg( feature = "bluetooth-le" ) ]
You can’t perform that action at this time.
0 commit comments