- there might have to be a bunch of interfaces in the device package to handle nesting the manager itself
- this might not be true though as the device coordinator dictates what interfaces are needed, and already it doesn't really use any of the dm functionality
**What would it look like?**
Device coordinator would call NewDeviceManager,
### Outline of functionality
Hopefully by going over what is expected of each manager, it will become clear what the layout should look like
@ -95,6 +98,7 @@ Hopefully by going over what is expected of each manager, it will become clear w
- starting/stopping device managers as devices connect/disconnect
- maintaining a map of the devices and their status
- updating the server with this information at set intervals
- pass the I2C client to the device managers
**Device Manager**
- responsibilities
@ -118,5 +122,22 @@ Hopefully by going over what is expected of each manager, it will become clear w
- responsibilities
- provides specific functions that a certain sensor/controller might need
- i.e. pwm will need setFreq, DO might need a conversion etc.
- broadly will need access to I2C for comms
- serves
- Hyper Specific functions such as SetFreq() etc.
### Trying Bottom-Up
Right now, I am using some hybrid format which doesn't really make any sense. It goes