summaryrefslogtreecommitdiff
path: root/src/config.h
AgeCommit message (Collapse)Author
2020-06-22Optimizations for master data and command routing handling and corresponding ↵Aditya Naik
changes for slave data and command decoding. Master no longer decodes data in order send individual datapoints in a packed data_message field individually, but stores and forwards the encoded data message and MDR to the slaves during routing. This significantly optimizes data routing by reducing the time taken to decode and encode every single packed datapoint. Task List: None
2020-05-28This CL adds bookkeeping structures for routing, including the routing ↵Aditya Naik
buffer, routing index buffer, and the routing table. It also adds the main routing function, slave-side implementation of receiving subscribed data and master implementation of managed data in the routing buffer. This CL supports only routing data (branch 1) and only honors subscriptions based on module ID. CL also adds minor changes to the dataflow process, including inserting data into the routing buffer and incrementing routing pointer. CL also adds a configuration macro MASTER_I2C_BUS_INTERVAL in config.h to delay master I2C operations in order to minimize I2C timeout errors on the bus. Author: Aditya Naik Reviewers: None Task list: ef9e3917106842259ce2c32f40d7e9be 2f0c741a66db4b79904e295356b657cd
2020-04-09Added cient code to master hsAditya Naik