Here’s a new HOW-TO to connect your Holux M-241 GPS logger over Bluetooth on the Mac using the BT747 application.
- If there is already an /Application/GPS folder on your hard drive, (re)move or rename it.
- Enter the following commands in a shell (Terminal):
sudo mkdir /var/lock && sudo chmod 777 /var/lock
You will be asked for your root password.
- Turn the M-241 on and use the Bluetooth setup assistant on the Mac to set the device up (see screenshots below). Use passkey 0000 (four zeros). Once the wizard finishes, the M-241 will show up as paired but not connected. There will be no Bluetooth icon shown on the M-241 as for now because the serial port hasn’t been opened yet. If all is set up correctly there’s an entry called tty.HOLUX_M-241-SPPSlave-1 in the /dev directory of your Mac. Open a shell (Terminal) an try to run the command
and the Bluetooth icon on the the M-241 should appear almost immediately. Wait another 30 seconds and the last position information should be dumped in the shell. Press CTRL-C to abort. If it says “No such file or directory” the device may not have been set up correctly on your Mac. In some cases, the M-241 may be shown as tty.HOLUX_M-241-SPPSlave-0.
- Extract the content of BT747_1.52_xx.zip to /Applications/GPS
- Run the bt747_macosX.command script (double click it in your /Applications/GPS folder), the BT747 application should start
- On the tab labeled “Con” hit the BLUETOOTH button. If everything is fine the application will connect to your M-241.
- Don’t forget to hit the button “Get Log” on the tab labeled “Log” to download the track information from your M-241
- After the log is downloaded, press any of the format buttons to export your position data to that format.
- This is optional:
Create a subdirectory logs in /Applications/GPS
Change to the tab labeled “File”
Change the output dir to /Applications/GPS/logs
Press “Apply&Set the above values”
All your downloaded and converted GPS files will be written to this directory from now on.
If you get a gnu.io.PortInUseException:
Have a look at step 2 above.
I’m using the default Java Runtime Environment (JRE) on Mac OS X 10.5.4 which at this time happens to be 1.5.0_13-b05-237.