Development and functional verification of nodes of a wireless network for energy management