mac terminal / airport serial to arduino
in
Integration and Hardware
•
3 years ago
Been digging through the forums and haven't found much on mac terminal stuff, thought I would ask...
I can get my mac terminal to read the wifi strength by using the following code...
simple version_
this version feeds serial every .5 seconds_
I can get my mac terminal to read the wifi strength by using the following code...
simple version_
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep CtlRSSI
this version feeds serial every .5 seconds_
while x=1; do /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep CtlRSSI; sleep 0.5; done
I would like to have this same function(#2) occur in Processing so that I can feed that serial data to arduino.
thanks
Shawn
1