layrz_protocol 3.2.0
layrz_protocol: ^3.2.0 copied to clipboard
Layrz Link Protocol
Changelog #
3.2.0 #
- Added C++
TcpServerandHttpServer(Tier-3layrz_protocol_serversCMake target) mirroring Go's server API; gated byLAYRZ_PROTOCOL_SERVERSmacro - Added Go packet subpackages (
packets/client,packets/server,packets/ai,packets/trips,packets/helpers) with decoder, union, and helper types - Added Python asyncio
TcpServerandHttpServerwithOnNewPacket,OnDecodeError,OnAuthenticate, andOnPullCommandscallbacks - Added Dart pure-Dart
TcpServerandHttpServerunderlib/servers/; removed Flutter/drift database dependency - Refactored Dart package: removed
lib/src/nesting, flattened all packet paths tolib/packets/,lib/clients/,lib/servers/,lib/utils/ - Added
split_client_framesandhandle_client_inputto C++ core parser for server-side frame decoding - Added server examples for Go, Python, Dart, and C++ under each language's
examples/servers/directory - Added global
make coveragetarget aggregating per-language coverage reports with 80% threshold enforcement
3.1.2 #
- Fixed Dart TCP client
<AuPacket>handling usingreturninstead ofcontinue, which caused<AsPacket>to be missed when both arrived in the same TCP chunk - Added Dart TCP client IPv6 preference: hostname resolution now picks an AAAA record when available, falling back to A
3.1.1 #
- Fixed Go
BleAdvertisement.Latitude,Longitude, andAltitudefields changed fromfloat64to*float64so devices without GPS fix correctly report absent coordinates asnilinstead of0.0 - Fixed Go
<Pb>packet parser to return an error (rather than silently zero-ing) when coordinate fields are present but non-numeric - Fixed Go
<Pb>parser to normalize MAC addresses to uppercase colon-separated format (AA:BB:CC:DD:EE:FF) after CRC validation
3.1.0 #
- Added full C++ implementation (
cpp/) with CMake C++17 build, covering all packet types (Pa,Pb,Pc,Pd,Pi,Pm,Pr,Ps,Ab,Ac,Ao,Ar,As,Au,Ts,Te,Im), CRC-16/X-25, BLE advertisement codec, extras parser, and HTTP/TCP transports - Added Go v3 implementation with full protocol parity against the Python source of truth
- Fixed Dart parity issues against Python wire format (field order, CRC scope,
<Te>and<Ts>packets) - Migrated Python type checker from
mypytoty; bumpedrequires-pythonto>=3.13
3.0.7 #
- Changes on Apache-2.0 license format (Keeping only the appendix with copyright holder)
3.0.6 #
- Crated
<Im>packet for AI streaming messages
3.0.5 #
- Fixes on Dart package for
<Te>packet parsing (CRC and field order)
3.0.4 #
- Updated
<Te>packet to include additional metadata fields
3.0.3 #
- Renamed
<Pt>to<Ts>and<Pe>to<Te>for Trip Start and Trip End packets
3.0.2 #
- Added
<Pt>and<Pe>packets
3.0.1 #
- Fixes on Golang AuPacket deprecation warning
3.0.0 #
- Major Protocol update
2.7.7 #
- Sync of Golang
2.7.6 #
- Changes on documentation
2.7.5 #
- Sync of Dart
2.7.4 #
- Initial public release