Development

Examples:

Communication / WiFi

» Wifi 08: Join AP (auto store mode)

Last edition: Jan 10th, 2017 |

This example shows how to join to an AP in AUTO STORE mode. In this mode the module tries to join the access point that matches the stored SSID, passkey and channel. In this particular example, the module tries to match a known network with static IP so as to improve the timing of the joining process. However, it could be possible to join via DHCP protocol (non-static ip)

» Wifi 26c: HTTP GET (to Meshlium)

Last edition: Jan 10th, 2017 |

This example shows how to send a Waspmote Frame to Meshlium using an HTTP query. The user only has to insert the IP address (or the URL), the port and then use the proper function indicating the frame.buffer pointer and frame.length. When the Meshlium Parser receives the info, the different sensor values are stored in the Data Base automatically.

» Wifi 31: Update firmware

Last edition: Jan 10th, 2017 |

This example shows how to update firmwares version from Libelium's server. It is necessary to select the correct AP setting and socket in Waspmote where the WiFi module is plugged to.

» Wifi 32: OTA

Last edition: Jan 10th, 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.