- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In WiFi direct mode, I am joining a group as a client. How can I get the IP address of the group owner in order to send UDP packets? I see where to get the MAC address of the group owner, but not the IP.
One idea is to send a broadcast packet from the group owner to everyone on the network, but I figure there is likely some easier way I am just not seeing.
Thanks
-Nick
- Labels:
-
SDK 3.x
-
TCPIP
-
Wi-Fi Direct
- Tags:
- wifi
- wifi-direct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The same question goes for SoftAP mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello nrcrast,
You can use console application and use 'status' in command prompt and the Gateway gives the AP ip address. Please check the following UART logs:
Starting WICED v4.0.0-RC5
Platform BCM943907AEVAL1F initialised
Started ThreadX v5.6
Initialising NetX_Duo v5.7_sp2
Creating Packet pools
WWD SoC.43909 interface initialised
WLAN MAC Address : 98:F1:70:6F:80:F0
WLAN Firmware : wl0: Sep 14 2016 03:52:54 version 7.15.168.76 (r659433 WLTEST) FWID 01-7efa11eb
Console app
> join OnePlus3 open
Joining : OnePlus3 8
Successfully joined : OnePlus3
Obtaining IPv4 address via DHCP
DHCP CLIENT hostname WICED IP
IPv4 network ready IP: 192.168.43.144
Setting IPv6 link-local address
IPv6 network ready IP: FE80:0000:0000:0000:9AF1:70FF:FE6F:80F0
> status
WICED Version : 4.0.0-RC5
Platform : BCM943907AEVAL1F
Driver & FW : 7.15.168.76 (r659433 WLTEST) FWID 01-7efa11eb
MAC Address : 98:F1:70:6F:80:F0
STA Interface
MAC Address : 98:F1:70:6F:80:F0
SSID : OnePlus3
Channel : 6
BSSID : C0:EE:FB:80:44:19
IP Addr : 192.168.43.144
Gateway : 192.168.43.1
Netmask : 255.255.255.0
AP Interface : Down
P2P Interface : Down
Ethernet Interface : Down
If you need more info please let me know.
Best regards,
Ramesh Mylavarapu