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:

Communication / LoRa

» SX 01: Configure LoRa

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module registers and read the settings used

» SX 02a: TX

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then send packets with plain-text payloads.

» SX 02b: RX

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then receive packets with plain-text payloads

» SX 03a: TX ACK

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the semtech module in LoRa mode and then send packets with plain-text payloads waiting for the acknowledgement (ACK) from the receiver

» SX 03b: RX ACK

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then receive packets with plain-text payloads sending an acknowledgement (ACK) to the sender.

» SX 04a: TX ACK wRetries

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then send packets with plain-text payloads waiting for the acknowledgement (ACK) from the receiver. In the case it fails a number of retries is specify to repeat the sending

» SX 04b: RX ACK wRetries

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then receive packets with plain-text payloads sending an acknowledgement (ACK) to the sender. The sender retries the sending for several attempts in the case the ACK is not received

» SX 05a: TX Frame

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then send packets with Waspmote Frames within the payload

» SX 05b: RX Frame

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then receive packets with Waspmote Frames within the payload

» SX 05c: TX Frame Meshlium

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then send packets to Meshlium. For this purpose, Waspmote Frames must be used.

» SX 06a: TX Frame ACK

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then send packets with Waspmote Frames within the payload using ACKs.

» SX 06b: RX Frame ACK

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then receive packets with Waspmote Frames within the payload sending back an ACK to the sender

» SX 06c: TX Frame ACK Meshlium

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then send packets to Meshlium. For this purpose, Waspmote Frames must be used.

» SX 07a: TX Frame ACK wRetries

Last edition: Dec 22nd, 2017 | Categories: Communication, LoRa

This example shows how to send a Waspmote Frame via SX1272 module. Steps performed: - Configure the LoRa mode - Create a new Waspmote Frame - Send a packet

» SX 07b: RX Frame ACK wRetries

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to receive a Waspmote Frame via SX1272 module. Steps performed: - Configure the LoRa mode - Receive a packet sending an ACK in that case

» SX 07c: TX Frame ACK wRetries Meshlium

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to send a Waspmote Frame via SX1272 module to MESHLIUM. Steps performed: - Configurate the LoRa mode - Create a new Waspmote Frame - Send a packet to Meshlium

» SX 08a: TX encrypted

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to encrypt a plain text message and then send the ciphertext via SX1272 module. Steps performed: - Configurate the LoRa mode - Encrypt the text message - Send a packet with the encrypted message

» SX 09a: TX encrypted Frame

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to send an encrypted Waspmote Frame using the SX1272 module. This encrypted frame can be sent to Meshlium when the node has been registered with the proper AES key. Steps performed: - Configurate the LoRa mode - Create a new Waspmote Frame - Encrypt the Waspmote Frame - Send a packet with the encrypted frame

» SX 10: RX from all nodes

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then receive packets from any node. This code works as a network sniffer because independently the packet is sent to, this module gets it and shows it.

» SX 11: RX wACK from all nodes

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the semtech module in LoRa mode and then receive packets from any node. When a packet is received, an ACK is sent back to the sender. This code works as a network sniffer because independently the packet is sent to, this module gets it and shows it.

» SX 12: RSSI LoRa

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to configure the SX1272 module in LoRa mode and then receive packets. When a new packet is received the SNR, channel RSSI and last received packet RSSI are measured from the module

» SX 14: Current Supply

Last edition: Jan 10th, 2017 | Categories: Communication, LoRa

This example shows how to set the maximum Over Current Protection (OCP) level. By default, the OCP is disabled. This example also permits to get the OCP current value in mA units.