aboutsummaryrefslogtreecommitdiff
path: root/parrot_zik
diff options
context:
space:
mode:
Diffstat (limited to 'parrot_zik')
-rw-r--r--parrot_zik/message.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/parrot_zik/message.py b/parrot_zik/message.py
index 822e057..3a34e8e 100644
--- a/parrot_zik/message.py
+++ b/parrot_zik/message.py
@@ -1,4 +1,9 @@
class Message:
+ """
+ The headset detect new command with the following schema:
+ \x00<(message size + 3) in hex>\x80<message in hex>
+ It must be keeped in bytes because \x80 is not in the ASCII table.
+ """
def __init__(self, resource, method, arg=None):
self.method = method
self.resource = resource