Calling wkcomm_poll through an indirect hook so we can call it from the VM without creating a dependency. Also added some code for run level (still unused).
Keep polling radio when the VM panics to allow reprogramming.
Stop executing Java code, handling wkpf commands, and wkpf updates when run level is unequal to RUNLEVEL_RUN
Added empty library for reprogramming
Align app infusion archive for AVR on SPM_PAGESIZE instead of hardcoded 256.
Added first version of refactored reprogramming protocol. Still lacks implementation for writing to flash.
Refactoring main() function by putting common code in vm.c. Changed run levels to just run/reprogram/panic. Implement reboot as a platform specific function in wkreprog.
Add reprogramming code for AVR. (compiles, but still untested)
Implement reboot function in wkreprog for posix platform.
Moved a bunch of old configs to deprecated folder.
For native target, don't convert the infusion archive to temp.c file and include it in the VM, but read the infusion file from disk instead.
Reprogramming implementation for native platform (not tested yet), plus a small change to the first message of the reprogramming protocol. (send the length to be uploaded from the master to the node, and put a OK or TOO_LARGE error in the reply)
Added native implementation for uart library and moved wkcomm_zwave code to be common.
So far it only seems to work if we select() with a large timeout (10ms works, 1ms doesn't), so something's not right yet.