Controlling the Radio Devices

Do you need a registry key to do a specific task? Would you like to customize the way your PocketPC/Smartphone looks and works? This is the right place.

Moderators: Teksoft, admin

Postby Idruna » Wed Jan 24, 2007 11:52 am

The key item would appear to be a link called EnableWZC, which has their E2C software as a target. This software wont actually remember to turn WiFi or Bluetooth on for you though, which is why I ended up here ;)
Idruna
TEK-Newbie
TEK-Newbie
 
Posts: 5
Joined: Tue Jan 23, 2007 6:04 pm

Postby radhoo » Wed Jan 24, 2007 11:54 am

Could I have this EnableWZC for a closer inspection?

Maybe you can upload it in this thread.
radhoo
TEK-Insider
TEK-Insider
 
Posts: 645
Joined: Fri Mar 17, 2006 2:47 am

Postby uxkas » Thu Feb 01, 2007 12:15 pm

Hi again, sorry for delay.

I only post to remind myself to psot here the .rar with the source code.

Also I want to express an idea in order to knwo when de wifi device is on and there is a connection:

Is veri simple, just declare a timer and leave it enabled until your PocketPC IP is diferent from "127.0.0.1".

I hope to come back soon with the code.
uxkas
TEK-Newbie
TEK-Newbie
 
Posts: 6
Joined: Thu Jan 11, 2007 2:30 pm

Postby uxkas » Tue Feb 06, 2007 2:27 pm

Ok, i just got it!

Here i post the source code of the DLLs and an executable project which test the libraries which are controling de wifi device.

There are 2 separated solutions:

-WIFIControl: C++ DLL that has your WirelesDevices.h/.cpp

-DeviceControl: Has 2 projects:
-- C# DLL DeviceControl which encapsulates WIFIControl.dll
-- C# SmartDevice form TestWIFIController which test all it.

There is only one problem:

When the PocketPC is started for first time and wifi is off, the program runs but don't do nothing. Also the function GetState() from C++ WIFIControl.dll returns strange values.

Is there any solution for that?

Get the code from:
http://www.kas.unexpected.es/Software/C ... Device.rar

PD: Hope my code helps other programmers.
uxkas
TEK-Newbie
TEK-Newbie
 
Posts: 6
Joined: Thu Jan 11, 2007 2:30 pm

Postby admin » Mon Feb 26, 2007 6:52 pm

Attachments
Controlling_the_Wifi.zip
(1.39 MiB) Downloaded 582 times
admin
Editors
 
Posts: 314
Joined: Sat Mar 04, 2006 3:37 pm

What about Beam?

Postby FregSnell » Fri Mar 23, 2007 2:41 pm

Is it also possible to control the IR in a similar way? i.e. mimic the effect of the control panel 'receive all incoming beams' box?

I have done a couple of registry dumps, and the only affected value in the HKLM hive seems to be

HKLM\Software\Microsoft\Obex\IsEnabled

But if I change this programmaticaly, it doesnt seem to work. Also, I'm worried that this value will also affect the bluetooth (if it were to work).

Thanks,
Freg
...Always the last to know...
FregSnell
TEK-Newbie
TEK-Newbie
 
Posts: 8
Joined: Thu Nov 02, 2006 6:49 pm
Location: London

Postby uxkas » Thu Mar 29, 2007 2:00 pm

Hi again,

Im still getting the etern problem:

There is only one problem:

When the PocketPC is started for first time and wifi is off, the program runs but don't do nothing. Also the function GetState() from C++ WIFIControl.dll returns strange values.

Is there any solution for that?


Have any body found any WORKING solution for this? Im developing with an iPAQ hx 2400 over Windows Mobile 5.0 and .NET Compact Framework 2.0

Thanks
uxkas
TEK-Newbie
TEK-Newbie
 
Posts: 6
Joined: Thu Jan 11, 2007 2:30 pm

Re: What about Beam?

Postby radhoo » Fri Mar 30, 2007 10:58 am

FregSnell wrote:Is it also possible to control the IR in a similar way? i.e. mimic the effect of the control panel 'receive all incoming beams' box?

The Beam control is explained here:
http://teksoftco.com/forum/viewtopic.php?t=956

uxas wrote:Have any body found any WORKING solution for this? Im developing with an iPAQ hx 2400 over Windows Mobile 5.0 and .NET Compact Framework 2.0

uxas, what is the WLAN adapter's name?
radhoo
TEK-Insider
TEK-Insider
 
Posts: 645
Joined: Fri Mar 17, 2006 2:47 am

Postby uxkas » Fri Mar 30, 2007 4:57 pm

Well, before answering your question i'd say that the software i'm developing must run on all Windows Mobile 5.0 devices.

Now, if you're going to give to me a WORKING solution, i would be very pleased with you, but i will also need a way on how to know the WLAN device name.

Next monday 2 i will post again with the WLAN name, if i found it.
uxkas
TEK-Newbie
TEK-Newbie
 
Posts: 6
Joined: Thu Jan 11, 2007 2:30 pm

Previous

Return to Developers

Who is online

Users browsing this forum: No registered users and 0 guests