Click here to Skip to main content
15,892,199 members
Articles / Mobile Apps / Windows Mobile

Radio Power

Rate me:
Please Sign up or sign in to vote.
4.92/5 (27 votes)
19 Aug 2010CPOL11 min read 142.5K   10.9K   49  
An in-depth view in to monitoring and controlling the power of your Windows Mobile device's wireless communications systems.
#pragma once
#include "TapiLine.hpp"

/// Moidify the power state of the TAPI WWAN radio
class TapiRadioPower
{
public:
    TapiRadioPower( TapiLineApp& line_app );

    /// Is the WWAN radio enabled?
    bool IsRadioEnabled() const;

    /// enable the WWAN radio
    void Enable() const;

    /// disable the WWAN radio
    void Disable() const;

private:

    /// handle to the open TAPI WWAN radio
    TapiLine line_;

}; // class TapiRadioPower

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) An engineering firm in Cedar Rapids, Iowa
United States United States
I'm also on the MSDN forums
http://social.msdn.microsoft.com/profile/paulh79

Comments and Discussions