O
ownowl
Hello
for an java application runnig on PC or tablette pc under XP or vista
with java 1.5 or 1.6, I must draw some information get by a GPS device.
I looking for around that since many hours without any success.
I use a gps receiver (tomtom wireless gps mk2) and try to connect this
receiver to my notebook via a bluetooth usb key. I think the connection
work, on the windows bluetooth device, the tomtom wireless is visible,
connected on COM4 (output) and COM5 (input). But I don't known how I can
get the data from the receiver.
I am new in this area (bluettoth, wireless,..), and I don't know what
the best approach is. What api I must use, and so forth.
Should I try to read the serial port COM5, or work with bluetooth
directly, or maybe another stuff ?
I tried some code found on the net beginning by :
LocalDevice local = LocalDevice.getLocalDevice();
but I get :
ax.bluetooth.BluetoothStateException
at
com.sun.kvem.jsr082.bluetooth.LocalDeviceImpl.<init>(LocalDeviceImpl.java:185)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:94)
thanks a lot
Olivier
for an java application runnig on PC or tablette pc under XP or vista
with java 1.5 or 1.6, I must draw some information get by a GPS device.
I looking for around that since many hours without any success.
I use a gps receiver (tomtom wireless gps mk2) and try to connect this
receiver to my notebook via a bluetooth usb key. I think the connection
work, on the windows bluetooth device, the tomtom wireless is visible,
connected on COM4 (output) and COM5 (input). But I don't known how I can
get the data from the receiver.
I am new in this area (bluettoth, wireless,..), and I don't know what
the best approach is. What api I must use, and so forth.
Should I try to read the serial port COM5, or work with bluetooth
directly, or maybe another stuff ?
I tried some code found on the net beginning by :
LocalDevice local = LocalDevice.getLocalDevice();
but I get :
ax.bluetooth.BluetoothStateException
at
com.sun.kvem.jsr082.bluetooth.LocalDeviceImpl.<init>(LocalDeviceImpl.java:185)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:94)
thanks a lot
Olivier