FastAPI + SQLAlchemy + asyncio TCP 服务器,支持设备管理、实时定位、 告警、考勤打卡、蓝牙记录、指令下发、TTS语音播报等功能。
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",
|
|
]
|