Firmware for the Biomimetic Millisystems Lab 802.15.4 USB basestation