some sub-types and constants applicable to GapAdvertisingParams could be extracted to BLEProtocol.h
Open
enhancement
mirrored
- Dominant language
- C++
- Stars
- 81
- Forks
- 71
- PR merge metrics
- No merged PRs in 30d
Description
`AdvertisingType_t` can encapsulated into a struct and possibly be moved.
we can create types for advertising interval and timeout.
constants defining min and max for the interval and timeout could be extracted.
Contributor guide
Research direction
Start by inspecting GapAdvertisingParams, AdvertisingType_t, and BLEProtocol.h to understand their current relationships. Determine whether the advertising interval and timeout types and their minimum and maximum constants belong in BLEProtocol.h, then verify that the existing API remains consistent after the extraction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100