adafruit / Wippersnapper_Protobuf

Protocol buffer messages for Adafruit.io WipperSnapper Beta
MIT License
0 stars 2 forks source link

Add I2C Scan Response Address #53

Closed brentru closed 3 years ago

brentru commented 3 years ago

An I2CScanRequest message may send more than one address field. This pull request adds a which_address_found field to the device's I2CScanResponse to indicate which address contains an I2C device.

brentru commented 3 years ago

Failing on backward-compatibility b/c I am switching from address_found boolean to using the new uint32 address_found, -1 is not a valid i2c address and thus will indicate failure to find an address.