Weekly Progress Report: Replace GBridge

Week 12

Accomplishments

  • Move away from System Heap. Allows finer control over heap memory requirements.
  • Fix some memory leaks.
  • Remove Module removal from the discovery code. This was causing reliability problems since sometimes nodes do not respond when under load. Now can easily withstand > 5 mins of continuous sensor reading with < 50ms latency for each read.
  • Extract node discovery to separate thread with lower priority.
  • Optimize node discovery. Now using binary search to search current nodes.
  • Some performance testing. Was able to get a latency of around 45ms when reading the temp sensor value. (tested with around 10k requests)

Upcoming Targets

  • Make HDLC implementation more suitable for upstreaming.
  • Allow sending/receiving general networking packets to the 6LoWPAN network.
  • Create a conclusion video and blog post.

Potential Blockers

  • Finding alternate to MCUboot for flashing without restart.