325 srv_send(s, (char *)"DEVICE ADD type Add device (RC433/DHT/I2C/SPI)"); |
325 srv_send(s, (char *)"DEVICE ADD type Add device (RC433/DHT/I2C/SPI)"); |
326 srv_send(s, (char *)"DEVICE DEL uuid Delete device by uuid"); |
326 srv_send(s, (char *)"DEVICE DEL uuid Delete device by uuid"); |
327 srv_send(s, (char *)"DEVICE LIST List all devices"); |
327 srv_send(s, (char *)"DEVICE LIST List all devices"); |
328 srv_send(s, (char *)"DEVICE GET uuid Read device by uuid parameters"); |
328 srv_send(s, (char *)"DEVICE GET uuid Read device by uuid parameters"); |
329 srv_send(s, (char *)"DEVICE PUT uuid Write device by uuid parameters"); |
329 srv_send(s, (char *)"DEVICE PUT uuid Write device by uuid parameters"); |
|
330 srv_send(s, (char *)"DEVICE JSON <uuid> Json list all or a single device"); |
330 srv_send(s, (char *)"."); |
331 srv_send(s, (char *)"."); |
331 return 0; |
332 return 0; |
332 } |
333 } |
333 |
334 |
334 if (strcmp(opt, (char *)"LIST") == 0) { |
335 if (strcmp(opt, (char *)"LIST") == 0) { |