Szybki tutorial o podłączeniu, konfiguracji nRF24L01+ i tworzeniu tunelu komunikacyjnego dla 2 mikrokontrolerów: Pro Mini oraz Mega2560.
Category: OSX
[Rpi/OSX] How to connect Pi via LAN cable to OSX based machine
Hi!
I spent some time on this problem so as usually I decided to share my solution.
Continue reading [Rpi/OSX] How to connect Pi via LAN cable to OSX based machine
[Python / OSX]Get network connection details, restart wifi, and do more than you think straight from python
Hi!
I recently figured out how to restart internet(en0) interface on OSX and read some interesting details about our connection. Thanks to objc library I was able to access objective-C methods provided by OSX.
Here is CWInterface Class Reference. Check it out because this documentation provide many interesting methods.
[Python]How to scan for available networks on OSX
Hi!
I’m posting this simple code for getting list of avaliable networks on OSX.
#!/usr/bin/python
import os
f = os.popen('airport -s')
now = f.read().splitlines(True)
database=[]
for x in range(1,len(now)):
i = now[x].strip().index(':')
ssid_database=now[x].strip()
#print(ssid_database)
database.append(ssid_database[0:i-3])
print(database)
Try that with
python filename.py
Have fun! 🙂