Tool: Simple Bluetooth Scanner

Postby PPC1 » Tue Jan 10, 2006 7:33 am

Just a little OT about scanning for BT from a laptop rather than from a PDA:
Airmagnet has a freeware utility called "BlueSweep"

http://www.airmagnet.com/products/bluesweep.htm

Runs ONLY on Win XP drivers.
User avatar
PPC1
Mini Stumbler
 
Posts: 98
Joined: Wed Oct 20, 2004 6:33 am

Postby c0rnholio » Wed Jan 11, 2006 3:03 am

xTRONx wrote:On my Dell Axim x30 it shows "Scanning failed" when clicking the "Scan" button.
Bluetooth is activated, of course.

I actually don't know whether the "standard setup" is using the microsoft or the widcomm bluetooth drivers. anyone who knows that?


It shows scanning failed because it cannot create a socket. The X30 has the widcomm stack, thus my code will not work for you...sorry mate...
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby c0rnholio » Wed Jan 11, 2006 3:06 am

PPC1 wrote:Just a little OT about scanning for BT from a laptop rather than from a PDA:
Airmagnet has a freeware utility called "BlueSweep"

http://www.airmagnet.com/products/bluesweep.htm

Runs ONLY on Win XP drivers.



Yep, and there are others too: http://www.networkchemistry.com/products/bluescanner.php
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Updated Version

Postby c0rnholio » Thu Jan 12, 2006 4:02 am

Hi Folks,

attached you will find an updated version of btCrawler.

Changes in v0.2 are as follows:

- One program for PPC2003/SE/WM5
- Support for portrait AND landscape mode
- Detection of screen orientation at startup
- GUI changes
- Class of Device (CoD) is now "human readable"

Limitations:

- Rezising of the GUI due to display orientation change is not working. You have to change to your preferred display orientation before starting btCrawler.

Screenshots:
Image
Image
Enjoy.

Download at http://www.personalwireless.org/tools/btCrawler/btCrawler-v0.2.zip
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby c0rnholio » Thu Jan 26, 2006 3:44 am

Hi folks,

btCrawler v0.3 is out. You can download it at: http://www.silentservices.de/btCrawler.html

Enjoy. Cheers.
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby ethanhunt » Tue Jan 31, 2006 7:03 am

Nice app, it works well on my Qtek 2020 with WM2005.
Suggestion: what about adding information about signal stregth of detected devices ?
ethanhunt
Mini Stumbler
 
Posts: 3
Joined: Tue Jan 31, 2006 7:00 am

Postby c0rnholio » Tue Jan 31, 2006 8:27 am

ethanhunt wrote:Nice app, it works well on my Qtek 2020 with WM2005.
Suggestion: what about adding information about signal stregth of detected devices ?


Thanks for the feedback.

Getting accurate information about the signal strength of nearby bluetooth devices is a bit tricky. I'm not sure if the MS-Stack provides info about this.

Anyway it's a nice suggestion. I'll take a look and see what I can do.

Cheers
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby ethanhunt » Tue Jan 31, 2006 9:38 am

When using MS-Stack it should be "quite" easy to retrieve it, I already did some research (see here)but I don't have the time to write my own app...
ethanhunt
Mini Stumbler
 
Posts: 3
Joined: Tue Jan 31, 2006 7:00 am

Postby c0rnholio » Tue Jan 31, 2006 10:12 am

ethanhunt wrote:When using MS-Stack it should be "quite" easy to retrieve it, I already did some research...


Well, thanks for the hint man...I'll see if I can put something like that in my code.
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby c0rnholio » Wed Feb 01, 2006 10:39 am

ethanhunt wrote:When using MS-Stack it should be "quite" easy to retrieve it, I already did some research ...


Well, I took a look into this and the problem is that if you want to use the according function (BthReadRemoteVersion and several other usefull functions too) you need btdrt.lib. This Library is only available in the platform builder which I don't have. There are other ways to get all these infos (like lmp version/subversion infomration, manufacturer and stuff). You can use "getsockopt" but this requires a valid socket connection to the target device. And this again would under circumstances mean that you need to pair/bond before you can make a socket connection. I already implemented the function to connect to the obex-push channel and use getsockopt with SO_BTH_GET_REMOTE_VER, and I can read all this info. Anyway, I don't like the idea to connect to a foreign device just to receive information.

If you know another way, please let me know...

Cheers
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby ethanhunt » Thu Feb 02, 2006 6:00 am

c0rnholio wrote:Well, I took a look into this and the problem is that if you want to use the according function (BthReadRemoteVersion and several other usefull functions too) you need btdrt.lib. This Library is only available in the platform builder which I don't have.


Damn.. I googled around and found this
it seems that the lib if for platform builders only.

c0rnholio wrote:. Anyway, I don't like the idea to connect to a foreign device just to receive information.

You're right.. but let's make a step back, my request arises because ms stack gui lacks a signal strength indicator (widcomm stack that I had on my 2020 before upgrading to wm2005 has this and a lot of other useful features) and I was looking to an app to monitor my connection when I discoreved your btScanner... maybe you can add the signal level only for paired devices.
ethanhunt
Mini Stumbler
 
Posts: 3
Joined: Tue Jan 31, 2006 7:00 am

Postby c0rnholio » Fri Aug 11, 2006 3:07 am

Hi folks,

this is just a shameless bump due to the availability of btCrawler version 1.0.1.

Changes are as follows:

- Redesigned the smartphone UI. Handling should be better now.
- Added Bluejacking for both PPC and SP
- Added file transfer over BT and IRDA (PPC only)
- Added Bluesnarfing code (PPC only)
- Created CAB installer

Get it from here:

http://www.silentservices.de/btCrawler.html

Cheers
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby beakmyn » Fri Aug 11, 2006 4:02 am

Tried this out on an X51v next to laptop with Belkin bluetooth adapter with discovery on.

SDP Query screen:

in Portrait does not resize ok button and list box. It's formatted for landscape mode.

Exit button does nothing, must press OK then it exits.


Transfer screen:
Laptop shows but by the time I can type in a short test message to send BTCrawler reports "device has left our range". Not sure what is going on here as devices are within 3 feet of each other. No way to "rediscover" device to continue.

I can test all you want what else is there beside discovery?
beakmyn
 
Posts: 4858
Joined: Sun Aug 03, 2003 1:53 pm

Postby c0rnholio » Fri Aug 11, 2006 5:19 am

Greetings beakmyn,

thx for testing and feedback. I've fixed the sdp query screen bug. Please download 1.0.2.

Your laptop (and any other device) will be automatically deleted from the transfer screen if the device is not offering neither obex push, obex ftp or IR-Obex. So this behaviour should be seen as normal. I guess I should make a note on the homepage about this...
As for further testings I'll write you a pm.

Thanks again and cheers!
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby beakmyn » Fri Aug 11, 2006 6:42 am

1.0.2 fix works.

Couple suggestions:

It appears then when you go into the transfer screen it does a scan, which in turn discovers the device(s), however if they go out of range, would it be worthwhile to put a "rescan" button on the screen. The rescan would only be enabled if a scan had completed, this way one could stay on that screen rather then going back and forth to discover clients.

Send File/Send Message is a little awkward.
There's one text box that servers 2 purposes. Coming from a VB/SCADA background here's what I would do.

Get rid of the text box. Create a frame with 2 tabs labeled "Send File" and "Send Message", respectively.

Clicking on the Send File tab gives a combobox(perhaps save last 5 entries) with a ellipses (...) which would call "file explorer" to select a file then a "Send" button to send that file. Maybe limit the file types to .txt,.jpg,.bmp,.mpg etc.


Clicking on Send Message give a text or combobox (store last 5) and automatically pops up the keyboard (if possible) and a send button.
beakmyn
 
Posts: 4858
Joined: Sun Aug 03, 2003 1:53 pm

PreviousNext

Return to Pocket PC

Who is online

Users browsing this forum: No registered users and 2 guests