I just want to make a small and nifty python app for my N900 that every 5 mins checks the bluetooth and if it can find a device named "Larsey-PC" prints out "Larsey-PC in range.".
Could this be done (and how)? Its a smaller part of a project im working on, i want my N900 to do stuff when it comes in range of different devices that broadcasts a bluetooth signal.
Im also thinking of using the IR sensor on the N900, anyone have any links?
EDIT: after a little googling i found another lib: python-bluetooth!
after that you could write yourself a nice little 6-liners:Code:sudu gainroot apt-get install python-bluetooth
*note: ur bluetooth must be turned on or u could run code from http://wiki.maemo.org/Phone_control#EnableCode:import bluetooth nearby_devices = bluetooth.discover_devices() for nearby_device in nearby_devices: print bluetooth.lookup_name( nearby_device )