WSN's coding