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

Get MAC Address from the RSSI Scanned motes - rssi-scanner-cc2420 example #2654

Open alefelipeoliveira opened 4 years ago

alefelipeoliveira commented 4 years ago

Hello everyone,

I am using the rssi-scanner-cc2420 mote example in cooja, and contiki/examples/ipv6/simple-udp-rpl/broadcast-example.c for broadcast. I could detect RSSI from each mote, but how could I get and print then MAC address ? Any hint about this? tks a lot!

sploitem commented 3 years ago

Just print sender_addr in receiver function.