mbed-os/components/wifi/esp8266-driver/mbed_lib.json

85 lines
2.5 KiB
JSON

{
"name": "esp8266",
"config": {
"tx": {
"help": "TX pin for serial connection. D1 assumed if Arduino Form Factor, needs to be set/overwritten otherwise",
"value": null
},
"rx": {
"help": "RX pin for serial connection. D0 assumed if Arduino Form Factor, needs to be set/overwritten otherwise",
"value": null
},
"rts": {
"help": "RTS pin for serial connection, defaults to Not Connected",
"value": null
},
"cts": {
"help": "CTS pin for serial connection, defaults to Not Connected",
"value": null
},
"serial-baudrate": {
"help": "Serial baudrate for ESP8266, defaults to 115200",
"value": 115200
},
"rst": {
"help": "RESET pin for the modem, defaults to Not Connected",
"value": null
},
"pwr": {
"help": "POWER pin for the modem, defaults to Not Connected",
"value": null
},
"power-on-polarity": {
"help": "Polarity of power-on for the modem. 0 means 0/1 for power on/off; 1 means 1/0 for power on/off.",
"options": [0, 1],
"value": 0
},
"power-on-time-ms": {
"help": "Delay after powering on the modem in ms",
"value": 3
},
"power-off-time-ms": {
"help": "Delay after powering off the modem in ms",
"value": 3
},
"debug": {
"help": "Enable debug logs. [true/false]",
"value": false
},
"provide-default": {
"help": "Provide default WifiInterface. [true/false]",
"value": false
},
"socket-bufsize": {
"help": "Max socket data heap usage",
"value": 8192
},
"country-code": {
"help": "ISO 3166-1 coded, 2 character alphanumeric country code, 'CN' by default",
"value": null
},
"channel-start": {
"help": "the channel number to start at, 1 by default",
"value": null
},
"channels": {
"help": "channel count, 13 by default",
"value": null
}
},
"target_overrides": {
"HEXIWEAR": {
"tx": "PTD3",
"rx": "PTD2"
},
"NUCLEO_F401RE": {
"tx": "D8",
"rx": "D2"
},
"NUCLEO_F411RE": {
"tx": "D8",
"rx": "D2"
}
}
}