emfcamp / Mk2-Firmware

Firmware that runs on the TiLDA v2 Badge
18 stars 36 forks source link

Remove Infrastructure code, add Yo! app. #126

Closed marekventur closed 7 years ago

marekventur commented 9 years ago

This branch is an attempt to clean up after EMF. This includes throwing away all the "infrastructure" stuff and rewriting most of the radio code.

The goal is to allow people to use the radio without having to jump through a million hoops (getting two radios, creating a certificate, recompiling the badges with the right public key, setting up python, setting up postgres, running all the server stuff, ...)

There is no always-on radio background-task anymore. This not only cuts down on code complexity but also removes one of the biggest battery drains. It will also allow us to send the whole CPU sleeping under certain conditions, but I haven't written that bit yet.

As an example to how this might look like I've added the world's most important app "Yo!". You press A, everyone around you gets a message.

Sorry for the big diff, but this PR includes #124 (which we really should merge)

ToDo: