diff --git a/src/lib.rs b/src/lib.rs index ddf2292..364b3f2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,6 +24,10 @@ pub async fn identity(port: &mut SerialStream) -> Result, Error> { get_prop(port, b"ident").await } +pub async fn name(port: &mut SerialStream) -> Result { + get_string_prop(port, b"name").await +} + pub async fn author(port: &mut SerialStream) -> Result { get_string_prop(port, b"author").await }