Progress with bluetooth
d.varvello at quinary.com
Tue Jan 17 13:33:57 UTC 2006
Other progress with bluetooth.
As I don't like to use the GUI to interface my bluetooth devices, I
explored more the IOBluetooth.framework to start a device discovery.
Here the code:
bundle := NSBundle bundleWithPath:'/System/Library/Frameworks/
inquiry := (bundle classNamed:'IOBluetoothDeviceInquiry') new.
someDevices := inquiry foundDevices.
bluetoothDevice := someDevices objectAtIndex:0.
It's simple and clean, isn't it?
Now, the next step is to start a communication. I'll update you next
More information about the Squeak-dev