Senet network coverage survey tool

Dependencies:   GeoPosition Senet_Packet lib_gps lib_mma8451q lib_mpl3115a2 lib_sx9500 lmic_MOTE_L152RC mbed-src

Senet Network Coverage Program

Test Senet Network coverage with various data rates and transmit powers

/media/uploads/shaunkrnelson/norammote.jpg

Configure Device ID and App Key

For your device to connect to the Senet Network, set Device ID and App Key in Commissioning.h

Commissioning.h

/* CHANGE: Device ID  registered to your Developer Portal account */
 u1_t reverse_DEVEUI[8]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; 

/* CHANGE: Device App Key. To get this select the device, click on Gear button at top left then select Device Edit */  
u1_t DEVKEY[16]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
                                                                        
/*NOCHANGE: Senet Developer Portal Application ID */ 
 u1_t reverse_APPEUI[8]={0x00,0x25,0x0C,0x00,0x00,0x01,0x00,0x01};
 

Connecting to the Senet Network

When the device is turned on the USR LED will blink while it is joining the Senet Network. When LED state changes to solid green it has joined the network. Failure to join network will be the result of:

  1. No network coverage in that area
  2. App Key configuration is incorrect

Siting Mode

The device is in Siting test mode when positioned vertically with LEDs facing up. The Siting test consists of transmitting Senet GPS packets with acknowledgment requested at transmit power levels 14, 20, 30 in that order. For each power level the device will attempt 3 transmits at DR0, stopping if ack is received and moving on to next tx power. After first run through all powers at DR0 the test will stop if acknowledgements received at all power levels; otherwise, the test will proceed to alternate between 3 transmits at DR4 and 3 at DR0 for remaining unacknowledged tx powers until ack received.

Siting LED Profile

  1. USR
    1. Blink fast while joining
    2. Solid when joined and GPS lock
    3. Blink slow when not GPS lock
  1. RED
    1. 30 dBm status indicator
    2. Blink on transmit
    3. Solid after downlink received
  1. YELLOW
    1. 20 dBm status indicator
    2. Blink on transmit
    3. Solid after ack received
  1. GREEN
    1. 14 dBm status indicator
    2. Blink on transmit
    3. Solid after downlink received

Range Mode

The device is in this mode when not in the siting orientation.
This test consists of transmitting 8 packets at:

  1. DR3 Tx Power 14
  2. DR0 Tx Power 14
  3. DR4 Tx Power 20
  4. DR3 Tx Power 20
  5. DR0 Tx Power 20
  6. DR4 Tx Power 26
  7. DR3 Tx Power 30
  8. DR0 Tx Power 30

After transmit cycle completes the next test will start in 560 seconds unless following:

  1. After 140 seconds if no ack received
  2. After 80 seconds if 30 meters travelled from last transmit location

Range LED Profile

  • USR
    • Blink fast while joining
    • Solid when joined and GPS lock
    • Blink slow when not GPS locked
  • RED
    • Transmit indicator
    • Blink on transmit
  • YELLOW
    • Ack indicator
    • Set at beginning of transmit cycle and cleared when ack received
  • GREEN
    • V3 Mote
      • Test indicator
      • Solid while test transmit cycle in progress
    • V2 Mote
      • Not controllable by firmware

Switching Mode

Set mote orientation to desired mode. After a few seconds the new orientation will be detected and the device will indicate it is switching mode by blinking the red, yellow and green LEDs simultaneously for a couple seconds before switching to the new mode.

Changes

RevisionDateWhoCommit message
19:e37b3bd60d5a 2017-01-20 shaunkrnelson Commit LMIC disabled confirmed uplinks default tip
18:964eb277b4dd 2016-09-02 shaunkrnelson Update gps library to pick up bad nmea string processing
17:603002a92cbc 2016-09-02 shaunkrnelson Reverting to preworkshop behavior
16:2e5438977b6c 2016-09-02 shaunkrnelson Reverted to revision 3 (pre workshop behavior)
15:7de5208255d8 2016-08-25 shaunkrnelson Fix typo
14:b2c6a9dc039c 2016-08-25 dkjendal OSV Workshop behavior
13:89ddcc4dfc66 2016-08-23 dkjendal SenorPacket receive to light some leds
12:678b10e19810 2016-08-11 dkjendal clear;
11:ff070a12d150 2016-08-12 shaunkrnelson Reset commissioning file
10:72c5e2cfa473 2016-08-12 shaunkrnelson Add comments for orientation pl status to orientaton mask state
9:65a83f20cf3b 2016-08-12 shaunkrnelson Changed orientation translation to match when mote is position with top facing user.
8:6757b3e3bf3d 2016-08-12 shaunkrnelson cleaning up orientation handling
7:6a23db89f2a6 2016-08-11 shaunkrnelson Translate accelerometer position to mote position (e.g. vertical, horizontal, sid)
6:79fcda1280fc 2016-08-11 dkjendal clean;
5:22066ecc3f5d 2016-08-11 dkjendal Sensor packet support
4:059d004186ed 2016-08-11 dkjendal Add support for sending sensor messages
3:35e8af53c6cf 2016-05-23 shaunkrnelson Changing Device Type to 001001 to match locally built software; Changing point version to 2
2:b9b2840d0d8b 2016-04-22 shaunkrnelson Removed duplicate Device type
1:fbf2fb2c2718 2016-04-21 shaunkrnelson Send self-id packets when gps coordinates are unknown
0:46990814dc89 2016-03-18 shaunkrnelson Initial commit of Senet NAMote network coverage tool