Expand description
Serial over Bluetooth LE: ble://<device id, MAC or name> using the Nordic UART
Service (NUS), the de-facto “BLE serial” profile of nRF, ESP32 and Adafruit/BBC
boards. (HM-10 / CC254x modules use service FFE0 instead and are not supported.)
Built on btleplug behind the ble cargo feature (desktop + iOS). Bytes written
go to the NUS RX characteristic in MTU-sized chunks; notifications on the TX
characteristic become read data. Line settings and modem lines are stored only:
a BLE UART has no baud rate or RTS/DTR.
Re-exports§
pub use super::ble_rx::ble_target;pub use super::ble_rx::BLE_SCHEME;
Structs§
Constants§
- NUS_RX
- Central writes here.
- NUS_
SERVICE - NUS_TX
- Peripheral notifies here.
Functions§
- scan
- Scan for devices advertising the Nordic UART Service.
Returns
ble://<id>→ port-info map (same shape asavailable_ports).