In-sensor analytics and energy-aware self-optimization in a wireless sensor node | IEEE Conference Publication | IEEE Xplore