-->
Page 4 of 7

Re: SoftAP - getting a list of connected clients

PostPosted: Mon Mar 14, 2016 10:41 am
by Phil colbert
Not sure , its something to do with connecting in AP+STA mode and then a disconnect and a reconnect, trying to work out what the issue is, will look into it when I get time :)

Re: SoftAP - getting a list of connected clients

PostPosted: Tue Mar 15, 2016 4:42 am
by Phil colbert
Interesting...

When I connect with an android phone or a pc it works, when I connect with a Kobo eink reader it doesnt...

but when you have connected the phone and then connect the Kobo it works fine, you can then disconnect and reconnect the kobo to the ESP and it works fine.... maybe some uninitialised variables ... ?

Seems something strange the Kobo is doing, its getting an IP from the ESP but doesnt seem to be registering on wifi_softap_get_station_info ... ideas? :)

Where is the code for setting the stat_info ? Sorry am a bit new to all this so still learning !

Re: SoftAP - getting a list of connected clients

PostPosted: Tue Mar 15, 2016 8:24 am
by martinayotte
Phil colbert wrote:Where is the code for setting the stat_info ? Sorry am a bit new to all this so still learning !

The stat_info struture is filled and maintain by the Espressif SDK itself.

Re: SoftAP - getting a list of connected clients

PostPosted: Tue Mar 15, 2016 11:50 am
by Phil colbert
Yes I know, is the SDK released or open source, obviously a bug somewhere :(

Would like to have a look :)