Crate bt_le_peripheral

source ·

Structs

Opt 🔒

Enums

Functions

advertise 🔒
Start advertising and print status on success or construct error on failure On success, returns a stream of connection requests and a future representing the advertising request. Error otherwise.
func 🔒
listen 🔒
main 🔒
Wrap a Vec<T> in an Option, returning None if the vector is empty and Some(vec) if the vector is not empty.
Parse “:” delimited pair from a string into a tuple pair of (id, raw byte payload) where the payload was base64 encoded in the raw string.
parse_data 🔒
Parse “:” delimited pair from a string into a tuple pair of (id, utf8 encoded payload)
Parse a raw string as a millisecond interval checking that it lies within the allowed range.

Opaque Types

 🔒
 🔒
 🔒