-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
should be able to have an option on the controller to broadcast out a message to nearby robots requesting their mac address. if successful, add mac address and name of robot/team to a vector stored in EEPROM (although esps don't have eeprom i think so its just in a section of flash) so don't have to sync every time.
potential issues:
- eeprom is only 512 bytes, so if we're storing team names space can run out really fast
- could have character limit for team name? maybe limit to just a 4 letter acronym like advanced projects?
- would also let us standardize the block size of a team's info and not have to use null-terminators - can structure as a circular queue where least recently added macs are popped out to RAM so they stay in memory at least until controller is turned off,
- if so, could add a power button to controller so that we can only update data on start and end pointers when controller is turned off
- would be nice for wear-leveling
- add a dirty bit maybe to track if a write is necessary for those pointers
- could have character limit for team name? maybe limit to just a 4 letter acronym like advanced projects?
- with 512 bytes and 10 byte blocks can have 50 teams stored and start and end pointers
also necessitates that we can manually delete addresses in debug menu.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels