Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
src
hal
esp32
esp32_wifi.h
Go to the documentation of this file.
1
#pragma once
2
3
#if defined(ARDUINO)
4
5
#include "
ersa/hal/wifi.h
"
6
7
namespace
ersa
{
8
namespace
hal {
9
11
class
Esp32Wifi final :
public
IWifiRadio {
12
public
:
14
Result<void> init()
override
;
15
void
enableStation()
override
;
16
void
connectStation(
const
char
* ssid,
const
char
* password,
bool
powerSave)
override
;
17
WifiState
state()
const override
;
18
bool
copyLocalAddress(
char
* output,
size_t
capacity)
const override
;
19
Result<void> startAccessPoint(
const
char
* ssid,
const
char
* password)
override
;
20
void
stopAccessPoint()
override
;
21
bool
copyAccessPointAddress(
char
* output,
size_t
capacity)
const override
;
22
void
disconnect(
bool
powerOff)
override
;
23
};
24
25
}
// namespace hal
26
}
// namespace ersa
27
28
#endif
// ARDUINO
ersa::hal::WifiState
WifiState
Definition
wifi.h:10
ersa
Definition
application.h:10
wifi.h
Generated by
1.9.8