Page 1 of 3
Tool: Simple Bluetooth Scanner
Posted:
Wed Dec 21, 2005 1:12 am
by c0rnholio
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
Posted:
Wed Dec 21, 2005 5:42 am
by beakmyn
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.
Posted:
Wed Dec 21, 2005 10:43 am
by c0rnholio
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.
Posted:
Wed Dec 21, 2005 3:06 pm
by beakmyn
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.
Posted:
Thu Dec 22, 2005 4:28 am
by c0rnholio
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
Posted:
Thu Dec 22, 2005 4:34 am
by streaker69
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.
Posted:
Thu Dec 22, 2005 5:20 am
by c0rnholio
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.
Posted:
Tue Dec 27, 2005 12:39 am
by senoa
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
Posted:
Mon Jan 02, 2006 2:28 am
by c0rnholio
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
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
Posted:
Mon Jan 02, 2006 8:54 am
by senoa
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
Posted:
Mon Jan 02, 2006 11:51 am
by c0rnholio
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
Posted:
Mon Jan 02, 2006 12:17 pm
by audit
Posted:
Tue Jan 03, 2006 7:52 am
by c0rnholio
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
Posted:
Wed Jan 04, 2006 11:14 am
by senoa
Hello c0rnholio,
now ist works fine
i hope you prog more
thanx seNoa
Posted:
Mon Jan 09, 2006 6:32 am
by xTRONx
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?