contiki-os / contiki

The official git repository for Contiki, the open source OS for the Internet of Things
http://www.contiki-os.org/
Other
3.71k stars 2.58k forks source link

change packet size of udp rpl example #2432

Open Sara-94 opened 6 years ago

Sara-94 commented 6 years ago

Hi everyone I trying to change packet size of udp-rpl example and i found the PACKET_PAYLOAD_LEN 30 (i don't know if it is bit or byte) the problem is when i change it there is nothing change in message window? Also i want to change initial energy but i cant found it, i just found that the level is from 1 to 31 but i don't understand what that mean? Can anyone help me, thanks.

JayanthEM commented 6 years ago

Hi, In rpl-udp example packet size is define as PACKET_PAYLOAD_LEN 30 which is in byte. Its the size of packet you can able to send. By default they are transmitting "Hello (seq id) from the client" . It will affect once you change the value.