From 98338aad2df8e7c302ca2c907d4593e1fff4cad0 Mon Sep 17 00:00:00 2001 From: Simon Duquennoy Date: Sat, 26 May 2018 05:11:42 -0700 Subject: [PATCH] Add Flocklab Openmotes as an example deployment mapping --- examples/libs/deployment/node.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/examples/libs/deployment/node.c b/examples/libs/deployment/node.c index 188b66e14..2cbe1f276 100644 --- a/examples/libs/deployment/node.c +++ b/examples/libs/deployment/node.c @@ -63,6 +63,21 @@ const struct id_mac deployment_cooja8[] = { { 0, {{0}}} }; +/** \brief An example mapping for Openmotes in Flocklab. + * To use, set DEPLOYMENT_MAPPING to deployment_flocklab_openmotes */ +const struct id_mac deployment_flocklab_openmotes[] = { + { 3, {{0x00,0x12,0x4b,0x00,0x06,0x0d,0x9b,0x29}}}, + { 6, {{0x00,0x12,0x4b,0x00,0x06,0x0d,0x9b,0x34}}}, + { 8, {{0x00,0x12,0x4b,0x00,0x06,0x0d,0x9b,0x1f}}}, + { 15, {{0x00,0x12,0x4b,0x00,0x06,0x0d,0x9b,0x85}}}, + { 16, {{0x00,0x12,0x4b,0x00,0x06,0x0d,0x9b,0x00}}}, + { 18, {{0x00,0x12,0x4b,0x00,0x06,0x0d,0x9b,0x37}}}, + { 22, {{0x00,0x12,0x4b,0x00,0x06,0x0d,0x9b,0x08}}}, + { 23, {{0x00,0x12,0x4b,0x00,0x06,0x0d,0x9b,0x5f}}}, + { 31, {{0x00,0x12,0x4b,0x00,0x06,0x0d,0x9b,0xb1}}}, + { 0, {{0}}} +}; + /*---------------------------------------------------------------------------*/ PROCESS(app_process, "App process"); AUTOSTART_PROCESSES(&app_process);