Research breakthrough possible @S-Logix pro@slogix.in

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to Access Node Id in Contiki?

Access node id in contiki

Contiki Cooja Steps for Accessing the Node ID

    Description:

        Once the basic layout and working environment are ready, you need to import the RFID tags, sensor nodes or any other wireless devices that are connected and have to communicate over the IoT. In wireless networking and IoT, these are known as Nodes or Motes. There are many types of motes in Cooja that can be programmed.

    • #include “sys/node-id.h” add this header file
    • Print as follows node_id
    • PRINTF(“\n Node ID %d \n”,node_id);