Amazing technological breakthrough possible @S-Logix pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • 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);