public abstract class

FourGInfo

extends Object
implements Parcelable
java.lang.Object
   ↳ com.htc.net.FourG.FourGInfo
Known Direct Subclasses
Known Indirect Subclasses

Summary

Nested Classes
enum FourGInfo.LINK_STATE_DETAIL  
enum FourGInfo.LINK_STATE_REASON  
Constants
String LINK_SPEED_UNITS
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
protected float txPower
Public Constructors
FourGInfo()
Protected Constructors
FourGInfo(Parcel in)
Public Methods
void clear()
clear current data
abstract FourGBaseStationInfo get4GBaseStationInfoServing()
Returns the 4G technology specific subclass of FourGBaseStationInfo -specific information for the serving Base Station to which the MS is currently connected.
int get4GState()
Returns the 4G enabled state.
String getBSID()
Returns Base station id current serving base station.
int getCinr()
Returns the CINR of the current serving base station.
static NetworkInfo.DetailedState getDetailedStateOf(FourGSupplicantState suppState)
Map a supplicant state into a fine-grained network connectivty state.
int getDlLinkSpeed()
InetAddress getInetAddress()
Returns IP address
int getIpAddress()
Returns IP address as 4 bytes of binary, e.g.
int getLinkSpeed()
Returns the current link speed in LINK_SPEED_UNITS.
FourGInfo.LINK_STATE_DETAIL getLinkStateDetailed()
Returns the detailed state of the link.
FourGInfo.LINK_STATE_REASON getLinkStateReason()
Returns the detailed reason for the failure of the link.
String getMacAddress()
Return 4G radio Mac Address, same string format as WifiManager.getMacAddress()
int getNetworkId()
Returns internal 4G Manager's network identifier.
int getRssi()
Returns the received signal strength indicator of the current serving base station.
abstract FourGSupplicantState getSupplicantState()
Returns the detailed state of the supplicant's negotiation with an access point, in the form of a FourGSupplicant object.
int getTxPower()
Returns the average transmit power for the last burst transmitted by the device.
int getUlLinkSpeed()
void readFromParcel(Parcel in)
void set4GState(int net4gState)
void setDlLinkSpeed(int linkSpeed)
void setIpAddress(int ipAddr)
void setLinkStateDetailed(FourGInfo.LINK_STATE_DETAIL linkStateDetail)
void setLinkStateReason(FourGInfo.LINK_STATE_REASON linkStateReason)
void setMacAddress(String macAddr)
void setNetworkId(int networkId)
void setTxPower(float txPower)
void setUlLinkSpeed(int linkSpeed)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final String LINK_SPEED_UNITS

Constant Value: "Mbps"

Fields

protected float txPower

Public Constructors

public FourGInfo ()

Protected Constructors

protected FourGInfo (Parcel in)

Public Methods

public void clear ()

clear current data

public abstract FourGBaseStationInfo get4GBaseStationInfoServing ()

Returns the 4G technology specific subclass of FourGBaseStationInfo -specific information for the serving Base Station to which the MS is currently connected.

public int get4GState ()

Returns the 4G enabled state. The same information is provided by FourGManager.get4GState().

public String getBSID ()

Returns Base station id current serving base station. Format is a string of hexadecimal - no space, no "0x" or any prefix.

public int getCinr ()

Returns the CINR of the current serving base station. Implementation returns the mean CINR measured by the User Equipment. range from 0x00 to 0x3F, where -10dB is encoded as 0x00 and 53dB encoded as 0x3F with 1dB increments

public static NetworkInfo.DetailedState getDetailedStateOf (FourGSupplicantState suppState)

Map a supplicant state into a fine-grained network connectivty state.

public int getDlLinkSpeed ()

public InetAddress getInetAddress ()

Returns IP address

public int getIpAddress ()

Returns IP address as 4 bytes of binary, e.g. 65.5.12.126 is 0x41050C7E.

public int getLinkSpeed ()

Returns the current link speed in LINK_SPEED_UNITS.

public FourGInfo.LINK_STATE_DETAIL getLinkStateDetailed ()

Returns the detailed state of the link. Only available if the class instance is for the service BS or for a BS to which a connection failed.

public FourGInfo.LINK_STATE_REASON getLinkStateReason ()

Returns the detailed reason for the failure of the link. Only available if the class instance is for the serving BS or for a BS to which a connection failed.

public String getMacAddress ()

Return 4G radio Mac Address, same string format as WifiManager.getMacAddress()

public int getNetworkId ()

Returns internal 4G Manager's network identifier. Each configured network has a unique small integer ID, used to identify the network when performing operations on the supplicant.

public int getRssi ()

Returns the received signal strength indicator of the current serving base station. This method returns the mean RSSI measured by the User Equipment. range from 0x00 to 0x53, where -123dB is encoded as 0x00 and -40dB encoded as 0x53 with 1dB increments

public abstract FourGSupplicantState getSupplicantState ()

Returns the detailed state of the supplicant's negotiation with an access point, in the form of a FourGSupplicant object.

public int getTxPower ()

Returns the average transmit power for the last burst transmitted by the device. the values range from 0x00 to 0xFF, where -84dBm is encoded as 0x00 and 43.5dBm is encoded as 0xFF with 0.5dBm increment

public int getUlLinkSpeed ()

public void readFromParcel (Parcel in)

public void set4GState (int net4gState)

public void setDlLinkSpeed (int linkSpeed)

public void setIpAddress (int ipAddr)

public void setLinkStateDetailed (FourGInfo.LINK_STATE_DETAIL linkStateDetail)

public void setLinkStateReason (FourGInfo.LINK_STATE_REASON linkStateReason)

public void setMacAddress (String macAddr)

public void setNetworkId (int networkId)

public void setTxPower (float txPower)

public void setUlLinkSpeed (int linkSpeed)

public String toString ()

Since: API Level