Skip to content

Conversation

Pallob-Gain
Copy link
Contributor

Packet_Device is a lightweight, event-driven communication protocol built on top of Arduino’s Stream interface.
It provides a secure, packet-based layer for transferring raw bytes between two devices over any underlying transport supported by the Stream API (e.g., UART, SPI, I²C/Wire, BluetoothSerial, etc.).

Conceptually, it follows a layered design:

Stream acts as the transport layer

Packet_Device acts as the application protocol layer, handling packet framing, CRC-based data integrity, and event-driven dispatch.

Features

Works over any Stream transport

CRC-16 integrity checks for secure data transfer

Event-based architecture for efficient data handling

Supports raw byte streams, arrays, and structured data

Flexible for command/control and bulk data transfer

Compatible with a Node.js client for PC ↔ MCU communication

@github-actions github-actions bot added the topic: submission Add library to the list label Aug 14, 2025
Copy link
Contributor

Arduino Lint has suggestions for possible improvements to https://github.com/Pallob-Gain/packet_device:

Linting library in packet_device
INFO: No header file found matching library name (Packet_Device.h). Best practices are for primary header filename to   
      match library name.                                                                                               
      See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format            
      (Rule LS008)                                                                                                      
WARNING: No license file found.                                                                                                                 
         See:                                                                                                                                   
         https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository
         (Rule LD002)                                                                                                                           

Linter results for project: 0 ERRORS, 1 WARNINGS

-------------------

Linting sketch in packet_device/examples/ESP32_Serial_PC

Linter results for project: no errors or warnings

-------------------

Linter results for projects: 0 ERRORS, 1 WARNINGS

@github-actions github-actions bot merged commit 8823b03 into arduino:main Aug 14, 2025
11 checks passed
github-actions bot pushed a commit that referenced this pull request Aug 14, 2025
Copy link
Contributor

Your submission has now been accepted! Thanks for your contribution to the Arduino Library Manager index.

The library(s) will be available for installation via Library Manager within a day's time.

You can check the logs from the Library Manager indexer for your library(s) here:
http://downloads.arduino.cc/libraries/logs/github.com/Pallob-Gain/packet_device/

@Pallob-Gain
Copy link
Contributor Author

Updated with the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: submission Add library to the list
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant