![](/media/cache/profiles/profile2.jpg.50x50_q85.jpg)
This software setup a central node of a star topology network
Dependencies: MQTT target_st_bluenrg
Fork of ble-star-mbed by
mbed_app.json@5:5cfb069b2587, 2018-04-04 (annotated)
- Committer:
- lorevee
- Date:
- Wed Apr 04 14:42:35 2018 +0000
- Revision:
- 5:5cfb069b2587
- Parent:
- 4:4af40af2530e
default id
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lorevee | 0:1902469bdd2d | 1 | { |
lorevee | 4:4af40af2530e | 2 | "config": { |
lorevee | 4:4af40af2530e | 3 | "network-interface":{ |
lorevee | 4:4af40af2530e | 4 | "help": "options are ETHERNET, WIFI_ESP8266, WIFI_IDW0XX1, WIFI_ODIN, WIFI_RTW, MESH_LOWPAN_ND, MESH_THREAD, CELLULAR_ONBOARD", |
lorevee | 4:4af40af2530e | 5 | "value": "WIFI_IDW0XX1" |
lorevee | 4:4af40af2530e | 6 | }, |
lorevee | 4:4af40af2530e | 7 | "wifi-ssid": { |
lorevee | 5:5cfb069b2587 | 8 | "value": "\"SSID\"" |
lorevee | 4:4af40af2530e | 9 | }, |
lorevee | 4:4af40af2530e | 10 | "wifi-password": { |
lorevee | 5:5cfb069b2587 | 11 | "value": "\"password\"" |
lorevee | 4:4af40af2530e | 12 | }, |
lorevee | 4:4af40af2530e | 13 | "wifi-tx": { |
lorevee | 4:4af40af2530e | 14 | "help": "TX pin for serial connection to external device", |
lorevee | 4:4af40af2530e | 15 | "value": "PA_11" |
lorevee | 4:4af40af2530e | 16 | }, |
lorevee | 4:4af40af2530e | 17 | "wifi-rx": { |
lorevee | 4:4af40af2530e | 18 | "help": "RX pin for serial connection to external device", |
lorevee | 4:4af40af2530e | 19 | "value": "PA_12" |
lorevee | 4:4af40af2530e | 20 | } |
lorevee | 4:4af40af2530e | 21 | }, |
lorevee | 4:4af40af2530e | 22 | "macros": [ "MQTT_BROKER_URL=\".messaging.internetofthings.ibmcloud.com\"", |
lorevee | 4:4af40af2530e | 23 | "MQTT_CLIENT_ID=\"d:<your ORG_ID>:<your DEVICE_ID_TYPE>:<your DEVICE_ID>\"", |
lorevee | 4:4af40af2530e | 24 | "MQTT_ORG_ID=\"lbtsvf\"", |
lorevee | 4:4af40af2530e | 25 | "MQTT_USERNAME=\"use-token-auth\"", |
lorevee | 4:4af40af2530e | 26 | "MQTT_DEVICE_PASSWORD=\"STM32Nucleo_password\"", |
lorevee | 4:4af40af2530e | 27 | "MQTT_TOPIC=\"iot-2/evt/status/fmt/json\"", |
lorevee | 4:4af40af2530e | 28 | "MQTT_DEVICE_ID=\"licio\"", |
lorevee | 4:4af40af2530e | 29 | "MQTT_DEVICE_TYPE=\"STM32Nucleo_device\"", |
lorevee | 4:4af40af2530e | 30 | "MQTT_KEEPALIVE 10", |
lorevee | 4:4af40af2530e | 31 | "MQTT_PORT 1883", |
lorevee | 4:4af40af2530e | 32 | "MQTT_TLS_PORT 8883", |
lorevee | 4:4af40af2530e | 33 | "MBED_CONF_APP_MAIN_STACK_SIZE=6120", |
lorevee | 4:4af40af2530e | 34 | "MBEDTLS_USER_CONFIG_FILE=\"mbedtls_entropy_config.h\"" |
lorevee | 4:4af40af2530e | 35 | ], |
lorevee | 0:1902469bdd2d | 36 | "target_overrides": { |
lorevee | 4:4af40af2530e | 37 | "*": { |
lorevee | 4:4af40af2530e | 38 | "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"], |
lorevee | 4:4af40af2530e | 39 | "mbed-mesh-api.6lowpan-nd-channel-page": 0, |
lorevee | 4:4af40af2530e | 40 | "mbed-mesh-api.6lowpan-nd-channel": 12 |
lorevee | 4:4af40af2530e | 41 | }, |
lorevee | 0:1902469bdd2d | 42 | "K64F": { |
lorevee | 0:1902469bdd2d | 43 | "target.features_add": ["BLE"], |
lorevee | 0:1902469bdd2d | 44 | "target.extra_labels_add": ["ST_BLUENRG"] |
lorevee | 0:1902469bdd2d | 45 | }, |
lorevee | 0:1902469bdd2d | 46 | "NUCLEO_F401RE": { |
lorevee | 0:1902469bdd2d | 47 | "target.features_add": ["BLE"], |
lorevee | 0:1902469bdd2d | 48 | "target.extra_labels_add": ["ST_BLUENRG"] |
lorevee | 0:1902469bdd2d | 49 | }, |
lorevee | 0:1902469bdd2d | 50 | "DISCO_L475VG_IOT01A": { |
lorevee | 0:1902469bdd2d | 51 | "target.features_add": ["BLE"], |
lorevee | 0:1902469bdd2d | 52 | "target.extra_labels_add": ["ST_BLUENRG"] |
lorevee | 4:4af40af2530e | 53 | }, |
lorevee | 4:4af40af2530e | 54 | "NUCLEO_L476RG": { |
lorevee | 4:4af40af2530e | 55 | "target.features_add": ["BLE"], |
lorevee | 4:4af40af2530e | 56 | "target.extra_labels_add": ["ST_BLUENRG"] |
lorevee | 0:1902469bdd2d | 57 | } |
lorevee | 0:1902469bdd2d | 58 | } |
lorevee | 0:1902469bdd2d | 59 | } |