File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 1- """Base for Plugwise messages."""
1+ """
2+ Message controller for USB-Stick
3+
4+ The controller will:
5+ - handle the connection (connect/disconnect) to the USB-Stick
6+ - take care for message acknowledgements based on sequence id's
7+ - resend message requests when timeouts occurs
8+ - holds a sending queue (fifo)
9+ - passes received messages back to message processor (stick.py)
10+ - execution of callbacks after processing the response message
11+
12+ """
213
314from datetime import datetime , timedelta
415import logging
Original file line number Diff line number Diff line change 1- """Transform Plugwise message from wire format to response message object."""
1+ """
2+ Data parser for USB-Stick
3+
4+ The parser will:
5+ - buffer receiving data
6+ - filter out received zigbee routing data
7+ - collect message data by detecting header and footer
8+ - detect message type based on message ID or fixed sequence ID
9+ - validate received data on checksum
10+ - decode collected data into a response message instance
11+ - pass over received messages to message_processor (controller.py)
12+
13+ """
214
315import logging
416
You can’t perform that action at this time.
0 commit comments