This project is a continuation of the Flash Driver for Mooltipass Project.
I decided to split these two parts into separate projects better organize thoughts and project logs. This project uses the underlying Flash Driver to write the data structures into memory.
This project will provide / link to details about / to the node management firmware for the Mooltipass Project. The initial design is to use a double linked list to manage credential sets. Each credential set is composed of a Parent Node, which stores 'service' information, and a Child Node, which stores the credential information. Upon community request, I will also be adding a Node structure to store 'large' data such as key files etc.. I will also be implementing user profiles (up to 16 per Mooltipass) which will allow a user to store a list of favorites.
After many hours of writing code and debugging the control logic parent node insertion (all cases) seems to validate. I began testing parent node removal however the addresses in the surrounding nodes are not being updated (properly). I will be taking a closer look into this issue this weekend. Once the delete functionality is complete I can re-write the update function to allow changing the service name. I am hoping to have the parent node functionality verified this weekend. From there it should be easy to port to the child node functions.
UPDATE (for the update): The parent node functionality has been verified (after writing over ~2500 lines). A few aspects of it that need rework are when to scan for the next free node initially (moving out of handle init to first occurrence of 'creating' which actually needs the nextFreeNode). This should be a quick update. The moving on to porting the parent node functionality to child node functionality. This will require a bit more than just a port, but it will come down to time to implement / port vs efficiency of code. I am trying to get this done as fast as possible so I can upload it to the main repo for all to use.