feat: KKS P240/P241 蓝牙工牌管理系统初始提交
FastAPI + SQLAlchemy + asyncio TCP 服务器,支持设备管理、实时定位、 告警、考勤打卡、蓝牙记录、指令下发、TTS语音播报等功能。
This commit is contained in:
20
app/protocol/__init__.py
Normal file
20
app/protocol/__init__.py
Normal file
@@ -0,0 +1,20 @@
|
||||
"""
|
||||
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",
|
||||
]
|
||||
Reference in New Issue
Block a user