Source code for chess_link

import time
import logging
import os
import platform
import sys
import struct
import threading
import queue
import json
import importlib
import copy

import chess_link_protocol as clp

# See document `magic-board.md <https://github.com/domschl/python-mchess/blob/master/mchess/magic-board.md>_
# for details on the Chess Link protocol.

"""
The Chess Link Protocol

```
<V56>
2018-08-31 11:07:31,141 DEBUG ChessLinkBluePy Sending: <b'\xd6\xb5\xb6'>
2018-08-31 11:07:31,212 DEBUG ChessLinkBluePy BLE: Handle: 55, data: b'v\xb01\xb0\xb374'
2018-08-31 11:07:31,212 DEBUG ChessLinkBluePy BLE received [v010374]
2018-08-31 11:07:31,212 DEBUG ChessLinkBluePy bluepy_ble received complete msg: v010374
```
"""