Moteino Gateway/Node code