In programming Wifi softAP, I maintain a "connection list" via events WIFI_EVENT_AP_STACONNECTED and WIFI_EVENT_AP_STADISCONNECTED, where each event provides index "aid" for adding and deleting purposes.
Once after the WIFI_EVENT_AP_STACONNECTED, softAP assigns a new IP address to the connected client and fires the event IP_EVENT_AP_STAIPASSIGNED. However, this event data (ip_event_ap_staipassigned_t) provides no "aid" but IP address only.
Without the "aid" index, how can I update the IP address info associated with the connection indexed by the "aid"?
Any API is able to retrieve the IP address by "aid"?
SoftAP: how to associate aid with the newly assigned IP address?
Who is online
Users browsing this forum: Google [Bot] and 72 guests