1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

WiFi scanning (incomplete) and diagnostics

This commit is contained in:
Ivan Grokhotkov
2014-12-19 01:41:35 +03:00
parent 6c344ffbb1
commit eb98948d49
2 changed files with 70 additions and 14 deletions

View File

@ -22,7 +22,7 @@
#ifndef WiFi_h
#define WiFi_h
#include <inttypes.h>
#include <stdint.h>
extern "C" {
#include "include/wl_definitions.h"
@ -151,7 +151,7 @@ public:
*
* return: ssid string of the specified item on the networks scanned list
*/
char* SSID(uint8_t networkItem);
const char* SSID(uint8_t networkItem);
/*
* Return the encryption type of the networks discovered during the scanNetworks
@ -187,6 +187,9 @@ public:
*/
int hostByName(const char* aHostname, IPAddress& aResult);
void printDiag(Print& dest);
friend class WiFiClient;
friend class WiFiServer;