View previous topic :: View next topic |
Author |
Message |
hogbreath Regular Visitor
Joined: Feb 07, 2004 Posts: 139 Location: Hillingdon, Middx
|
Posted: Sun Apr 18, 2004 7:04 pm Post subject: “Turn Bluetooth On” with…. |
|
|
Is it possible to setup button1 to switch Bluetooth on (not BT Manager).
why?
Would mean you don’t have to use the stylus when setting off, button1 to start BT, button2 for CheckPOInt, when activated button1 then set to Navigate home in ttn.
Probably dreaming as I suspect the answer is no!
Pete |
|
Back to top |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Mon Apr 19, 2004 12:37 am Post subject: |
|
|
This is not something you can do with standard Windows tools - but I am pretty sure with a bit of programming such a switch could be done. What's your hardware, and what's your BTM version? _________________ Lutz
Report Map Errors here:
TomTom/TeleAtlas NAVTEQ |
|
Back to top |
|
|
hogbreath Regular Visitor
Joined: Feb 07, 2004 Posts: 139 Location: Hillingdon, Middx
|
Posted: Tue Apr 20, 2004 6:51 pm Post subject: |
|
|
Just recently upgraded to the latest rom release ver 1.10
2210/PPC 2003/BT Ver 1.4.1 Build 60
Pete |
|
Back to top |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Fri Apr 23, 2004 5:56 pm Post subject: |
|
|
I don't have any 2003 devices so I can't test it but the below code should do the trick
Code: |
#include "stdafx.h"
#include "bthapi.h"
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
DWORD * pdwMode;
BthGetMode(pdwMode);
if(pdwMode == BTH_POWER_OFF)
BthSetMode(BTH_DISCOVERABLE);
else
BthSetMode(BTH_POWER_OFF);
return 0;
}
|
_________________ Lutz
Report Map Errors here:
TomTom/TeleAtlas NAVTEQ |
|
Back to top |
|
|
hogbreath Regular Visitor
Joined: Feb 07, 2004 Posts: 139 Location: Hillingdon, Middx
|
Posted: Fri Apr 23, 2004 9:41 pm Post subject: |
|
|
Lutz, many thanks, hope i can return the work you've done.
How do i turn the code into an exe prog, assuming this is going into the start menu 8O
Pete |
|
Back to top |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Fri Apr 23, 2004 10:06 pm Post subject: |
|
|
You will need to find someone with eVC++ 4.0 and the PocketPC 2003 SDK to compile the code into an .exe file for the ARM platform. Anyone volunteering?
In the meantime I will check if I can come up with a more generic solution (one that works on Pocket PC 2002 as well). _________________ Lutz
Report Map Errors here:
TomTom/TeleAtlas NAVTEQ |
|
Back to top |
|
|
hogbreath Regular Visitor
Joined: Feb 07, 2004 Posts: 139 Location: Hillingdon, Middx
|
Posted: Sat Apr 24, 2004 4:52 pm Post subject: |
|
|
Anyone else think this is worth having, other than Lutz & myself
Pete |
|
Back to top |
|
|
bagmans911 Occasional Visitor
Joined: Mar 26, 2004 Posts: 31
|
Posted: Thu May 06, 2004 2:39 pm Post subject: |
|
|
I have an Ipaq 3970 on 2002, would love a shortcut to a button for BT on, it is a pain in the proverbial having to stylus turn on BT, then button for Checkpoint. Any ideas for a Win 2002 user? |
|
Back to top |
|
|
matt_e Lifetime Member
Joined: 06/06/2003 21:23:45 Posts: 176 Location: London, United Kingdom
|
Posted: Thu May 06, 2004 3:40 pm Post subject: |
|
|
I also agree this would be useful |
|
Back to top |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Thu May 06, 2004 4:25 pm Post subject: |
|
|
I learned that I need the WidComm SDK for that. I am not even sure it is openly available. If anyone has information on that I'll be happy to code this little proggie. _________________ Lutz
Report Map Errors here:
TomTom/TeleAtlas NAVTEQ |
|
Back to top |
|
|
MrT Frequent Visitor
Joined: Nov 14, 2003 Posts: 2143 Location: Surrounded by A1, M1 & M25
|
Posted: Fri May 07, 2004 7:05 am Post subject: |
|
|
Why not just leave bluetooth turned on? |
|
Back to top |
|
|
kartracer Frequent Visitor
Joined: 26/03/2003 20:15:33 Posts: 502 Location: United Kingdom
|
Posted: Fri May 07, 2004 11:53 am Post subject: |
|
|
I submitted a reply to this thread a couple of weeks ago, but it seems to have vanished!
The solution I use to do this is ButtonMax from PocketMax:
http://www.pocketmax.net/buttonMax.htm
It allows you to record macros which can then be played back by pressing one of the buttons. My own macro to toggle bluetooth on/off is activated by double-clicking button 3. |
|
Back to top |
|
|
Mark R Penn Regular Visitor
Joined: 10/09/2002 17:13:17 Posts: 176 Location: United Kingdom
|
Posted: Fri May 07, 2004 1:46 pm Post subject: |
|
|
Your reply WAS there - I saw it and tried it! I can't see why it would have been deleted.
Anyway, I couldn't get ButtonMax to work - I recorded macros, but they simply didn't run
What PPC do you have? |
|
Back to top |
|
|
kartracer Frequent Visitor
Joined: 26/03/2003 20:15:33 Posts: 502 Location: United Kingdom
|
Posted: Fri May 07, 2004 1:51 pm Post subject: |
|
|
Mark R Penn wrote: | What PPC do you have? |
I use an iPAQ 5550.
Sorry to hear ButtonMax didn't work for you. It's a good job you get to try it for 30 days before paying for it. |
|
Back to top |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Fri May 07, 2004 2:13 pm Post subject: |
|
|
Recording and playing back macros is very subtle, especially on the PocketPC. It requires very lew level communication deep inside the kernel (SendMessage etc). Maybe one of your other programs is intercepting these messages (a taskbar utility for example) _________________ Lutz
Report Map Errors here:
TomTom/TeleAtlas NAVTEQ |
|
Back to top |
|
|
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
|
|