Forums > MaxMSP

Help: Reading out Wireless Signals Airport/Wifi, Bluetooth

July 29, 2008 | 4:23 pm

i ran into this problem and haven’t found a solution yet.
i’m looking for a method to read out wifi-(airport) and bluetooth-signals. the things that should be read are the device-name and the signal-strength. is this possible in max/msp or do i need to rely on another solution? i searched the forums, but didn’t find anything. maybe it’s too obvious…
any help is really appreciated.


July 29, 2008 | 5:06 pm

Off the top of my head, Bluetooth devices can be accessed using the [serial] object.


July 29, 2008 | 5:26 pm

thanks for your answer. i already tried the serial object, but it seems like it can’t send the device-names as a list or maybe i just have to dive deeper into the object.
another thing, that the serial-object is not capable of, is reading out the signal strength (maybe this isn’t even possible with bluetooth) and it doesn’t communicate with airport.


July 29, 2008 | 5:27 pm

one thing i forgot to mention is, that i don’t want to send anything to bluetooth or wifi-devices. i just want the info from wireless-transmitters, that are in range.


July 30, 2008 | 4:52 pm

Hi,

there is a command line utility for accessing airport:

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/
Current/Resources/airport

so using shell(or mxj syscommand) you could query the strength of the
signal:

– Pasted Max Patch, click to expand. –

there’s no documentation about this util, but if you type airport –
h(or google), you’ll see other options offered…

hth,
nesa


November 18, 2012 | 9:58 pm

This works great for WiFi.

Can the Bluetooth Explorer be accessed via the shell to do the same thing for Bluetooth?

It shows signal strength for all available Bluetooth devices in its GUI, but I don’t know how to access that information in such a way I can get it into Max…

/Developer/Applications/Utilities/Bluetooth/Bluetooth Explorer.app


Viewing 6 posts - 1 through 6 (of 6 total)