HofSpannung
/
COAP-Client
funktionierender COAP-Client zum Testen
Fork of coap-example by
mbed_app.json@2:6704302e21c7, 2018-06-28 (annotated)
- Committer:
- Martin1997
- Date:
- Thu Jun 28 14:16:47 2018 +0000
- Revision:
- 2:6704302e21c7
- Parent:
- 1:0615912bf8ec
working client
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jan Jongboom |
0:0681e205d0e9 | 1 | { |
Martin1997 | 1:0615912bf8ec | 2 | |
Jan Jongboom |
0:0681e205d0e9 | 3 | "config": { |
Jan Jongboom |
0:0681e205d0e9 | 4 | "network-interface":{ |
Jan Jongboom |
0:0681e205d0e9 | 5 | "help": "options are ETHERNET, WIFI_ESP8266, WIFI_ODIN, MESH_LOWPAN_ND, MESH_THREAD", |
Jan Jongboom |
0:0681e205d0e9 | 6 | "value": "ETHERNET" |
Jan Jongboom |
0:0681e205d0e9 | 7 | }, |
Jan Jongboom |
0:0681e205d0e9 | 8 | "mesh_radio_type": { |
Jan Jongboom |
0:0681e205d0e9 | 9 | "help": "options are ATMEL, MCR20", |
Jan Jongboom |
0:0681e205d0e9 | 10 | "value": "ATMEL" |
Jan Jongboom |
0:0681e205d0e9 | 11 | }, |
Jan Jongboom |
0:0681e205d0e9 | 12 | "esp8266-tx": { |
Jan Jongboom |
0:0681e205d0e9 | 13 | "help": "Pin used as TX (connects to ESP8266 RX)", |
Jan Jongboom |
0:0681e205d0e9 | 14 | "value": "D1" |
Jan Jongboom |
0:0681e205d0e9 | 15 | }, |
Jan Jongboom |
0:0681e205d0e9 | 16 | "esp8266-rx": { |
Jan Jongboom |
0:0681e205d0e9 | 17 | "help": "Pin used as RX (connects to ESP8266 TX)", |
Jan Jongboom |
0:0681e205d0e9 | 18 | "value": "D0" |
Jan Jongboom |
0:0681e205d0e9 | 19 | }, |
Jan Jongboom |
0:0681e205d0e9 | 20 | "esp8266-debug": { |
Jan Jongboom |
0:0681e205d0e9 | 21 | "value": true |
Jan Jongboom |
0:0681e205d0e9 | 22 | }, |
Jan Jongboom |
0:0681e205d0e9 | 23 | "wifi-ssid": { |
Jan Jongboom |
0:0681e205d0e9 | 24 | "value": "\"SSID\"" |
Jan Jongboom |
0:0681e205d0e9 | 25 | }, |
Jan Jongboom |
0:0681e205d0e9 | 26 | "wifi-password": { |
Jan Jongboom |
0:0681e205d0e9 | 27 | "value": "\"Password\"" |
Jan Jongboom |
0:0681e205d0e9 | 28 | }, |
Jan Jongboom |
0:0681e205d0e9 | 29 | "button": { |
Jan Jongboom |
0:0681e205d0e9 | 30 | "help": "Pin which you'll use as button (can be overriden per target below)", |
Jan Jongboom |
0:0681e205d0e9 | 31 | "value": "BUTTON1" |
Jan Jongboom |
0:0681e205d0e9 | 32 | }, |
Jan Jongboom |
0:0681e205d0e9 | 33 | "builtin_led_on": { |
Jan Jongboom |
0:0681e205d0e9 | 34 | "help": "Value to write to built-in LEDs to turn them on", |
Jan Jongboom |
0:0681e205d0e9 | 35 | "value": 1, |
Jan Jongboom |
0:0681e205d0e9 | 36 | "macro_name": "BUILTIN_LED_ON" |
Jan Jongboom |
0:0681e205d0e9 | 37 | }, |
Jan Jongboom |
0:0681e205d0e9 | 38 | "builtin_led_off": { |
Jan Jongboom |
0:0681e205d0e9 | 39 | "help": "Value to write to built-in LEDs to turn them off", |
Jan Jongboom |
0:0681e205d0e9 | 40 | "value": 0, |
Jan Jongboom |
0:0681e205d0e9 | 41 | "macro_name": "BUILTIN_LED_OFF" |
Jan Jongboom |
0:0681e205d0e9 | 42 | } |
Jan Jongboom |
0:0681e205d0e9 | 43 | }, |
Martin1997 | 1:0615912bf8ec | 44 | |
Jan Jongboom |
0:0681e205d0e9 | 45 | "target_overrides": { |
Jan Jongboom |
0:0681e205d0e9 | 46 | "*": { |
Jan Jongboom |
0:0681e205d0e9 | 47 | "target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"], |
Jan Jongboom |
0:0681e205d0e9 | 48 | "platform.stdio-baud-rate": 115200, |
Jan Jongboom |
0:0681e205d0e9 | 49 | "platform.stdio-convert-newlines": true, |
Jan Jongboom |
0:0681e205d0e9 | 50 | "mbed-mesh-api.6lowpan-nd-channel-page": 0, |
Jan Jongboom |
0:0681e205d0e9 | 51 | "mbed-mesh-api.6lowpan-nd-channel": 12, |
Jan Jongboom |
0:0681e205d0e9 | 52 | "mbed-trace.enable": 0 |
Jan Jongboom |
0:0681e205d0e9 | 53 | }, |
Jan Jongboom |
0:0681e205d0e9 | 54 | "K64F": { |
Jan Jongboom |
0:0681e205d0e9 | 55 | "button": "SW2", |
Jan Jongboom |
0:0681e205d0e9 | 56 | "builtin_led_on": 0, |
Jan Jongboom |
0:0681e205d0e9 | 57 | "builtin_led_off": 1 |
Jan Jongboom |
0:0681e205d0e9 | 58 | }, |
Jan Jongboom |
0:0681e205d0e9 | 59 | "HEXIWEAR": { |
Jan Jongboom |
0:0681e205d0e9 | 60 | "button": "PTA12", |
Jan Jongboom |
0:0681e205d0e9 | 61 | "esp8266-tx": "PTD3", |
Jan Jongboom |
0:0681e205d0e9 | 62 | "esp8266-rx": "PTD2" |
Jan Jongboom |
0:0681e205d0e9 | 63 | }, |
Jan Jongboom |
0:0681e205d0e9 | 64 | "NUCLEO_F401RE": { |
Jan Jongboom |
0:0681e205d0e9 | 65 | "button": "USER_BUTTON", |
Jan Jongboom |
0:0681e205d0e9 | 66 | "esp8266-tx": "D8", |
Jan Jongboom |
0:0681e205d0e9 | 67 | "esp8266-rx": "D2" |
Jan Jongboom |
0:0681e205d0e9 | 68 | }, |
Jan Jongboom |
0:0681e205d0e9 | 69 | "NUCLEO_F411RE": { |
Jan Jongboom |
0:0681e205d0e9 | 70 | "button": "USER_BUTTON", |
Jan Jongboom |
0:0681e205d0e9 | 71 | "esp8266-tx": "D8", |
Jan Jongboom |
0:0681e205d0e9 | 72 | "esp8266-rx": "D2" |
Jan Jongboom |
0:0681e205d0e9 | 73 | }, |
Jan Jongboom |
0:0681e205d0e9 | 74 | "NUMAKER_PFM_NUC472": { |
Jan Jongboom |
0:0681e205d0e9 | 75 | "button": "SW1", |
Jan Jongboom |
0:0681e205d0e9 | 76 | "builtin_led_on": 0, |
Jan Jongboom |
0:0681e205d0e9 | 77 | "builtin_led_off": 1 |
Jan Jongboom |
0:0681e205d0e9 | 78 | } |
Jan Jongboom |
0:0681e205d0e9 | 79 | } |
Jan Jongboom |
0:0681e205d0e9 | 80 | } |