Research Article

An IoT-Based Network for Smart Urbanization

Algorithm 1

Proposed data structure format.
Algorithm:
Structure Reading {
     “Sensor” :{
       “System”:
         “Type”: {
           “Name”: “Sensor Name”,
           “ID”: “value”
         },
         “Placement of the Sensor”: {
           “Latitude”: “value”,
           “Longitude”: “value”,
         },
   },
     “Read_Value”: [“Reading Type”: “Reading Name”, “Value”: “value”, “units”:
   “value”],
   “Time”: “Time Stamp”,
   “Date”: “Date Stamp”,
   “Status”: {
     “Name”: “Device Status”,
     “Value”: {“NULL =0”, “OK =1”, “ERROR =2”, “UNKNOWN =3”},
  };
}