ykc-parser

Parse cloud quick-charge protocol messages into structured JSON with CRC16 verification.

Updated Dec 29, 2025
One-click install
npx skills add https://github.com/DaYePython/ykc-parser --skill ykc-parser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ykc-parser
Source: https://github.com/DaYePython/ykc-parser/tree/main
Command: npx skills add https://github.com/DaYePython/ykc-parser --skill ykc-parser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

解析云快充报文的十六进制输入,转换为结构化的JSON输出,便于调试与集成。

Core Features & Use Cases

  • 支持多种帧类型的详细解析(登录、实时数据、握手等),并在消息体中提取字段。
  • 实现 CRC16 校验(Modbus),在校验失败时仍继续解析并给出警告。
  • 支持 BCD、BIN、ASCII 等数据格式转换,版本/时间字段等按协议规则处理。
  • 输出标准化 JSON,便于下游分析、监控与告警。

Quick Start

Use the parser to convert a sample hex string into structured data with the provided Python script.

Frequently Asked Questions about ykc-parser

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse cloud quick-charge protocol hex messages into JSON?

The parser converts cloud quick-charge protocol hex strings into structured JSON by handling multi-frame parsing, CRC16 verification, and data-type conversion for V1.6 messages.

What is the best way to debug cloud charging platform messages?

The best way to debug cloud charging platform messages is converting raw hex protocol frames into standardized JSON, which extracts fields like login, real-time data, and handshake details for clear analysis.

Does the parser support CRC16 verification for V1.6 quick-charge frames?

Yes, the parser supports CRC16 Modbus verification for V1.6 quick-charge frames. It continues parsing and provides a warning if CRC16 verification fails, ensuring you still extract structured output.

Can I use Python to convert BCD and BIN data types from charging protocols?

Yes, you can use Python to convert BCD, BIN, and ASCII data types from charging protocol frames. The parser applies protocol rules to format version and time fields appropriately into the JSON output.

Why does my cloud quick-charge parser output a warning instead of failing?

Your parser outputs a warning instead of failing when CRC16 Modbus verification detects a mismatch. It deliberately continues parsing the hex frames to deliver structured JSON data despite the checksum error.