arduino / arduino/ArduinoCore-API

Feature request : Add parseHex() to serial library

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
306
Forks
150
PR merge metrics
No merged PRs in 30d

Description

It will be very useful when we want to pass hexadecimal values through the serial monitor. Could be easily implemented using sscanf with "%2" in the background over temporary buffer of next 2 valid hexadecimal ASCII characters

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the serial library and its existing value-parsing entry points first; no specific file or test is named in the issue. Determine the expected parseHex() input and output behavior from the current API, then add coverage for hexadecimal characters and invalid input so completion is verifiable.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, embedded-iot
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.