Development

Communication / LoRa:

» SX 12: RSSI 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

Required Materials

1 x Waspmote PRO
1 x Battery
1 x MiniUSB wire
1 x SX1272 module (LoRa)
1 x At least one sender to check this receiving code

Notes

- The SX1272 module is provided with a special 4.5 dBi antenna, which enables maximum range. The only exception is Smart Parking; in this case the antenna is smaller, 0 dBi, to fit inside the enclosure.
- It is not recommended to work without an antenna screwed to the module. The module could be damaged due to RF reflections.
- The SX1272 module can only be used in special Waspmote units which have been modified to drive the SPI pins to SOCKET0. (only SOCKET0 is available for SX1272)
- This module does not save the configuration. So, the network settings as the mode or the channel MUST be configured every time it is switched on.
- This example can be executed in Waspmote v12 and Waspmote v15

Code

/*  
 *  ------ [SX_12] - RX LoRa getting RSSI -------- 
 *
 *  Explanation: This example shows how to configure the semtech 
 *  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
 *  
 *  Copyright (C) 2014 Libelium Comunicaciones Distribuidas S.L. 
 *  http://www.libelium.com 
 *  
 *  This program is free software: you can redistribute it and/or modify  
 *  it under the terms of the GNU General Public License as published by  
 *  the Free Software Foundation, either version 3 of the License, or  
 *  (at your option) any later version.  
 *   
 *  This program is distributed in the hope that it will be useful,  
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of  
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
 *  GNU General Public License for more details.  
 *   
 *  You should have received a copy of the GNU General Public License  
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.  
 *  
 *  Version:           0.1
 *  Design:            David Gascón 
 *  Implementation:    Covadonga Albiñana, Yuri Carmona
 */

// Put your libraries here (#include ...)
#include <WaspSX1272.h>

// status variable
int8_t e;


void setup() 
{
  // init USB port
  USB.ON();
  USB.println(F("SX_12 example"));
  USB.println(F("Semtech SX1272 module RX in LoRa getting RSSI and SNR"));

  USB.println(F("----------------------------------------"));
  USB.println(F("Setting configuration:")); 
  USB.println(F("----------------------------------------"));

  // init SX1272 module
  sx1272.ON();

  // Select frequency channel
  e = sx1272.setChannel(CH_16_868);  
  USB.print(F("Setting Channel CH_16_868.\t state "));  
  USB.println(e);  

  // Select implicit (off) or explicit (on) header mode
  e = sx1272.setHeaderON();
  USB.print(F("Setting Header ON.\t\t state "));  
  USB.println(e); 

  // Select mode: from 1 to 10
  e = sx1272.setMode(3);
  USB.print(F("Setting Mode '3'.\t\t state ")); 
  USB.println(e);  

  // Select CRC on or off
  e = sx1272.setCRC_ON();
  USB.print(F("Setting CRC ON.\t\t\t state "));
  USB.println(e); 

  // Select output power (Max, High or Low)
  e = sx1272.setPower('H');
  USB.print(F("Setting Power to 'H'.\t\t state "));  
  USB.println(e);  

  // Select the node address value: from 2 to 255
  e = sx1272.setNodeAddress(8);
  USB.print(F("Setting Node Address to '8'.\t state "));
  USB.println(e); 
  USB.println();

  delay(1000);  

  USB.println(F("----------------------------------------"));
  USB.println(F("Receiving:")); 
  USB.println(F("----------------------------------------"));
}


void loop()
{
  // receive packet
  e = sx1272.receivePacketTimeout(10000);

  // check rx status
  if( e == 0 )
  {
    USB.println(F("\nShow packet received: "));

    // show packet received
    sx1272.showReceivedPacket();
  }
  else
  {
    USB.print(F("\nReceiving packet TIMEOUT, state "));
    USB.println(e, DEC);  
  }

  ///////////////////////////////
  // 1. Get SNR
  ///////////////////////////////  
  e = sx1272.getSNR();

  // check status
  if( e == 0 ) 
  {
    USB.print(F("Getting SNR \t\t--> OK. "));
    USB.print(F("SNR current value is: "));
    USB.println(sx1272._SNR);
  }
  else 
  {
    USB.println(F("Getting SNR --> ERROR"));
  } 

  ///////////////////////////////
  // 2. Get channel RSSI
  ///////////////////////////////
  e = sx1272.getRSSI();

  // check status
  if( e == 0 ) 
  {
    USB.print(F("Getting RSSI \t\t--> OK. "));
    USB.print(F("RSSI current value is: "));
    USB.println(sx1272._RSSI);

  }
  else 
  {
    USB.println(F("Getting RSSI --> ERROR"));
  } 

  ///////////////////////////////
  // 3. Get last packet received RSSI
  ///////////////////////////////
  e = sx1272.getRSSIpacket();

  // check status
  if( e == 0 ) 
  {
    USB.print(F("Getting RSSI packet \t--> OK. "));
    USB.print(F("Last packet RSSI value is: "));    
    USB.println(sx1272._RSSIpacket);
  }
  else 
  {
    USB.println(F("Getting RSSI packet --> ERROR"));
  } 
  
  USB.println();
}



Output

H#
SX_12 example
Semtech SX1272 module RX in LoRa getting RSSI and SNR
----------------------------------------
Setting configuration:
----------------------------------------
Setting Channel CH_16_868. state 0
Setting Header ON. state 0
Setting Mode '3'. state 0
Setting CRC ON. state 0
Setting Power to 'H'. state 0
Setting Node Address to '8'. state 0

----------------------------------------
Receiving:
----------------------------------------

Show packet received:
==============================
dest: 8
src: 2
packnum: 230
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 231
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 232
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 233
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 234
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 235
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -52


Show packet received:
==============================
dest: 8
src: 2
packnum: 236
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 237
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 238
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 239
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 240
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 241
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 9
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 242
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 243
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 9
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 244
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 245
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -52


Show packet received:
==============================
dest: 8
src: 2
packnum: 246
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -104
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 247
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 248
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -104
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 249
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 250
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -104
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 251
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 252
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -59


Show packet received:
==============================
dest: 8
src: 2
packnum: 253
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -57


Show packet received:
==============================
dest: 8
src: 2
packnum: 254
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -103
Getting RSSI packet --> OK. Last packet RSSI value is: -59


Show packet received:
==============================
dest: 8
src: 2
packnum: 255
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 5
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 0
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -104
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 1
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -57


Show packet received:
==============================
dest: 8
src: 2
packnum: 2
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 3
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 4
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 5
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 6
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 7
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 8
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 5
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 9
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 10
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 11
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 12
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 13
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -99
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 14
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 5
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 15
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 16
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -53


Show packet received:
==============================
dest: 8
src: 2
packnum: 17
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 18
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 19
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 20
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 21
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 22
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -57


Show packet received:
==============================
dest: 8
src: 2
packnum: 23
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -57


Show packet received:
==============================
dest: 8
src: 2
packnum: 24
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 25
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 26
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 27
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 28
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 9
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 29
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 30
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 31
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 32
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 33
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 34
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 35
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 36
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 37
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 38
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 39
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 40
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 41
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -57


Show packet received:
==============================
dest: 8
src: 2
packnum: 42
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 6
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 43
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 44
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -58


Show packet received:
==============================
dest: 8
src: 2
packnum: 45
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -57


Show packet received:
==============================
dest: 8
src: 2
packnum: 46
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -59


Show packet received:
==============================
dest: 8
src: 2
packnum: 47
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 48
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -57


Show packet received:
==============================
dest: 8
src: 2
packnum: 49
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -57


Show packet received:
==============================
dest: 8
src: 2
packnum: 50
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -57


Show packet received:
==============================
dest: 8
src: 2
packnum: 51
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 52
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 53
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -107
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 54
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -61


Show packet received:
==============================
dest: 8
src: 2
packnum: 55
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -54


Show packet received:
==============================
dest: 8
src: 2
packnum: 56
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -56


Show packet received:
==============================
dest: 8
src: 2
packnum: 57
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 58
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 8
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -55


Show packet received:
==============================
dest: 8
src: 2
packnum: 59
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 9
Getting RSSI --> OK. RSSI current value is: -106
Getting RSSI packet --> OK. Last packet RSSI value is: -61


Show packet received:
==============================
dest: 8
src: 2
packnum: 60
length: 26
retry: 0
payload (HEX): 546869735F69735F615F6E65775F6D657373616765
payload (string): This_is_a_new_message
==============================
Getting SNR --> OK. SNR current value is: 7
Getting RSSI --> OK. RSSI current value is: -105
Getting RSSI packet --> OK. Last packet RSSI value is: -59

...

Quick Publish: