adafruit / adafruit/Adafruit_Wippersnapper_Arduino
Implement I2C Probe Scanning across full address space
- Dominant language
- C++
- Stars
- 54
- Forks
- 56
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 11
Description
Desired behavior in v2 when [Probe.addresses](https://github.com/adafruit/Wippersnapper_Protobuf/blob/api-v2/proto/wippersnapper/i2c.proto#L49) is empty is to scan across the AddressSpace (bus)
If probe.address is _not_ empty, we scan for the specific addresses across the `AddressSpace`s.
Currently, this functionality is silenced:
https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/blob/migrate-api-v2/src/components/i2c/hardware.cpp#L186-L188
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in src/components/i2c/hardware.cpp around lines 186-188 and read the v2 Probe.addresses definition in proto/wippersnapper/i2c.proto. Trace how the AddressSpace bus and probe addresses are handled. Done means an empty probe.addresses scans the full bus address space, while populated addresses scan only those specific addresses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100