uint8_t ssid[32]; /**< SSID of AP */
uint8_t primary; /**< channel of AP */
wifi_second_chan_t second; /**< second channel of AP */
- signed char rssi; /**< single strength of AP */
+ signed char rssi; /**< signal strength of AP */
wifi_auth_mode_t authmode; /**< authmode of AP */
}wifi_ap_list_t;
} dhcp_msg_option;
-/* Defined in esp_misc.h */
-//struct dhcps_lease {
-// bool enable;
-// ip4_addr_t start_ip;
-// ip4_addr_t end_ip;
-//};
-
enum dhcps_offer_option{
OFFER_START = 0x00,
OFFER_ROUTER = 0x01,
typedef u32_t dhcps_time_t;
typedef u8_t dhcps_offer_t;
+
+/* struct dhcps_lease defined in tcpip_adapter.h */
typedef struct dhcps_lease dhcps_lease_t;
typedef struct _dhcps_options{
ip4_addr_t gw;
};
-/* Defined in esp_misc.h */
+/* Also used by dhcpserver.h */
struct dhcps_lease {
bool enable;
ip4_addr_t start_ip;