First program for SmartCampus LoRaWan

mbed_app.json

Committer:
bastienvincke
Date:
2020-02-05
Revision:
52:bfaf25ee5cd5
Parent:
51:885c5ed083d1

File content as of revision 52:bfaf25ee5cd5:

{
    "config": {
        "lora-radio": {
            "help": "Which radio to use (options: SX1272,SX1276)",
            "value": "SX1272"
        },
        "main_stack_size":     { "value": 4096 },
        "lora-spi-mosi":       { "value": "PA_12" },
        "lora-spi-miso":       { "value": "PA_11" },
        "lora-spi-sclk":       { "value": "PA_1" },
        "lora-cs":             { "value": "PB_0" },
        "lora-reset":          { "value": "PA_3" },
        "lora-dio0":           { "value": "PB_5" },
        "lora-dio1":           { "value": "PB_4" },
        "lora-dio2":           { "value": "PB_1" },
        "lora-dio3":           { "value": "PB_3" },
        "lora-dio4":           { "value": "NC" },
        "lora-dio5":           { "value": "NC" },
        "lora-rf-switch-ctl1": { "value": "NC" },
        "lora-rf-switch-ctl2": { "value": "NC" },
        "lora-txctl":          { "value": "PA_9" },
        "lora-rxctl":          { "value": "PA_8" },
        "lora-ant-switch":     { "value": "NC" },
        "lora-pwr-amp-ctl":    { "value": "NC" },
        "lora-tcxo":           { "value": "NC" }
    },
    "target_overrides": {
        "*": {
            "platform.stdio-convert-newlines": true,
            "platform.stdio-baud-rate": 115200,
            "platform.default-serial-baud-rate": 115200,
            "lora.over-the-air-activation": true,
            "lora.duty-cycle-on": false,
            "lora.phy": "EU868",
            "lora.device-eui": "{ 0x45, 0x6E, 0xAF, 0x48, 0x63, 0xBA, 0xD7, 0x85 }",
            "lora.application-eui": "{ 0x86, 0x19, 0x84, 0xC4, 0xAD, 0x84, 0x16, 0x56 }",
            "lora.application-key": "{ 0x47, 0x12, 0x41, 0x78, 0x49, 0x65, 0xB1, 0x48, 0xDA, 0xCF, 0x71, 0x98, 0x54, 0xD3, 0x6A, 0x56 }",
            "mbed-trace.enable": true
        }
    },
    "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_lora_config.h\""]
}