Markus Sattler
1544a6ad0f
Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
2015-06-05 14:47:34 +02:00
Markus Sattler
b620060671
do check if ssid is an empty String ""
...
use strdup to save some flash
#386 part 2
2015-06-05 12:57:00 +02:00
Ivan Grokhotkov
3ff5947305
Merge pull request #370 from Links2004/esp8266
...
add better docu and schematics for easy setup the ESP
2015-06-05 13:55:34 +03:00
chad cormier roussel
7daa6c6b69
Add function overload to config to include DNS
...
Disable DHCP if using static IP
With dhcp disabled, I noticed about 50% less conncection time
2015-06-03 15:29:25 -04:00
Markus Sattler
fa4fd9ed9d
only call wifi_set_opmode when really needed
2015-06-03 15:40:43 +02:00
Markus Sattler
1de33fe51b
improve mode handling for ESP8266WiFiClass::scanNetworks and ESP8266WiFiClass::beginSmartConfig
2015-06-03 15:10:35 +02:00
Markus Sattler
c415ebe8b4
add function to get the MAC / BSSID as String
2015-05-28 17:31:45 +02:00
Markus Sattler
5a86c20f1e
add rssi function of new SDK 1.1.0
...
fix warning in hexdump and ESP8266WiFiMulti
2015-05-25 09:47:13 +02:00
Ivan Grokhotkov
4fdd546ad5
Fix build
2015-05-24 15:35:18 +03:00
Ivan Grokhotkov
f7dbb35c92
Fix case of WiFi.channel() method
2015-05-22 18:11:09 +03:00
Ivan Grokhotkov
5bdb26ac29
code review
2015-05-22 03:36:04 +03:00
Markus Sattler
bc37b9ea68
ESP8266WiFi extended functions
...
- begin changes
allow setting BSSID/MAC and Channel of an AP for faster connection (#261 )
now checks if ssid and passphrase to big
selecting Wifi mode in better way (fix for #28 )
- ESP8266WiFiMulti uses the new functions to auto select best AP even in a multi AP WiFi network (more the one AP has same SSID)
- add new functions to get current Connected AP:
uint8_t * BSSID(void);
int32_t Channel(void);
- add new functions to get infos from scanned networks:
uint8_t * BSSID(uint8_t networkItem);
int32_t Channel(uint8_t networkItem);
bool isHidden(uint8_t networkItem);
bool getNetworkInfo(uint8_t networkItem, const char** ssid, uint8_t * encryptionType, int32_t * RSSI, uint8_t ** BSSID, int32_t * channel, bool * isHidden);
2015-05-21 21:15:54 +02:00
ficeto
93c456602c
Merge pull request #23 from Links2004/esp8266
...
pull markus's changes
2015-05-17 16:45:32 +03:00
Markus Sattler
108a40acfd
add support for list of AP connections
...
- auto select ssid with best signal
- for debugging enable DEBUG_WIFI_MULTI macro and call Serial.setDebugOutput(true);
change ESP8266WiFiClass::status() return type to wl_status_t
2015-05-16 22:40:53 +02:00
ficeto
66d9dbb070
ESP8266WiFiClass::waitForConnectResult()
...
waitForConnectResult() waits until wifi status is not disconnected,
unless STA is disabled, in which case it returns WL_DISCONNECTED
2015-05-16 19:00:36 +03:00
ficeto
fbec557ddb
Importing my changes
2015-04-30 20:48:50 +03:00
Markus Sattler
483533ac4c
add back SmartConfig
2015-04-30 11:44:26 +02:00
Ivan Grokhotkov
4cc06c2100
Add method to configure softAP IP address
...
fix #76
2015-04-21 20:52:02 +08:00
Ivan Grokhotkov
b85262e634
Fix error with missing softAPmacAddress function
2015-02-12 16:37:58 +03:00
Ivan Grokhotkov
be7a068be1
Add parameter to set channel in softAP mode
2015-02-03 12:30:08 +03:00
Ivan Grokhotkov
2b503977b9
Fix WiFi::softAPIP and keywords for ESP8266WiFi library
2015-01-07 02:09:55 +03:00
Ivan Grokhotkov
4944a8fb5f
WiFi library compatibility fixes
2014-12-29 01:20:27 +03:00
Ivan Grokhotkov
4287d522bd
Fix encryptionType for AUTH_WPA_WPA2_PSK
2014-12-23 12:43:19 +03:00
Ivan Grokhotkov
4b25ae86ea
Fix issues with WiFi scanning
2014-12-23 12:33:59 +03:00
Ivan Grokhotkov
9ba2fcd29f
More license headers
2014-12-19 11:16:28 +03:00
Ivan Grokhotkov
eb98948d49
WiFi scanning (incomplete) and diagnostics
2014-12-19 01:41:35 +03:00
Ivan Grokhotkov
6c344ffbb1
Update license headers in files that were completely rewritten
2014-12-19 01:40:47 +03:00
Ivan Grokhotkov
77af5da58f
Clean up ets_printf declarations
2014-12-18 18:45:22 +03:00
Ivan Grokhotkov
d54952a21a
WiFi scanning fixes
2014-12-09 10:23:50 +03:00
Ivan Grokhotkov
b4f21fc6b0
Implement most WiFi functions
...
Need to update to SDK 0.9.3 because DHCP client functions are missing
2014-12-05 22:39:40 +03:00