Code: Select all
void ICACHE_FLASH_ATTR
user_set_station_config(void)
{
// Wifi configuration
char ssid[32] = SSID;
char password[64] = PASSWORD;
struct station_config stationConf;
//need not mac address
stationConf.bssid_set = 0;
hi faye,
i only ask back for this for better understanding
so pls sorry for missunderstanding.
from where you take the PASSWORD and SSID`?
is there a user.h with
#define PASSWORD = "xxxxxxxxxxxxxxx"
#define SSID = "yyyyyyyyyyyyyyyyyyyy"
or is mean fill out the data here like this:
Code: Select all
void ICACHE_FLASH_ATTR
user_set_station_config(void)
{
// Wifi configuration
char ssid[32] = "yyyyyyyyyyyyyyyyy";
char password[64] = "xxxxxxxxxxxxxxxx";
struct station_config stationConf;
//need not mac address
stationConf.bssid_set = 0;
txs
best wishes
rudi
