You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gabriel becker
d8cf5d8534
|
2 years ago | |
---|---|---|
src | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
platformio.ini | 2 years ago |
README.md
ESP Button Bridge
A esp8266 button to toggle other esp8266 GPIO while it still enables the other device to receive http commands. Designed to control a tasmotta flashed device.
References
- ESP8266 dual mode with instructions for network configuration.
- SOFTAP - GETTING A LIST OF CONNECTED CLIENTS @ esp8255 community forum
unsigned char softap_stations_cnt;
struct station_info *stat_info;
struct ip_addr *IPaddress;
uint32 uintaddress;
softap_stations_cnt = wifi_softap_get_station_num(); // Count of stations which are connected to ESP8266 soft-AP
stat_info = wifi_softap_get_station_info();
Serial.write(softap_stations_cnt);
while (stat_info != NULL) {
IPaddress = &stat_info->ip;
uintaddress = IPaddress->addr;
Serial.write((uintaddress>>24));
stat_info = STAILQ_NEXT(stat_info, next);
}