Reputation: 551
I've got a recent problem. I've got several notebooks with 3G modules in them (notebook manufacturer). When I restart one, it always recovers the last state of the connections. If WLAN/Bluetooth has been switched on the last time, it also starts switched on. Turning them off and restart the notebook then, they remain off.
But the 3G doesnt follow this pattern. It always is turned off after a restart. Some of our customers use this connection permanently, so they're looking for a solution that keeps 3G on when launching. Apparently, I don't have one. :)
It doesn't matter how this will be solved: C#, VBS, CMD/Batch, RegHacks, ... I'm open to every idea. :)
Ideas that has been tried:
Targeted OS:
Upvotes: 0
Views: 788
Reputation: 4042
From your description, it sounds as though you want to turn the 3G device's radio on. You can do this in C# or C++ via Windows Mobile Broadband IMbnRadio and IMbnRadioEvents interfaces.
I had a quick look on Google for a Windows setting that would tell the OS not to deactivate the device at shutdown, but didn't find anything.
EDIT: MbnApi does let you do a lot of things. It consists of many interfaces, and the two that I linked to above are specifically for switching the radio off and on. You don't need the rest.
The 3G module can either be software disabled (radio off/on) or hardware disabled (a switch on the computer). The exact implementation of these two things, is up to the individual manufacturer. They don't work exactly the same on machines from different manufacturers. Some computers just switch off the 3G radio and the device stays powered up, others power the device down completely.
Upvotes: 1