Is there a utility to allow the user to turn the WAN radio OFF or ON or be managed by the application. I believe it was called WANpower.exe Is it available anywhere? Thanks
MC75 WAN Radio power// Expert user has replied. |
MC75 WAN Radio power// Expert user has replied.Is there a utility to allow the user to turn the WAN radio OFF or ON or be managed by the application. I believe it was called WANpower.exe Is it available anywhere? Thanks |
Subscribe to email updates
Monthly updates from our Zebra development team, straight to your inbox.
6 Replies
Subbu, turning off power to RIL "device" would certainly disable WAN, but would this actually turn OFF the very modem? From a power consumption perspective, this nuance seems relevant to me.
Hello Subbu, I would use the TAPI call lineSetEquipmentState() for the WAN power state - Never DevicePowerNOtify for WAN - what driver name do you use? - Use this for WLAN with WLP1: If you cannot find a utility a simpple script will do this. GSM_Open("Cellular Line") ; open a connection to the WAN RADIO SetVar int iGSMPower = GSM_IsRadioPowered IF ( iGSMPower != 1 ) GSM_Radio On ENDIF GSM_Close() :END Or you can call the API via a script comamnd DevicePower() -But you will need to know the WAN driver name.
I used the following code to power off/on the WAN interface in MC75... DevicePowerNotify(L"RIL1:", D4, POWER_NAME); //WAN OFF DevicePowerNotify(L"RIL1:", D0, POWER_NAME); //WAN ON You may need PM.H header file... If you don't have that header file, here is what you need... #define POWER_NAME (DWORD)(0x00000001) // default #define D0 0 #define D4 4
Joe, I'm not familar with the program you are asking for but my team has put together a doc at http://compass.mot.com/doc/279647828/MC75-Fusion-Best_practices.doc&nbs… some practices on how to do this. Please let me know what you think. Sample code is also provided. We plan to post this out along with other docs in the upcoming weeks. Thanks, Gene
sorry my previous post was WLAN focused not WAN. Hopefully it will help if you are using fusion but doesn't really address WAN.
Hi, You could use the following API to turn off/on power to the WAN interface... DevicePowerNoticy(); http://msdn.microsoft.com/en-us/library/aa908509.aspx http://msdn.microsoft.com/en-us/library/bb201981.aspx Hope this helps... Regards, Subbu