How to measure water in a reservoir

Dependencies:   Cayenne-MQTT-mbed Cayenne-LPP

Committer:
wamae
Date:
Fri Mar 08 11:34:56 2019 +0000
Revision:
0:7bfeb237e600
working code

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wamae 0:7bfeb237e600 1 {
wamae 0:7bfeb237e600 2 "config": {
wamae 0:7bfeb237e600 3 "lora-radio": {
wamae 0:7bfeb237e600 4 "help": "Which radio to use (options: SX1272,SX1276)",
wamae 0:7bfeb237e600 5 "value": "SX1276"
wamae 0:7bfeb237e600 6 },
wamae 0:7bfeb237e600 7 "main_stack_size": { "value": 4096 },
wamae 0:7bfeb237e600 8
wamae 0:7bfeb237e600 9 "lorawan-enabled": { "value": false},
wamae 0:7bfeb237e600 10
wamae 0:7bfeb237e600 11 "lora-spi-mosi": { "value": "NC" },
wamae 0:7bfeb237e600 12 "lora-spi-miso": { "value": "NC" },
wamae 0:7bfeb237e600 13 "lora-spi-sclk": { "value": "NC" },
wamae 0:7bfeb237e600 14 "lora-cs": { "value": "NC" },
wamae 0:7bfeb237e600 15 "lora-reset": { "value": "NC" },
wamae 0:7bfeb237e600 16 "lora-dio0": { "value": "NC" },
wamae 0:7bfeb237e600 17 "lora-dio1": { "value": "NC" },
wamae 0:7bfeb237e600 18 "lora-dio2": { "value": "NC" },
wamae 0:7bfeb237e600 19 "lora-dio3": { "value": "NC" },
wamae 0:7bfeb237e600 20 "lora-dio4": { "value": "NC" },
wamae 0:7bfeb237e600 21 "lora-dio5": { "value": "NC" },
wamae 0:7bfeb237e600 22 "lora-rf-switch-ctl1": { "value": "NC" },
wamae 0:7bfeb237e600 23 "lora-rf-switch-ctl2": { "value": "NC" },
wamae 0:7bfeb237e600 24 "lora-txctl": { "value": "NC" },
wamae 0:7bfeb237e600 25 "lora-rxctl": { "value": "NC" },
wamae 0:7bfeb237e600 26 "lora-ant-switch": { "value": "NC" },
wamae 0:7bfeb237e600 27 "lora-pwr-amp-ctl": { "value": "NC" },
wamae 0:7bfeb237e600 28 "lora-tcxo": { "value": "NC" }
wamae 0:7bfeb237e600 29 },
wamae 0:7bfeb237e600 30 "target_overrides": {
wamae 0:7bfeb237e600 31 "*": {
wamae 0:7bfeb237e600 32 "platform.stdio-convert-newlines": true,
wamae 0:7bfeb237e600 33 "platform.stdio-baud-rate": 9600,
wamae 0:7bfeb237e600 34 "platform.default-serial-baud-rate": 9600,
wamae 0:7bfeb237e600 35 "lora.duty-cycle-on": false,
wamae 0:7bfeb237e600 36 "lora.phy": 0,
wamae 0:7bfeb237e600 37 "target.features_add": ["COMMON_PAL"],
wamae 0:7bfeb237e600 38 "mbed-trace.enable": true
wamae 0:7bfeb237e600 39 },
wamae 0:7bfeb237e600 40
wamae 0:7bfeb237e600 41 "NUCLEO_F446RE": {
wamae 0:7bfeb237e600 42 "lorawan-enabled": true,
wamae 0:7bfeb237e600 43
wamae 0:7bfeb237e600 44 "lora-spi-mosi": "D11",
wamae 0:7bfeb237e600 45 "lora-spi-miso": "D12",
wamae 0:7bfeb237e600 46 "lora-spi-sclk": "D13",
wamae 0:7bfeb237e600 47 "lora-cs": "D10",
wamae 0:7bfeb237e600 48 "lora-reset": "A0",
wamae 0:7bfeb237e600 49 "lora-dio0": "D2",
wamae 0:7bfeb237e600 50 "lora-dio1": "D3",
wamae 0:7bfeb237e600 51 "lora-dio2": "D4",
wamae 0:7bfeb237e600 52 "lora-dio3": "D5",
wamae 0:7bfeb237e600 53 "lora-dio4": "D8",
wamae 0:7bfeb237e600 54 "lora-dio5": "D9",
wamae 0:7bfeb237e600 55 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 56 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 57 "lora-txctl": "NC",
wamae 0:7bfeb237e600 58 "lora-rxctl": "NC",
wamae 0:7bfeb237e600 59 "lora-ant-switch": "A4",
wamae 0:7bfeb237e600 60 "lora-pwr-amp-ctl": "NC",
wamae 0:7bfeb237e600 61 "lora-tcxo": "NC"
wamae 0:7bfeb237e600 62 },
wamae 0:7bfeb237e600 63
wamae 0:7bfeb237e600 64 "DISCO_L072CZ_LRWAN1": {
wamae 0:7bfeb237e600 65 "main_stack_size": 1024,
wamae 0:7bfeb237e600 66 "lorawan-enabled": true,
wamae 0:7bfeb237e600 67
wamae 0:7bfeb237e600 68 "lora-radio": "SX1276",
wamae 0:7bfeb237e600 69 "lora-spi-mosi": "PA_7",
wamae 0:7bfeb237e600 70 "lora-spi-miso": "PA_6",
wamae 0:7bfeb237e600 71 "lora-spi-sclk": "PB_3",
wamae 0:7bfeb237e600 72 "lora-cs": "PA_15",
wamae 0:7bfeb237e600 73 "lora-reset": "PC_0",
wamae 0:7bfeb237e600 74 "lora-dio0": "PB_4",
wamae 0:7bfeb237e600 75 "lora-dio1": "PB_1",
wamae 0:7bfeb237e600 76 "lora-dio2": "PB_0",
wamae 0:7bfeb237e600 77 "lora-dio3": "PC_13",
wamae 0:7bfeb237e600 78 "lora-dio4": "NC",
wamae 0:7bfeb237e600 79 "lora-dio5": "NC",
wamae 0:7bfeb237e600 80 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 81 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 82 "lora-txctl": "PC_2",
wamae 0:7bfeb237e600 83 "lora-rxctl": "PA_1",
wamae 0:7bfeb237e600 84 "lora-ant-switch": "NC",
wamae 0:7bfeb237e600 85 "lora-pwr-amp-ctl": "PC_1",
wamae 0:7bfeb237e600 86 "lora-tcxo": "PA_12"
wamae 0:7bfeb237e600 87 },
wamae 0:7bfeb237e600 88
wamae 0:7bfeb237e600 89 "MTB_MURATA_ABZ": {
wamae 0:7bfeb237e600 90 "main_stack_size": 1024,
wamae 0:7bfeb237e600 91 "lorawan-enabled": true,
wamae 0:7bfeb237e600 92
wamae 0:7bfeb237e600 93 "lora-radio": "SX1276",
wamae 0:7bfeb237e600 94 "lora-spi-mosi": "PA_7",
wamae 0:7bfeb237e600 95 "lora-spi-miso": "PA_6",
wamae 0:7bfeb237e600 96 "lora-spi-sclk": "PB_3",
wamae 0:7bfeb237e600 97 "lora-cs": "PA_15",
wamae 0:7bfeb237e600 98 "lora-reset": "PC_0",
wamae 0:7bfeb237e600 99 "lora-dio0": "PB_4",
wamae 0:7bfeb237e600 100 "lora-dio1": "PB_1",
wamae 0:7bfeb237e600 101 "lora-dio2": "PB_0",
wamae 0:7bfeb237e600 102 "lora-dio3": "PC_13",
wamae 0:7bfeb237e600 103 "lora-dio4": "NC",
wamae 0:7bfeb237e600 104 "lora-dio5": "NC",
wamae 0:7bfeb237e600 105 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 106 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 107 "lora-txctl": "PC_2",
wamae 0:7bfeb237e600 108 "lora-rxctl": "PA_1",
wamae 0:7bfeb237e600 109 "lora-ant-switch": "NC",
wamae 0:7bfeb237e600 110 "lora-pwr-amp-ctl": "PC_1",
wamae 0:7bfeb237e600 111 "lora-tcxo": "PA_12"
wamae 0:7bfeb237e600 112 },
wamae 0:7bfeb237e600 113
wamae 0:7bfeb237e600 114 "XDOT_L151CC": {
wamae 0:7bfeb237e600 115 "lorawan-enabled": true,
wamae 0:7bfeb237e600 116
wamae 0:7bfeb237e600 117 "lora-radio": "SX1272",
wamae 0:7bfeb237e600 118 "lora-spi-mosi": "LORA_MOSI",
wamae 0:7bfeb237e600 119 "lora-spi-miso": "LORA_MISO",
wamae 0:7bfeb237e600 120 "lora-spi-sclk": "LORA_SCK",
wamae 0:7bfeb237e600 121 "lora-cs": "LORA_NSS",
wamae 0:7bfeb237e600 122 "lora-reset": "LORA_RESET",
wamae 0:7bfeb237e600 123 "lora-dio0": "LORA_DIO0",
wamae 0:7bfeb237e600 124 "lora-dio1": "LORA_DIO1",
wamae 0:7bfeb237e600 125 "lora-dio2": "LORA_DIO2",
wamae 0:7bfeb237e600 126 "lora-dio3": "LORA_DIO3",
wamae 0:7bfeb237e600 127 "lora-dio4": "LORA_DIO4",
wamae 0:7bfeb237e600 128 "lora-dio5": "NC",
wamae 0:7bfeb237e600 129 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 130 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 131 "lora-txctl": "NC",
wamae 0:7bfeb237e600 132 "lora-rxctl": "NC",
wamae 0:7bfeb237e600 133 "lora-ant-switch": "NC",
wamae 0:7bfeb237e600 134 "lora-pwr-amp-ctl": "NC",
wamae 0:7bfeb237e600 135 "lora-tcxo": "NC"
wamae 0:7bfeb237e600 136 },
wamae 0:7bfeb237e600 137
wamae 0:7bfeb237e600 138 "MTB_MTS_XDOT": {
wamae 0:7bfeb237e600 139 "lorawan-enabled": true,
wamae 0:7bfeb237e600 140
wamae 0:7bfeb237e600 141 "lora-radio": "SX1272",
wamae 0:7bfeb237e600 142 "lora-spi-mosi": "LORA_MOSI",
wamae 0:7bfeb237e600 143 "lora-spi-miso": "LORA_MISO",
wamae 0:7bfeb237e600 144 "lora-spi-sclk": "LORA_SCK",
wamae 0:7bfeb237e600 145 "lora-cs": "LORA_NSS",
wamae 0:7bfeb237e600 146 "lora-reset": "LORA_RESET",
wamae 0:7bfeb237e600 147 "lora-dio0": "LORA_DIO0",
wamae 0:7bfeb237e600 148 "lora-dio1": "LORA_DIO1",
wamae 0:7bfeb237e600 149 "lora-dio2": "LORA_DIO2",
wamae 0:7bfeb237e600 150 "lora-dio3": "LORA_DIO3",
wamae 0:7bfeb237e600 151 "lora-dio4": "LORA_DIO4",
wamae 0:7bfeb237e600 152 "lora-dio5": "NC",
wamae 0:7bfeb237e600 153 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 154 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 155 "lora-txctl": "NC",
wamae 0:7bfeb237e600 156 "lora-rxctl": "NC",
wamae 0:7bfeb237e600 157 "lora-ant-switch": "NC",
wamae 0:7bfeb237e600 158 "lora-pwr-amp-ctl": "NC",
wamae 0:7bfeb237e600 159 "lora-tcxo": "NC"
wamae 0:7bfeb237e600 160 },
wamae 0:7bfeb237e600 161
wamae 0:7bfeb237e600 162 "LTEK_FF1705": {
wamae 0:7bfeb237e600 163 "lorawan-enabled": true,
wamae 0:7bfeb237e600 164
wamae 0:7bfeb237e600 165 "lora-radio": "SX1272",
wamae 0:7bfeb237e600 166 "lora-spi-mosi": "LORA_MOSI",
wamae 0:7bfeb237e600 167 "lora-spi-miso": "LORA_MISO",
wamae 0:7bfeb237e600 168 "lora-spi-sclk": "LORA_SCK",
wamae 0:7bfeb237e600 169 "lora-cs": "LORA_NSS",
wamae 0:7bfeb237e600 170 "lora-reset": "LORA_RESET",
wamae 0:7bfeb237e600 171 "lora-dio0": "LORA_DIO0",
wamae 0:7bfeb237e600 172 "lora-dio1": "LORA_DIO1",
wamae 0:7bfeb237e600 173 "lora-dio2": "LORA_DIO2",
wamae 0:7bfeb237e600 174 "lora-dio3": "LORA_DIO3",
wamae 0:7bfeb237e600 175 "lora-dio4": "LORA_DIO4",
wamae 0:7bfeb237e600 176 "lora-dio5": "NC",
wamae 0:7bfeb237e600 177 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 178 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 179 "lora-txctl": "NC",
wamae 0:7bfeb237e600 180 "lora-rxctl": "NC",
wamae 0:7bfeb237e600 181 "lora-ant-switch": "NC",
wamae 0:7bfeb237e600 182 "lora-pwr-amp-ctl": "NC",
wamae 0:7bfeb237e600 183 "lora-tcxo": "NC"
wamae 0:7bfeb237e600 184 },
wamae 0:7bfeb237e600 185
wamae 0:7bfeb237e600 186 "MTS_MDOT_F411RE": {
wamae 0:7bfeb237e600 187 "lorawan-enabled": true,
wamae 0:7bfeb237e600 188
wamae 0:7bfeb237e600 189 "lora-radio": "SX1272",
wamae 0:7bfeb237e600 190 "lora-spi-mosi": "LORA_MOSI",
wamae 0:7bfeb237e600 191 "lora-spi-miso": "LORA_MISO",
wamae 0:7bfeb237e600 192 "lora-spi-sclk": "LORA_SCK",
wamae 0:7bfeb237e600 193 "lora-cs": "LORA_NSS",
wamae 0:7bfeb237e600 194 "lora-reset": "LORA_RESET",
wamae 0:7bfeb237e600 195 "lora-dio0": "LORA_DIO0",
wamae 0:7bfeb237e600 196 "lora-dio1": "LORA_DIO1",
wamae 0:7bfeb237e600 197 "lora-dio2": "LORA_DIO2",
wamae 0:7bfeb237e600 198 "lora-dio3": "LORA_DIO3",
wamae 0:7bfeb237e600 199 "lora-dio4": "LORA_DIO4",
wamae 0:7bfeb237e600 200 "lora-dio5": "LORA_DIO5",
wamae 0:7bfeb237e600 201 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 202 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 203 "lora-txctl": "LORA_TXCTL",
wamae 0:7bfeb237e600 204 "lora-rxctl": "LORA_RXCTL",
wamae 0:7bfeb237e600 205 "lora-ant-switch": "NC",
wamae 0:7bfeb237e600 206 "lora-pwr-amp-ctl": "NC",
wamae 0:7bfeb237e600 207 "lora-tcxo": "NC"
wamae 0:7bfeb237e600 208 },
wamae 0:7bfeb237e600 209
wamae 0:7bfeb237e600 210 "MTB_ADV_WISE_1510": {
wamae 0:7bfeb237e600 211 "lorawan-enabled": true,
wamae 0:7bfeb237e600 212
wamae 0:7bfeb237e600 213 "lora-radio": "SX1276",
wamae 0:7bfeb237e600 214 "lora-spi-mosi": "SPI_RF_MOSI",
wamae 0:7bfeb237e600 215 "lora-spi-miso": "SPI_RF_MISO",
wamae 0:7bfeb237e600 216 "lora-spi-sclk": "SPI_RF_SCK",
wamae 0:7bfeb237e600 217 "lora-cs": "SPI_RF_CS",
wamae 0:7bfeb237e600 218 "lora-reset": "SPI_RF_RESET",
wamae 0:7bfeb237e600 219 "lora-dio0": "DIO0",
wamae 0:7bfeb237e600 220 "lora-dio1": "DIO1",
wamae 0:7bfeb237e600 221 "lora-dio2": "DIO2",
wamae 0:7bfeb237e600 222 "lora-dio3": "DIO3",
wamae 0:7bfeb237e600 223 "lora-dio4": "DIO4",
wamae 0:7bfeb237e600 224 "lora-dio5": "DIO5",
wamae 0:7bfeb237e600 225 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 226 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 227 "lora-txctl": "NC",
wamae 0:7bfeb237e600 228 "lora-rxctl": "NC",
wamae 0:7bfeb237e600 229 "lora-ant-switch": "ANT_SWITCH",
wamae 0:7bfeb237e600 230 "lora-pwr-amp-ctl": "NC",
wamae 0:7bfeb237e600 231 "lora-tcxo": "NC"
wamae 0:7bfeb237e600 232 },
wamae 0:7bfeb237e600 233
wamae 0:7bfeb237e600 234 "MTB_RAK811": {
wamae 0:7bfeb237e600 235 "lorawan-enabled": true,
wamae 0:7bfeb237e600 236
wamae 0:7bfeb237e600 237 "lora-radio": "SX1276",
wamae 0:7bfeb237e600 238 "lora-spi-mosi": "SPI_RF_MOSI",
wamae 0:7bfeb237e600 239 "lora-spi-miso": "SPI_RF_MISO",
wamae 0:7bfeb237e600 240 "lora-spi-sclk": "SPI_RF_SCK",
wamae 0:7bfeb237e600 241 "lora-cs": "SPI_RF_CS",
wamae 0:7bfeb237e600 242 "lora-reset": "SPI_RF_RESET",
wamae 0:7bfeb237e600 243 "lora-dio0": "DIO0",
wamae 0:7bfeb237e600 244 "lora-dio1": "DIO1",
wamae 0:7bfeb237e600 245 "lora-dio2": "DIO2",
wamae 0:7bfeb237e600 246 "lora-dio3": "DIO3",
wamae 0:7bfeb237e600 247 "lora-dio4": "DIO4",
wamae 0:7bfeb237e600 248 "lora-dio5": "NC",
wamae 0:7bfeb237e600 249 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 250 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 251 "lora-txctl": "ANT_CTX_PA",
wamae 0:7bfeb237e600 252 "lora-rxctl": "ANT_CRX_RX",
wamae 0:7bfeb237e600 253 "lora-ant-switch": "NC",
wamae 0:7bfeb237e600 254 "lora-pwr-amp-ctl": "NC",
wamae 0:7bfeb237e600 255 "lora-tcxo": "RF_TCXO_EN"
wamae 0:7bfeb237e600 256 },
wamae 0:7bfeb237e600 257
wamae 0:7bfeb237e600 258 "SIMULATOR": {
wamae 0:7bfeb237e600 259 "lorawan-enabled": true,
wamae 0:7bfeb237e600 260
wamae 0:7bfeb237e600 261 "lora-spi-mosi": "D11",
wamae 0:7bfeb237e600 262 "lora-spi-miso": "D12",
wamae 0:7bfeb237e600 263 "lora-spi-sclk": "D13",
wamae 0:7bfeb237e600 264 "lora-cs": "D10",
wamae 0:7bfeb237e600 265 "lora-reset": "A0",
wamae 0:7bfeb237e600 266 "lora-dio0": "D2",
wamae 0:7bfeb237e600 267 "lora-dio1": "D3",
wamae 0:7bfeb237e600 268 "lora-dio2": "D4",
wamae 0:7bfeb237e600 269 "lora-dio3": "D5",
wamae 0:7bfeb237e600 270 "lora-dio4": "D8",
wamae 0:7bfeb237e600 271 "lora-dio5": "D9",
wamae 0:7bfeb237e600 272 "lora-rf-switch-ctl1": "NC",
wamae 0:7bfeb237e600 273 "lora-rf-switch-ctl2": "NC",
wamae 0:7bfeb237e600 274 "lora-txctl": "NC",
wamae 0:7bfeb237e600 275 "lora-rxctl": "NC",
wamae 0:7bfeb237e600 276 "lora-ant-switch": "A4",
wamae 0:7bfeb237e600 277 "lora-pwr-amp-ctl": "NC",
wamae 0:7bfeb237e600 278 "lora-tcxo": "NC"
wamae 0:7bfeb237e600 279 }
wamae 0:7bfeb237e600 280 },
wamae 0:7bfeb237e600 281 "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_lora_config.h\""]
wamae 0:7bfeb237e600 282 }