How to send MAC broadcast data frame with Android AP

I am trying to use the Wi-Fi AP functionality for Android to send a MAC broadcast frame that other devices listening within the range can listen to. Any ideas on how to do this would be greatly appreciated.

+4
source share
1 answer

Open the socket, send the UDP packet to the IP broadcast address. It will be automatically translated to the broadcast MAC address.

0
source

Source: https://habr.com/ru/post/1410973/


All Articles