This is a general cleanup of things like code style issues and code structure of the STM32w port to make it more like the rest of Contiki is structured.
The added function let a process to make the system go
into deep sleep for maximum power saving.
The udp-ipv6-example shows how to use these new functions.