NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Pocket PC
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 12-21-2005   #1 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Tool: Simple Bluetooth Scanner

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
Attached Files
File Type: zip btCrawler.zip (13.2 KB, 457 views)
__________________
You mean...there is life outside my lab?
c0rnholio is offline   Reply With Quote
Old 12-21-2005   #2 (permalink)
beakmyn
root\.workspace\.garbage.
 
Join Date: Aug 2003
Posts: 4,755
Quote:
Originally Posted by c0rnholio
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.
__________________
It's not Intelligent Design, it's peer pressure.

┌──────────────────────────────┐
NS Icons Explained|et hoc genus omne
└──────────────────────────────┘
beakmyn is offline   Reply With Quote
Old 12-21-2005   #3 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
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 is offline   Reply With Quote
Old 12-21-2005   #4 (permalink)
beakmyn
root\.workspace\.garbage.
 
Join Date: Aug 2003
Posts: 4,755
Quote:
Originally Posted 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.
You're right I glazed over that when I read it. And you even highlighted it. Oh well.
__________________
It's not Intelligent Design, it's peer pressure.

┌──────────────────────────────┐
NS Icons Explained|et hoc genus omne
└──────────────────────────────┘
beakmyn is offline   Reply With Quote
Old 12-22-2005   #5 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Quote:
Originally Posted by beakmyn
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 is offline   Reply With Quote
Old 12-22-2005   #6 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 11,650
Quote:
Originally Posted by c0rnholio
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...

Cheers
Don't count on that anytime soon. Broadcum's suck ass.
__________________
"One of these days, I'm going to cut you to pieces."

If you're offended by this post, please feel free to report it to one of the many helpful moderators of this forum.

Thank you.
streaker69 is offline   Reply With Quote
Old 12-22-2005   #7 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Quote:
Originally Posted by streaker69
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 is offline   Reply With Quote
Old 12-27-2005   #8 (permalink)
senoa
Registered Member
 
Join Date: Dec 2005
Posts: 3
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 is offline   Reply With Quote
Old 01-02-2006   #9 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Quote:
Originally Posted by senoa
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
__________________
You mean...there is life outside my lab?
c0rnholio is offline   Reply With Quote
Old 01-02-2006   #10 (permalink)
senoa
Registered Member
 
Join Date: Dec 2005
Posts: 3
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 is offline   Reply With Quote
Old 01-02-2006   #11 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Quote:
Originally Posted by senoa
... "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
Attached Files
File Type: zip btCrawler-ppc2003.zip (13.2 KB, 153 views)
__________________
You mean...there is life outside my lab?
c0rnholio is offline   Reply With Quote
Old 01-02-2006   #12 (permalink)
audit
Mentally Fucked up!
 
audit's Avatar
 
Join Date: Aug 2002
Location: Deep in the Woods.
Posts: 1,887
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.
__________________
audit

Blackberry Outage Mail List. Be the one of first people to know about RIM outages.
Blackberry Chat Mail List.
My day to day life.

Last edited by audit : 02-02-2006 at 07:55 AM.
audit is offline   Reply With Quote
Old 01-03-2006   #13 (permalink)
c0rnholio
cd /pub && more beer
 
Join Date: Jun 2002
Location: Germany
Posts: 160
Quote:
Originally Posted by audit
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?

Last edited by c0rnholio : 01-03-2006 at 07:54 AM.
c0rnholio is offline   Reply With Quote
Old 01-04-2006   #14 (permalink)
senoa
Registered Member
 
Join Date: Dec 2005
Posts: 3
Hello c0rnholio,

now ist works fine i hope you prog more

thanx seNoa
senoa is offline   Reply With Quote
Old 01-09-2006   #15 (permalink)
xTRONx
Registered Member
 
Join Date: Jan 2006
Posts: 1
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 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 07:25 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.