21 lines
417 B
Python
21 lines
417 B
Python
|
|
"""
|
||
|
|
KKS Bluetooth Badge Protocol
|
||
|
|
|
||
|
|
Provides packet parsing, building, and CRC computation for the
|
||
|
|
KKS Bluetooth badge communication protocol over TCP.
|
||
|
|
"""
|
||
|
|
|
||
|
|
from .constants import * # noqa: F401,F403
|
||
|
|
from .crc import crc_itu, verify_crc
|
||
|
|
from .parser import PacketParser
|
||
|
|
from .builder import PacketBuilder
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
# CRC
|
||
|
|
"crc_itu",
|
||
|
|
"verify_crc",
|
||
|
|
# Classes
|
||
|
|
"PacketParser",
|
||
|
|
"PacketBuilder",
|
||
|
|
]
|