poseyctrl.patch.nordic¶
nordic¶
This module provides Services used by Nordic Semiconductors.
Classes
|
Provide UART-like functionality via the Nordic NUS service. |
-
class poseyctrl.patch.nordic.UARTService(service=
None
)[source]¶ Provide UART-like functionality via the Nordic NUS service.
- property in_waiting¶
The number of bytes in the input buffer, available to be read.
-
read(nbytes=
None
)[source]¶ Read characters. If
nbytes
is specified then read at most that many bytes. Otherwise, read everything that arrives until the connection times out. Providing the number of bytes expected is highly recommended because it will be faster.
-
readinto(buf, nbytes=
None
)[source]¶ Read bytes into the
buf
. Ifnbytes
is specified then read at most that many bytes. Otherwise, read at mostlen(buf)
bytes.
-
uuid =
<adafruit_ble.uuid.VendorUUID object>
¶
Last update:
May 05, 2023