title: Scan for surrounding WiFi devices and store MAC addresses in database in Python
body: <p>The ultimate goal here is to be able to use a Raspberry Pi with a wireless adapter set to monitor mode, to scan all surrounding WiFi devices (even if they only have WiFi turned on and not associated), and keep a log of MAC addresses and timestamps in a local database (e.g. MySQL).</p>
  
  <p>I have been using Python (specifically subprocess) and airodump-ng (and airmon-ng) to try to accomplish this, I am wondering if there are any better ideas or tools which can help me achieve this, even another language, C or Java or some other tool.</p>