Implementation of Solar-aware distributed flow for Contiki