Development

Examples:

Communication / WiFi PRO

» WiFi PRO 03: Get IP

Last edition: Jan 10th, 2017 |

This example shows how to get information once the module is connected to the AP. The following settings are read: - IP address - GW address - Netmask address - DNS 1 address - DNS 2 address

» WiFi PRO 04: Static IP

Last edition: Jan 10th, 2017 |

This example shows how to set up static settings for the WiFi module. In this example it is shown how to set the static IP address, the DNS server address, the gateway address and the netmask address

» WiFi PRO 05: Ping

Last edition: Jan 10th, 2017 |

This example shows how to check connectivity to the Access Point and then it performs ping connections to the host address specified as input

» WiFi PRO 07: TCP client

Last edition: Feb 07th, 2017 |

This example shows how to set up a TCP client connecting to a TCP server and then shows how to send/receive information. Finally, the socket is closed

» WiFi PRO 08: TCP server

Last edition: Jan 10th, 2017 |

This example shows how to set up a TCP server indicating the local port and the number of clients that can connect to it.

» WiFi PRO 11: TCP UDP

Last edition: Jan 10th, 2017 |

This example shows how to set up the module to open both TCP and UDP sockets so it is able to send/receive simultaneously from both TCP and UDP servers

» WiFi PRO 14: HTTPS GET

Last edition: Feb 07th, 2017 |

This example shows how to perform HTTPS GET requests. It is mandatory to provide the trusted Certificate Authority (CA) in order to securely identify the server

» WiFi PRO 15: HTTPS POST

Last edition: Feb 07th, 2017 |

This example shows how to perform HTTPS POST requests. It is mandatory to provide the trusted Certificate Authority (CA) in order to securely identify the server

» WiFi PRO 16: Frame to Meshlium

Last edition: Jan 10th, 2017 |

This example shows how to perform HTTP GET requests to the Meshlium device. A special php file parses the fields and insert them into the Meshlium's database.

» WiFi PRO 18: FTP download

Last edition: Jan 10th, 2017 |

This example shows how to perform FTP download. The file transferred has previously been created in the server. The file is downloaded into the Waspmote's SD card.

» WiFi PRO 19: FTP make directory

Last edition: Jan 10th, 2017 |

This example shows how to perform FTP download. The file transferred has previously been created in the server. The file is downloaded into the Waspmote's SD card.

» WiFi PRO 21: OTA

Last edition: Feb 07th, 2017 |

This example shows how perform OTA programming using the WiFi module. It is necessary to specify the correct AP settings. Besides, it is necessary to setup an FTP server and change the parameters defined in the example.

» WiFi PRO 23: Set multiple SSID

Last edition: Jan 10th, 2017 |

This example shows how to configure several Access Point profiles in order to join different networks to improve the robustness of the deployment (i.e. the Waspmote moves inside a building)

» WiFi PRO 26: 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. Finally, the socket is closed