XDA IIs WiFi controller activation - Windows Mobile Development and Hacking General

Hi everyone!
This is my first post and I would just like to say that I have found the information on xda-devlopers and these forums very useful while lurking over the last few weeks.
I am working on a commercial development project, using the O2 XDA IIs, with the goal of building a kiosk style interface to a number of web applications accessed via WiFi and GPRS. The project is progressing well and we are now at the stage of refining our prototype.
We have modified the extended ROM on the devices to reinstall our application and settings after a cold boot. However, after a cold boot the device does not automatically enable the WiFi hardware and driver. To enable them it is necessary to check the "Wireless LAN ON" box in the WLanMgr applet. The first time that this box is checked after a cold boot the device driver is registered in the active device list (HKLM\Drivers\Active) and from the investigations that I have performed so far it would appear the it also uploads the WiFi controller firmware at this time.
My question is: Does anyone know how to achieve this programmatically, i.e. without using the WLanMgr applet. My current assumption is that ActivateDeviceEx is the function that I need to call and that I need to pass in either the firmware data or the location of the firmware data. I currently have no idea what form the driver is expecting this information in.
Any help or suggestions would be greatly appreciated.
TIA,
Nigel

Related

XDA GPRS : Sharing with Laptop via IR or CABLE?

Ok. Please don't tell me to search. I have. If you have found the magic cure, then can you possible and nicely show me there this thread is?
PROBLEM:
No internet access for Laptop on 1.5 hour train trip.
However, TMOBILE XDA phone has good GPRS signal.
REQUIREMENT:
Share GPRS internet connection coming through XDA with laptop.
SOLUTION (?) :
None found. Might test this one : http://216.239.41.104/search?q=cach...aptop-howto.pdf+gprs+laptop+ir&hl=en&ie=UTF-8
Alt Link to above: http://tomt.ath.cx/attachments/gprs-turkcell-laptop-howto.pdf
--------------------------
I understand boot mode (wallaby) where it can be used as traditional cellular modem. That's limited to speed problems, and I don't wish to pursue that.
I also found a link in Microsoft newsgroup (recaptured in google groups), but I need to track those individuals down:
http://groups.google.com/[email protected]&rnum=1
Thanks, hope we all can figure this out.
With wm2003 4.00.33 German there is the "Wireless Modem" application built in which works with my MDA. I don't know if that application also works with an english ROM. Maybe there is a ROM-Update out there and the wireless modem is included.
Fidl
Thanks. I just checked both PROGS and CONNECTIONS, no such thing.
New to my ENG 4.05.00 is GPRS AUTHENTICATION in the connections/networking seciton, but nothing else.
wize_1 said:
Thanks. I just checked both PROGS and CONNECTIONS, no such thing.
Click to expand...
Click to collapse
I know that the wireless modem is NOT included with your 4.00.05 ROM. It was included in the 3.17.03 ENG ROM from O2.
Maybe you give a try to the wmodem.exe i extracted from my german ROM.....
Good Luck!
Fidl
Great!!! I'll try tonight installing that and will let everyone know.
One question, however. From reading other threads (I finally found some), I noticed that the laptop should be running XP.
I guess the question really is, what are the step-by-step instructions to complete the configuration and get the laptop on the internet. I would think that they were:
(1) Getting the phone to have WMODEM [complete]
(2) Powering the phone up, and running WMODEM app [complete]
(3) Powering up the laptop, and then discovering a device [unknown]
(4) Creating a new DUN (dial up networking) connection on the laptop and using the mystery modem device just discovered [unknown]
(5) Configuring SOME NUMBER to dial as the connection parameters [unknown]
(6) Connecting
I would think that the phone would accept the incoming 'request' for it to act as a wireless modem, and initiate a gprs connection, and then do some sort of NAT.
Does ANYONE have ANY more information on how this might work?
Is XP required?
GPRS Settings
You need a Serial Cable or an Irda COM Port available. XP is not required. I do Irda on W2k (it also works with XP)
Check this link for Instructions and the Irda-Driver:
http://www.myxda.com/html/HowToUse/XdaII/How to setup Wireless Modem for IrDA.htm
The important thing is to install a Standard Modem over some COM port and use Advanced Settings for your AccessPoint i.e
AT+CGDCONT=1,"IP","web.one.at","",0,0
You then dial "*99#" (without the quotes)
Fidl
I gave up and bought an aircard!
:lol:
Where do we stand on the best solutions?
I have the same problem except I am also interested in getting the XDA to act as a wireless modem for circuit-switched data calls (7Kbps pipe).
I first saw the most pertinent information at http://www.xda-developers.com/modem/ but the page is labeled "superseded". As I understand, as soon as we get ROM 3.16.43 or above, all the "intrusive" trick posted on the page originally is obsolete.
My first question is about the "intrusive" trick there. It sure looks like the trick will get the XDA to act as a wireless modem for your laptop to make circuit-switched data calls (consuming minutes, 7Kbps only). Does it get the laptop to make GPRS connection (45Kbps) as well, assuming I subscribe to T-Mobile's data plan ($20/mo, unlimited data under promotion)?
My second question is, once we get a ROM version that gives a "wireless modem" program, can I make both types of data calls? Sounds like yes for the answer.
If so, great. Let's assume so. T-Mobile US is at ROM 3.14.40 ENG right now. In a matter of a month or two, they are going to post the upgrade for Windows Pocket PC 2003. A tier 2 tech guy told me that it will probably come with a ROM upgrade. I feel that the chances are high that that ROM version provides this "wireless modem" program. If so, isn't it true that the upgrade basically converts our XDA's into a Sierra Wireless AirCard 750, and then some? Or I am off track somewhere?
The tech support told me that the AirCard 750 approach calls for a SIM card for the air card. You would have to either open a new line for a new SIM card, quite costly, or eject the SIM card from your PPC and place it into the air card each time you use it, quite a hassle. Hardware capability wise, XDA is just an AirCard 750, and then some. It's rediculous that it was not made as such to begin with. Maybe it was just a matter of development phases to roll out functionalities gradually and we are getting there?
Hello! I´ve got only one problem left with the xda II
Does anybody know how it ist possible to get the shown data from the XDA2´s IE on the screen of a notebook? I have a wsp flatrate and want to read the text on a bigger screen......... ist that possible? does anybody have experience with this topic?
Re: Hello! I´ve got only one problem left with the xda II
alamor said:
Does anybody know how it ist possible to get the shown data from the XDA2´s IE on the screen of a notebook? I have a wsp flatrate and want to read the text on a bigger screen......... ist that possible? does anybody have experience with this topic?
Click to expand...
Click to collapse
Well, there is this remote display application at YORCH.NET
"Remote Display Control for Pocket PC
With the Remote Display Control application, you can display actions on a Pocket PC, including user input, remotely on the display of a desktop or laptop personal computer. This is a great tool for demonstrating the power of the Pocket PC to a large audience. It also allows developers to test their applications for the Pocket PC on a larger screen.
size: 712KB"
I didn't try it yet, it sounds quite interesting for multiple purposes.

[APP] XP like Wireless Scanner

I´ve developed a simple app for scanning wireless devices for the pocketpc. Its features are:
- It´s been designed to be usable with your fingers but keeping a considerable amount of information on the screen
- Scans for wireless devices (APs and Clients) by issuing DeviceIoControl calls to the underlying driver (ndisuio)
- Sorts networks based on signal strength and displays the strength using the typical windows vertical bars
- Displays if network is protected or not (using a keylock image if it is)
- Further details of the wireless device can be seen when clicking on the device
- Scanning speed is configurable (5 possibilities)
And that´s all for the time being. Hope you like it!!!
P.S. I am currently developing a PE/Analyzer and ARM disassembler at the moment. I may release a beta soon to know your opinion.
UPDATE: I´ve been making some changes to the app and after some time I´ve decided to make it more eye-candy and "touch friendly". I´ve rewritten all the interface code and I´ve been testing it lately. Some options in the menu do not still work properly but I´m working on it...
I´m currently testing the WZC API to be able to connect to an AP with a simple click. When I manage to support at least open and WEP authentication (I´m now facing some issues with WEP encryption) I´ll post a new version of the app.
As for now:
* Scan begins right away if a wireless adapter is found
* Wireless device information is shown/hidden by double-clicking on any item
* Automatically connect to an AP (keep your an item tapped for a while)[TODO]
P.S.: Suggestions are welcome.
this is wonderful.
few suggestions:
1. after searching, there should be an option to connect to the selected network.
2. the app has to be run while WiFi is on. if there's a possibility to have it refresh wireless adapters automatically so it detects wifi even if it's turned on AFTER the app is run it would be great.
3. if the + sign near the network name could be like twice as big, it would really help controlling the app.
other than that this is really really wonderful. scanning is MEGAfast and the app is straightforward.. no bull****.
one thing i don't understand is, which clients does it detect? my laptop is running on wifi right now and it doesn't detect it. unless i'm misunderstood the meaning of "client"
thank you!
nir36 said:
this is wonderful.
few suggestions:
1. after searching, there should be an option to connect to the selected network.
2. the app has to be run while WiFi is on. if there's a possibility to have it refresh wireless adapters automatically so it detects wifi even if it's turned on AFTER the app is run it would be great.
3. if the + sign near the network name could be like twice as big, it would really help controlling the app.
other than that this is really really wonderful. scanning is MEGAfast and the app is straightforward.. no bull****.
one thing i don't understand is, which clients does it detect? my laptop is running on wifi right now and it doesn't detect it. unless i'm misunderstood the meaning of "client"
thank you!
Click to expand...
Click to collapse
Hi there!
1. Good news: If you keep the finger/stylus pressing any of the wireless device, you will have the option to connect to it.
Bad news: It is not working properly (i can not debug my wifi adapter with activesync on...). There is a problem here and I have two possibilities: issue ioctls to the driver to connect to an ap (too much work and testing so I find it unfeasible for WPA and such) or use wireless zero (I do not really like this way, but I may use this way if I have time to test). Each method has its advantages/drawbacks and it´s not a trivial issue to resolve
2. I could do 2 things. Either check for adapters every "n" seconds if no adapter is found or try to enable the adapter if no adapters found.
3. I´ll have a look at that.
Thank you for the feedback!
Really good app. Later I will check to see if this can fix my problem with GRemote
asak0 said:
Hi there!
1. Good news: If you keep the finger/stylus pressing any of the wireless device, you will have the option to connect to it.
Bad news: It is not working properly (i can not debug my wifi adapter with activesync on...). There is a problem here and I have two possibilities: issue ioctls to the driver to connect to an ap (too much work and testing so I find it unfeasible for WPA and such) or use wireless zero (I do not really like this way, but I may use this way if I have time to test). Each method has its advantages/drawbacks and it´s not a trivial issue to resolve
2. I could do 2 things. Either check for adapters every "n" seconds if no adapter is found or try to enable the adapter if no adapters found.
3. I´ll have a look at that.
Thank you for the feedback!
Click to expand...
Click to collapse
1.hehe i'm sorry but i can't see the good news fit here
i tried keeping my finger pressed and it doesn't do anything..
2. i assume checking for a connection every 5 seconds wouldn't make a difference cpu-usage-wise, so that would be great.
3. thanks.
4. if it's possible to scan at launch..
5. please refer to my question about the "clients". thank you.
nir36 said:
1.hehe i'm sorry but i can't see the good news fit here
i tried keeping my finger pressed and it doesn't do anything..
2. i assume checking for a connection every 5 seconds wouldn't make a difference cpu-usage-wise, so that would be great.
3. thanks.
4. if it's possible to scan at launch..
5. please refer to my question about the "clients". thank you.
Click to expand...
Click to collapse
1. I´ll check that the version I uploaded is the same I am using in my pocketpc (a popup menu shows up with an option to "Connect"). Anyway the functionality is not yet operative, so it will make no difference...
2. I think it´s a good idea.
3.
4. I guess you mean scan using the first adapter found. This is a feature I wanted to include but I have a little issue with that and the status bar not showing when I launch the scan inmediately after start.
5. when I said clients I was referring to Ad-Hoc networks
I´ll review these issues this weekend when I have some spare time.
thank you very much.
Hi guys,
I can not run this great sw in my PDA... - Asus Win 5.0
thanks
I am glad to read it here.
szkandi said:
Hi guys,
I can not run this great sw in my PDA... - Asus Win 5.0
thanks
Click to expand...
Click to collapse
Hi there!
It´s been compiled for ARMV4 based devices. Which processor does your Asus have?
ASUS 636n - CPUIntel PXA272 @417MHz
Thanks for your help.
Don't you know?
Please any ideas...
Hi,
Tytn2, Opal german ROM : didnt work.
Error Message : cant find wireless adapter.
Best regards

[Q] Tethering Android to WM6

I am trying to establish an internet connection from my android (tmo vibrant stock 2.2) to a professional wm6 (tds ranger spectra precision). I am sorry if this was posted some where else but all of my search efforts return either tethering a wm/android device to the pc or switching to/from android/wm devices. I have had this working before using pda net but the wm device had to get sent off for repairs and when it was repaired they did a master reset thus losing all of my settings. This device has a USB (input) and a seperate USB (output). lol... samsung usb drivers for wm6 anybody.... as i create the commection via pda net DUN (dial 123) i keep getting "no modem at above number". I have reinstalled pda net a number of times and established the bluetooth connection before and after starting pda net. I have also initiated the connection from both devices pari wm>vibrant & vibrant>wm. Any help would be graetly appreciated. If there is any thing I have missed please remind me as I dont have a lot of time right now I will be checking in via mobile today and will be updating this post with better info this weekend. thank you for your time and efforts in advance.

Windows Mobile 5 WiFi question

Hello everynyan
just a small question. I've got a WM5 device, a Bluebird Pidion BIP-1300 POS (POS is supposed to stand for point of sale, but in this case it surely means pile of **** :angel. Anyway, their WIFI configuration is set to connect to a particular SSID and I need a way to completely disable the SSID search so they connect only to this preconfigured one.
I can disable the notification that new SSIDs were found, but this is not quite what I need.
Can anyone help me out?
Thanks in advance
Install WM6 that should help.
Unfortunately I cannot do that because the manufacturer does not support WM6 on these devices and it is not possible to install custom ROM because the devices would go into tamper mode - these are credit card processing terminals, so the security is high.

Wifi remains disconnected when returning to a known network

Hi all,
I have tried to search for a similar problem in forums but have not found it or an answer.
My problem is that when I leave a known network (my home network) it remains off when I return. I wonder if this is because I have a setting incorrectly. I can't find anything even remotely that corresponds to not automatically finding my network again when I return home. It's annoying because it eats away at my cellular data (which despite being LTE) is blazingly slow.
I wonder if it is:
A) a setting that I am missing - what does triggering 'enable wi-fi verbose logging' in developer options do for instance - will that assist me?
or B) Something to do with me being in China behind the great fire wall. When I enter my home network, I get a 'Wi-Fi has no internet access - touch for options' notification that allows me to select 'Stay connected? Dont ask again yada yada' situation. The wifi works which is great, but it remains with an exclamation mark next to the wifi symbol in my status bar. I strongly feel that this is why the phone is not automatically able to relog into my network. Afterall, it does fine with automatic Bluetooth reconnection in my car.
Am I making sense? I know that a good fix would be to simply use my VPN through my router. Unfortunately though this option is closed to me, as I recently spent on upgrading my router and ... didn't realize the importance of a VPN capable router. My TL-WDR6500 is apparently not VPN able, so therefore it also means I cannot easily flash new roms as the phone hangs in unskippable limbo during the boot up process waiting for google service marriage or something. I can get around that at any rate, because I have found vpn ready networks close by. However, the fact remains that I think it is for this reason, my home network needs to be manually engaged each time I leave and come home. So, I am also wondering if there is some sort of noob-ish friendly network manager that can help me.
I guess it's not the end of the world for me, but it would make my phone experience top shelf if I could easily sort it out. Any assistance or thoughts would be appreciated. Surely, I can't be the only one living in mainland China using a nexus with these difficulties, right?
Cheers.
Ok. Seems that no one knows or is able to assist.
I have therefore thought about it and downloaded macrodroid and set up a couple of macros to connect WiFi networks (one for work and one for home) when they appear. Not sure what this will do to battery life and whether it will even fix the actual problem, but I guess I'll find out when I go walk the dog in a little while (literally, not figuratively).
Maybe this post might be of help to someone else stuck behind the great fire wall of China...
s327374 said:
Ok. Seems that no one knows or is able to assist.
I have therefore thought about it and downloaded macrodroid and set up a couple of macros to connect WiFi networks (one for work and one for home) when they appear. Not sure what this will do to battery life and whether it will even fix the actual problem, but I guess I'll find out when I go walk the dog in a little while (literally, not figuratively).
Maybe this post might be of help to someone else stuck behind the great fire wall of China...
Click to expand...
Click to collapse
balls... Macrodroid solve didn't work... Anyone? Please?
Solution 1 (does not require root):
1. Reboot phone and wait until Wifi is connected
2. Go to Settings and create a new user
3. Continue with user setup until you see "checking connection"
4. As soon as you see "checking connection", switch off your phone
5. Switch on your phone again
6. Toggle Wifi, and the exclamation mark should disappear quickly
7. You may optionally remove the new user you just created
This requires root, but if your problem is only about WiFi, then this will definitely work.
Just go to Terminal Emulator then type commands:
su
settings put global captive_portal_server g.cn
This will set the captive portal server to one we can use behind the Great Firewall, thus correcting the connection detection. After you toggle WiFi off and on you will no longer see the exclamation mark and WiFi will not prevent itself from connecting due to "no internet connection".
Oh, and greetings from Beijing
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]
AndyYan said:
This requires root, but if your problem is only about WiFi, then this will definitely work.
Just go to Terminal Emulator then type commands:
su
settings put global captive_portal_server g.cn
This will set the captive portal server to one we can use behind the Great Firewall, thus correcting the connection detection. After you toggle WiFi off and on you will no longer see the exclamation mark and WiFi will not prevent itself from connecting due to "no internet connection".
Oh, and greetings from Beijing
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]
Click to expand...
Click to collapse
I am a real noob. Ty for your time and thank you for your post - I was starting to feel like I was delving into a shakespearean monologue of self reflection and self help/doubt.
The first nonroot method worked, but I have also implemented your command work around. I have removed macro too. I wonder if now I can flash roms without suffering the no connection problem - or do I need to reset the command prompt thing each time I flash?
Thanks
s327374 said:
I am a real noob. Ty for your time and thank you for your post - I was starting to feel like I was delving into a shakespearean monologue of self reflection and self help/doubt.
The first nonroot method worked, but I have also implemented your command work around. I have removed macro too. I wonder if now I can flash roms without suffering the no connection problem - or do I need to reset the command prompt thing each time I flash?
Thanks
Click to expand...
Click to collapse
Each ROM you flash you need to type the command.
Just a matter of installing an app and typing a bit, and the terminal app can be kept for later use (handy when troubleshooting), not so bothersome isn't it?
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]

Categories

Resources