Close

Update 4: Software Progress, UI and auto-updating

A project log for Secure Mesh Async Communication (SMAC)

A low cost communication device, similar to a tablet, this can function without an energy grid or a network infrastructure and is secure.

ilia-baranovIlia Baranov 04/18/2016 at 00:080 Comments

April 17, 2016 by Ilia Baranov

Software update time! Been working on getting the basic backbone of the software working, and so far things have been going really well. Things we have learned this session:

Over architecture for system startup now looks like this:

  1. ESP8266 boots, loads Meshcom firmware
  2. Starts AP mode, tries to connect to wifi (for testing, updating, timekeeping)
  3. Shows user HTML page, asks for login details
  4. When user sends message, uses shared key, encrypts, and sends TCP packet with header info (containing device data, target, TTL, etc
  5. Background functions (using the timer library) routes other packets, updates public info, etc.

Code has been updated, and contains some helpful functions (for Windows) for auto updating content, etc. Check it out! https://github.com/meshcom/software

Discussions