Development

Examples:

Communication / 4G

» 4G 01: Enter pin code

Last edition: Jan 10th, 2017 |

This example shows how to check for the PIN code of the SIM card. In the case it is enabled, the program asks for the PIN code in order to enter it and access.

» 4G 08: Send frames to Meshlium

Last edition: Jan 10th, 2017 |

This example shows how to use HTTP requests to send Waspmote frames from Waspmote to Meshlium. Therefore, the Meshlium will be able to parse the sensor data and inset it into the database

» 4G 11: TCP client

Last edition: May 09th, 2017 |

This example shows how to open a TCP client socket to the specified server address and port. Besides, the functions for sending/receiving data are used.

» 4G 12: TCP server

Last edition: Jan 10th, 2017 |

This example shows how to open a TCP listening socket and waits for incoming connections. After correctly connecting to a TCP client, sending/receiving functions are shown

» 4G 13: UDP client

Last edition: Jan 10th, 2017 |

This example shows how to open a UDP client socket to the specified server address and port. Besides, the functions for sending/receiving data are used.

» 4G 14: UDP server

Last edition: Jan 10th, 2017 |

This example shows how to open a UDP listening socket and waits for incoming data from UDP clients. After correctly to a UDP client, sending/receiving functions are shown

» 4G 15: SSL sockets

Last edition: Feb 07th, 2017 |

This example shows how to use the SSL commands so as to open a TCP client socket to the specified server address and port

» 4G 20: OTA

Last edition: Jan 10th, 2017 |

This example shows how perform OTA programming using the 4G module. It is necessary to setup an FTP server and change the parameters defined in the example.