Changes

3 bytes added ,  13:47, 2 May 2018
Line 305: Line 305:  
Sending information is quite simple:
 
Sending information is quite simple:
   −
c8y:send('103,'..c8y.ID..','..DEVICE_NAME..','..DEVICE_TYPE)
+
  c8y:send('103,'..c8y.ID..','..DEVICE_NAME..','..DEVICE_TYPE)
    
By using „c8y:send“ function, first string contains request code, which was defined in the template, earlier. Then comma must appear after each value. The above line shows how we update device name and device type with our own.
 
By using „c8y:send“ function, first string contains request code, which was defined in the template, earlier. Then comma must appear after each value. The above line shows how we update device name and device type with our own.
0

edits

Navigation menu