TinyWifiDongle
0.1.0
Header-only USB WiFi dongle for Arduino
Loading...
Searching...
No Matches
TinyWifiDongleConfig.h
Go to the documentation of this file.
1
#pragma once
2
// Portable configuration shared by all ports.
3
#include <stdint.h>
4
11
struct
TinyWifiDongleConfig
{
13
const
char
*
ssid
=
nullptr
;
15
const
char
*
password
=
nullptr
;
16
18
const
char
*
productName
=
"TinyWifiDongle"
;
19
23
bool
manageUsb
=
true
;
24
27
uint32_t
statsIntervalMs
= 0;
28
32
uint32_t
stallTimeoutMs
= 1000;
33
39
bool
pinUsbTask
=
true
;
40
46
uint8_t
framesToHost
= 0;
47
53
uint8_t
framesFromHost
= 0;
54
57
uint16_t
usbMaxFrame
= 1514;
58
};
TinyWifiDongleConfig
Settings of the dongle; every field has a usable default except the SSID.
Definition
TinyWifiDongleConfig.h:11
TinyWifiDongleConfig::usbMaxFrame
uint16_t usbMaxFrame
Definition
TinyWifiDongleConfig.h:57
TinyWifiDongleConfig::stallTimeoutMs
uint32_t stallTimeoutMs
Definition
TinyWifiDongleConfig.h:32
TinyWifiDongleConfig::statsIntervalMs
uint32_t statsIntervalMs
Definition
TinyWifiDongleConfig.h:27
TinyWifiDongleConfig::framesToHost
uint8_t framesToHost
Definition
TinyWifiDongleConfig.h:46
TinyWifiDongleConfig::productName
const char * productName
USB product string shown on the host.
Definition
TinyWifiDongleConfig.h:18
TinyWifiDongleConfig::framesFromHost
uint8_t framesFromHost
Definition
TinyWifiDongleConfig.h:53
TinyWifiDongleConfig::pinUsbTask
bool pinUsbTask
Definition
TinyWifiDongleConfig.h:39
TinyWifiDongleConfig::password
const char * password
Password of the network (nullptr for an open network).
Definition
TinyWifiDongleConfig.h:15
TinyWifiDongleConfig::ssid
const char * ssid
WiFi network the MCU joins (the "uplink").
Definition
TinyWifiDongleConfig.h:13
TinyWifiDongleConfig::manageUsb
bool manageUsb
Definition
TinyWifiDongleConfig.h:23
src
TinyWifiDongleConfig.h
Generated by
1.15.0