The whole code in this function needs to be formatted according to the Contiki code style guidelines.