Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Share Your Creations
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.


Use Basic4ppc to send serial data from a PDA to a BlueSMiRF Bluetooth module.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-15-2007, 06:39 PM
Newbie
 
Join Date: Sep 2007
Posts: 3
Arrow Use Basic4ppc to send serial data from a PDA to a BlueSMiRF Bluetooth module.

Use Basic4ppc to send serial data from a Bluetooth Pocket PC PDA to a
BlueSMiRF Bluetooth module. To view the Basic4ppc program code listing
visit the webpage:

http://www.stormpages.com/microbox/index.html
Reply With Quote
  #2 (permalink)  
Old 09-15-2007, 08:35 PM
taximania's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 262
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Nice work
Pity I don't have bluetooth on my device, I'm still struggling to get IR to work with a Microchip.

My personal opinion, not a pull down
The text on your web site is a bit big though.
__________________
I'm a little crazy at times . . . .

O2 XDA Artemis Touch Flo 4.02 Full Cube Rom WM6.1

http://www.taximania.net
Reply With Quote
  #3 (permalink)  
Old 09-15-2007, 08:49 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,335
Default

Looks great!
Two tips:
1. Users with WM6 devices should use the Serial2 library instead (no nead for any other dll).
2. Instead of all the Button??_Click subs you could do something like:
Code:
Sub App_Start
 ...
 For i = 3 to 75
   AddEvent("Button" & i,Click,"KeyPad")
 Next
End Sub
Sub KeyPad
 serial.Output (sender.Text)
 label1.Text = strlabeltemp & sender.Text
End Sub
Reply With Quote
  #4 (permalink)  
Old 11-19-2007, 10:58 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 164
Default Detecting bluetooth

Is there an effective way to determine if the phone the program is running on has bluetooth?

If I open a serial connection on say, port 8, is there an effective way to determine if the bluetooth module is responding?

Gary
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use basic4ppc to create a Bluetooth middleware solution? Olav Questions & Help Needed 1 09-22-2008 12:21 PM
Send data to serial port for other application schimanski Questions & Help Needed 6 04-08-2008 06:45 PM
send the hex data alex_up Questions & Help Needed 10 12-18-2007 05:50 AM
Serial terminal ,send ASCII/HEX alex_up Russian Forum 0 12-15-2007 12:18 PM
Serial Port Profile & Bluetooth Paul Questions & Help Needed 5 07-27-2007 05:08 PM


All times are GMT. The time now is 06:17 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0