Bluetooth GPS Resource Busy
Bluetooth GPS Resource Busy
- Subject: Bluetooth GPS Resource Busy
- From: Avery <email@hidden>
- Date: Thu, 14 Feb 2008 09:20:52 +0900
Hello,
I have a question related to some development I am doing with Widgets and Bluetooth. I am looking to write a small program that can track a users location and update that information on a widget with google maps.
I am able to successfully establish a connection with my device on the command line by issuing :
cat /dev/cu.BT-GPS-35F829-BT-GPSCOM-1
The issue is that I have noticed that when I stop reading through the CAT command that it often leaves the resource /dev/cu.BT-GPS-35F829-BT-GPSCOM-1 in a hung state. Subsequent requests to the device respond back with "Resource Busy".
My question would be is there a way that I can clear a Busy Resource via a terminal command? When this issue happens now the only way I can find to free it up is to reboot the device...obviously not the best way to handle the situation.
Any help would be greatly appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden