Development v12

Warning - Product Update

All the resources present on this section belong to Waspmote v12, Waspmote Plug & Sense! v12 and Meshlium v3.8.

If you have a Waspmote v15, Waspmote Plug & Sense! v15 or Meshlium v4.0 please go to the new Development Section.

Check what is your version and what are the differences between the old and the new one in this document.


Communication / GPRS+GPS

» GPRS SIM928A 18: I/O control by TCP

Last edition: Jan 10th, 2017 | Categories: Communication, GPRS+GPS

This example shows how to manage I/O pins of Waspmote using a TCP/IP connection for sending commands. These commands are: - READ/n_analog_input for read an analog pin - WRITE_1/n_digital_output for put '1' in a digital pin - WRITE_0/n_digital_output for put '0' in a digital pin - SLEEP/ for send the Waspmote to sleep 1 hour