So, I have a project where I need to send and receive data from multiple devices (phones and a laptop) over a wifi network created by my raspberry pi. I have successfully created the wifi network by following this guide:
https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md
but now I have the network I don't know how to view data I'm receiving or how to send data to specific MAC addresses. I found that I can use the command
"sudo arp"
and/or
"iw dev wlan0 station dump"
in the terminal to get a list of connected devices, but I don't know how to use this in a python script, any and all help would be appreciated.