From c258d9f4f4270efe9b311e24a4e44384ca0de737 Mon Sep 17 00:00:00 2001 From: geeksville Date: Sun, 27 Sep 2020 20:02:26 -0700 Subject: [PATCH] Change doc mentions of StreamInterface into SerialInterface --- README.md | 2 +- docs/meshtastic/index.html | 8 ++++---- meshtastic/__init__.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9fc377a..fe9b755 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ then run the following python3 code: ``` import meshtastic -interface = meshtastic.StreamInterface() # By default will try to find a meshtastic device, otherwise provide a device path like /dev/ttyUSB0 +interface = meshtastic.SerialInterface() # By default will try to find a meshtastic device, otherwise provide a device path like /dev/ttyUSB0 interface.sendText("hello mesh") # or sendData to send binary data, see documentations for other options. ``` diff --git a/docs/meshtastic/index.html b/docs/meshtastic/index.html index 88ff96f..a47db99 100644 --- a/docs/meshtastic/index.html +++ b/docs/meshtastic/index.html @@ -21,10 +21,10 @@

an API for Meshtastic devices

-

Primary class: StreamInterface +

Primary class: SerialInterface Install with pip: "pip3 install meshtastic" Source code on github

-

properties of StreamInterface:

+

properties of SerialInterface: