From ef754651e828e246129f9b846b8323d24f0f6e00 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 5 May 2019 13:00:05 +0200 Subject: Add some documentation of how headset API work --- parrot_zik/message.py | 5 +++++ 1 file changed, 5 insertions(+) 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 + 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 -- cgit v1.2.1