Adds a wrapper allowing for multiple types of initialization requests.
Broker: fills I2CDEVICENAMEInitRequest, encodes into an I2CDeviceInitRequest message
Device: decodes I2CRequest, gets I2CDeviceInitRequest, determines tag (type) of initialization request.
Why? Otherwise, the device would need to check each i2c device request type individually (slow) or by the address (not a great idea - address could have been user-defined)
Adds a wrapper allowing for multiple types of initialization requests.
Broker: fills I2CDEVICENAMEInitRequest, encodes into an
I2CDeviceInitRequest
message Device: decodes I2CRequest, getsI2CDeviceInitRequest
, determines tag (type) of initialization request.Why? Otherwise, the device would need to check each i2c device request type individually (slow) or by the address (not a great idea - address could have been user-defined)