Hi,
I have bluetooth usb dongle connected to my PC running XP Windows.
How to send AT Commands to bluetooth usb dongle to set in discovery
mode
and read mac addresses of other bluetooth device nearby.
There is a good example from Linux minicom unfortunately it crashed
under Windows Hyperminal
wheneever I start it and try to type in anything from keyboard.
At the same time Widcomm and Bluesoleil bluetooth drivers/application
provided with bluetooth usb dongle work fine
and can discover nearby bluetooth devices and perform discovery
search.
Thanks.
Darius
I don't have any experience so far with connecting to GPS units
and issuing NMEA sentences. But I do have experience with
connecting to Bluetooth-enabled mobile phones.
Below is the log of a session with the Parani SD100, using
minicom (the Linux version of Hyperterminal). I have added
some comments. They are the lines beginning with "*".
I assume that a connection to a GPS unit would be very similiar,
except that NMEA sentences would be issued instead of
cellular-specific "AT" commands.
* start
ATZ
OK
* issue the command to scan for visible devices
AT+BTINQ?
0001E36B52C0,John S55,720204
0016209D8A7C,John V600i,520204
OK
* 2 mobile phones found on this scan - connect to the Siemens
* S55
ATD0001E36B52C0
OK
CONNECT 0001E36B52C0
* from here, we're talking to the S55
*
* issue the phone some commands to tell us the cell ID and
* Location Area Code whenever the phone changes serving cell,
* and also the name (in PDU-mode encoding) of that cell
AT+CREG=2
OK
AT+CNMI=1,0,2,0,1;+CSCB=0,50,"0-15"
OK
+CBM: 88
1B20003201114679785E96371A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D16834
1A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D1
68341A8D46A3D100
* what phone network are we connected to?
AT+COPS?
+COPS: 2,0,"Telstra"
OK
AT+CREG?
+CREG: 2,1,"1030","639E"
OK
+CREG: 1,"1030","1401"
+CBM: 88
07B000320111C8F4F99C76CF418D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D16834
1A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D1
68341A8D46A3D100
+CREG: 1,"1030","639E"
+CBM: 88
1B20003201114679785E96371A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D16834
1A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D1
68341A8D46A3D100
AT+CSQ
+CSQ: 18,99
OK
+CREG: 1,"1030","1401"
+CBM: 88
07B000320111C8F4F99C76CF418D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D16834
1A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D1
68341A8D46A3D100
OK
* give the escape sequence to the Parani to drop back into
* command mode
+++
* now disconnect from the phone
ATH
OK
DISCONNECT
* end
Please note that the Parani and the S55 were previously paired.
John
Archived from group: alt>cellular>bluetooth