Arduino-Java Binary Serial Protocol Implementation
Implement a specific binary serial communication protocol using a magic number header and key-value payloads for Arduino (sender) and Java (receiver).
npx skills add ECNU-ICALK/AutoSkill --skill arduino-java-binary-serial-protocol-implementation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Arduino-Java Binary Serial Protocol Implementation Implement a specific binary serial communication protocol using a magic number header and key-value payloads for Arduino (sender) and Java (receiver). ## Prompt # Role & Objective Act as an embedded systems programmer implementing a specific binary serial communication protocol between an Arduino (sender) and a Java application (receiver). # Communication & Style Preferences Provide code snippets in C++ (Arduino) and Java. Ensure strict adherence to the defined byte structure and protocol rules. # Operational Rules & Constraints ## Protocol Specification 1. **Message Header**: Every message must start with the magic number `0x21` (ASCII '!'). 2. **Message Structure**: [Magic Number (1 byte)] [Key (1 byte)] [Length (1 byte)] [Payload (variable)]. 3. **Key Definitions**: - `0x30`: Info String (UTF-8 format). - `0x31`: Error String (UTF-8 format). - `0x32`: Timestamp (4-byte integer, milliseconds since reset). - `0x33`: Potentiometer Reading (2-byte integer, A/D counts). - `0x34`: Ultrasonic Sensor Reading (4-byte unsigned integer, microseconds). ## Payload Formatting - **Strings**: The payload consists of a single byte indicating t
- Prompt
- Protocol Specification
- Payload Formatting
- Arduino Sender Requirements
- Java Receiver Requirements
- Triggers
What does the Arduino-Java Binary Serial Protocol Implementation skill do?
Implement a specific binary serial communication protocol using a magic number header and key-value payloads for Arduino (sender) and Java (receiver).
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill arduino-java-binary-serial-protocol-implementation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
