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.

Examples:

General / Frame

» Frame 01: ASCII simple

Last edition: Jan 10th, 2017 | Categories: General, Frame

This example creates an ASCII frame with simple data (only one field per sensor value) and shows it.

» Frame 02: ASCII multiple

Last edition: Jan 10th, 2017 | Categories: General, Frame

This example creates an ASCII frame with a multiple-field sensor value (GPS in this case) and shows it.

» Frame 03: Binary simple

Last edition: Jan 10th, 2017 | Categories: General, Frame

This example creates a BINARY frame with simple data (only one field per sensor value) and shows it.

» Frame 04: Binary multiple

Last edition: Jan 10th, 2017 | Categories: General, Frame

This example creates a BINARY frame with a multiple-field sensor value (Accelerometer in this case) and shows it.

» Frame 05: Set Frame Size

Last edition: Nov 13th, 2017 | Categories: General, Frame

This example shows how to set the maximum frame size automatically by giving the following parameters: XBee protocol, addressing, link encryption mode, AES encryption mode. NOTE: It is only useful when using XBee modules

» Frame 06: Set Frame Type

Last edition: Jan 10th, 2017 | Categories: General, Frame

This example shows how to set the frame Type. This field is included inside the frame's header in order to distinguish between different sort of frames

» Frame 07: Encrypted Frames

Last edition: Jan 10th, 2017 | Categories: General, Frame

This example shows how to encrypt a Waspmote Frame using the Encryption libraries. In this example AES-128 is used. But AES-192 and AES-256 are available too. Regarding the Block Cipher mode, only ECB is supported. And regarding the padding mode: only ZEROS padding is supported. The result for encryption function is stored in 'frame.buffer' and 'frame.length'