File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
adafruit_bluefruit_connect Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,10 @@ def from_stream(cls, stream):
81
81
set on stream, using its own preset timeout.
82
82
Return None if there was no input, otherwise return an instance
83
83
of one of the packet classes registered with ``Packet``.
84
- Raise an Error if the packet was not recognized or was malformed
84
+ Raise an Error if the packet was not recognized or was malformed.
85
+
86
+ If a packet of type "RT" (like ``RawTextPacket``) is registered, it will be
87
+ used to return the raw data line when no packet type was recognized.
85
88
86
89
:param stream stream: an input stream that provides standard stream read operations,
87
90
such as ``ble.UARTServer`` or ``busio.UART``.
Original file line number Diff line number Diff line change 30
30
31
31
.. automodule :: adafruit_bluefruit_connect.quaternion_packet
32
32
:members:
33
+
34
+ .. automodule :: adafruit_bluefruit_connect.raw_text_packet
35
+ :members:
You can’t perform that action at this time.
0 commit comments