updated waspmote SERIS code