Tool: Simple Bluetooth Scanner

Tool: Simple Bluetooth Scanner

Postby c0rnholio » Wed Dec 21, 2005 1:12 am

Hi Folks,

I created a simple bluetooth scanner for my PDA (HTC Universal). In fact it "should" run on every device which
a) is = or > PPC2003 (inkl. WM5)
b) has the MS bt-stack running

It's nothing big and I'm sure some people are missing features like saving the scan results and so on. But hey, it's my first c++ program and in addition my first program for PPC.

I will add some features WHEN I have time to do so.

Now to the program itself:

It's simple, start it and press "SCAN". After some devices have been found you can start an SDP query by pressing "SDP".

In the device list: COD means "Class of Device" (see bluetooth specification for more info).
In the output window, when the sdp services are listed, "ChId" means Channel ID, which is the RFCOMM Channel the service is listening on.

The programm works in landscape mode. I will add some code for switching between landscape and portrait later.

However, I'm not sure if someone finds this usefull. If so -> Enjoy, it's free. If not -> delete it...

Comments (also if it works for you or not) are welcome...

Cheers
Attachments
btCrawler.zip
(13.24 KiB) Downloaded 803 times
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby beakmyn » Wed Dec 21, 2005 5:42 am

c0rnholio wrote:Hi Folks,
8<
Comments (also if it works for you or not) are welcome...

Cheers


If you made it work in Potrait mode I'd be happy to test it out on my 5450 right now it just beeps at me when I try to run it.
beakmyn
 
Posts: 4858
Joined: Sun Aug 03, 2003 1:53 pm

Postby c0rnholio » Wed Dec 21, 2005 10:43 am

Greetings beakmyn,

I can make it work in portrait mode real quickly, but AFAIR the 5450 has the Widcomm BT Stack. Thus it will not work for you until you manage to get the MS Stack running.

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

Postby beakmyn » Wed Dec 21, 2005 3:06 pm

c0rnholio wrote:Greetings beakmyn,

I can make it work in portrait mode real quickly, but AFAIR the 5450 has the Widcomm BT Stack. Thus it will not work for you until you manage to get the MS Stack running.

Cheers.


You're right I glazed over that when I read it. And you even highlighted it. Oh well.
beakmyn
 
Posts: 4858
Joined: Sun Aug 03, 2003 1:53 pm

Postby c0rnholio » Thu Dec 22, 2005 4:28 am

beakmyn wrote:You're right I glazed over that when I read it. And you even highlighted it. Oh well.


Never mind ;) I wished Widcomm (Broadcom) made their SDK available for free, thus I would be able to make a BT Scanner for all platforms...but ~1000 bucks...huh...

However, btcrawler is just the scanning part of an other application I am writing for BT pentesting. I thought I should share it...

If you're in the need of a bluetooth scanner for PPC devices with the widcomm stack, have a look at BlueWatchCE from Airdefense. It's a pretty smart program but unfortunately it's not free...

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

Postby streaker69 » Thu Dec 22, 2005 4:34 am

c0rnholio wrote:Never mind ]I wished Widcomm (Broadcom) made their SDK available for free[/B], thus I would be able to make a BT Scanner for all platforms...but ~1000 bucks...huh...

Cheers


Don't count on that anytime soon. Broadcum's suck ass.
Treat your gun like your genitals, only whip it out when it's absolutely necessary.
User avatar
streaker69
 
Posts: 11867
Joined: Thu Jul 08, 2004 10:09 am
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA

Postby c0rnholio » Thu Dec 22, 2005 5:20 am

streaker69 wrote:Don't count on that anytime soon. Broadcum's suck ass.


Hope dies last :) - you're right, they suck but their bt-stack is (until today) much more stable than MS's.
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby senoa » Tue Dec 27, 2005 12:39 am

Hello c0rnholio,

I did not want to test the scanner on my XDA mini however the exe cannot not be started a valid application.

How?

Thanks seNoa
senoa
Mini Stumbler
 
Posts: 3
Joined: Mon Dec 26, 2005 10:00 pm

Postby c0rnholio » Mon Jan 02, 2006 2:28 am

senoa wrote:I did not want to test the scanner on my XDA mini however the exe cannot not be started a valid application.


Hi seNoa,

I'm not sure that I understand what you are trying to say :confused:
AFAIK the mini is PPC2003SE and has the MS Stack, so btcrawler should run. Have you copied the exe over to your device and then tried to start it from there?

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

Postby senoa » Mon Jan 02, 2006 8:54 am

Hello c0rnholio,

i send the btcrawler.exe from my Mac laptop over bluetooth to my XDA Mini and when i start the app on the XDA mini then displays error "btcrawler is no valid application for pocket Pc" ?

thanx seNoa
senoa
Mini Stumbler
 
Posts: 3
Joined: Mon Dec 26, 2005 10:00 pm

Postby c0rnholio » Mon Jan 02, 2006 11:51 am

senoa wrote:... "btcrawler is no valid application for pocket Pc" ?...


Ups...I'm sorry. I compiled the debug version for ARM and CE Subsystem 4.00, but the release version (which I posted above) was for THUMB and CE Subsystem 5.01.

Attached you will find a version that should work for you....

cheers
Attachments
btCrawler-ppc2003.zip
(13.24 KiB) Downloaded 433 times
You mean...there is life outside my lab?
c0rnholio
 
Posts: 160
Joined: Tue Jun 18, 2002 2:18 am
Location: Germany

Postby audit » Mon Jan 02, 2006 12:17 pm

This tool is mirrored at http://www.personalwireless.org/tools/btCrawler/ or http://www.michiganwireless.org/tools/btCrawler

c0rnholio, if you need a full time host for this, let me know.
User avatar
audit
 
Posts: 1945
Joined: Mon Aug 19, 2002 3:00 am
Location: In the Octagon

Postby c0rnholio » Tue Jan 03, 2006 7:52 am

audit wrote:This tool is mirrored at http://www.personalwireless.org/tools/btscanner or http://www.michiganwireless.org/tools/btscanner

c0rnholio, if you need a full time host for this, let me know.


Greetings audit,

thanks a lot for hosting. I'll come up with a webpage for the tool as soon as I have improved it a bit. Until then I appreciate your efforts.

just to avoid confusions: could you be so kind and change the namespace at pw.org and mw.org to btCrawler instead of btscanner? btscanner is a pretty nice bluetooth scanner for linux (and of course for PPCs running linux).

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

Postby senoa » Wed Jan 04, 2006 11:14 am

Hello c0rnholio,

now ist works fine :) i hope you prog more

thanx seNoa
senoa
Mini Stumbler
 
Posts: 3
Joined: Mon Dec 26, 2005 10:00 pm

Postby xTRONx » Mon Jan 09, 2006 6:32 am

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?
xTRONx
Mini Stumbler
 
Posts: 1
Joined: Mon Jan 09, 2006 6:19 am

Next

Return to Pocket PC

Who is online

Users browsing this forum: No registered users and 1 guest