Scan nearby anchors and send result for location engine.

Dependencies:   modem_ref_helper DebouncedInterrupt

Revision:
1:4534345afb6b
Parent:
0:83836029943b
--- a/main.cpp	Wed Nov 13 13:40:28 2019 +0000
+++ b/main.cpp	Wed Nov 13 13:51:15 2019 +0000
@@ -38,8 +38,8 @@
     .cfg.qos.bf.retry               = ALP_RPOL_ONESHOT,
     .cfg.addressee.ctrl.bf.nls      = D7A_NLS_AES_CCM_64,
     .cfg.addressee.ctrl.bf.idf      = D7A_ID_NBID,
-    .cfg.addressee.xcl.bf           = {.s = 2, .m = 0x1},// XXX D7A_XCL_GW,
-    .cfg.addressee.id[0]            = D7A_CTF_ENCODE(8),
+    .cfg.addressee.xcl.bf           = {.s = 0xE, .m = 0x4},
+    .cfg.addressee.id[0]            = D7A_CTF_ENCODE(STATUS_MAX_DEVICES),
 };
 
 // Main Callback
@@ -211,7 +211,7 @@
 
     PRINT("\n"
           "-----------------------------------------\n"
-          "------------- Demo Localisation ---------\n"
+          "------------ Demo Localisation ----------\n"
           "-----------------------------------------\n");
               
     modem_helper_open(&callbacks);