Modem Interface Reference
Modem. More...
Inheritance diagram for Modem:
Public Member Functions | |
List< Sim > | getSimList () |
Gets list of sims of the modem. More... | |
ModemStatus | getModemStatus () |
Gets current modem status. More... | |
ModemInformation | getModemInfo () |
Gets modem information. More... | |
IfaceInfo | getIfaceInfo () |
Get Modem Interface Statistics. More... | |
void | enable () throws ModemLowLevelException, ModemNotAvailableException |
Enables modem. More... | |
void | disable () throws ModemLowLevelException, ModemNotAvailableException |
Disables modem. More... | |
void | sleep () throws ModemLowLevelException, ModemNotAvailableException |
Makes modem go to sleep. More... | |
void | softwareRestart () throws ModemLowLevelException, ModemNotAvailableException |
Software restart. More... | |
void | hardwareRestart () throws ModemLowLevelException, ModemNotAvailableException |
Hardware restart. More... | |
void | enableDataConnection () throws ModemLowLevelException, ModemNotAvailableException |
Enables data connection. More... | |
void | disableDataConnection () throws ModemLowLevelException, ModemNotAvailableException |
Disables data connection. More... | |
void | forceNetworkMode (ModemNetworkMode mode) throws ModemLowLevelException, ModemNotAvailableException |
Allows to force a specific network mode (2G,3G,4G,...) More... | |
Boolean | getDataConnectionStatus () throws ModemLowLevelException, ModemNotAvailableException |
Gets data connection status. More... | |
List< Sim > | getActiveSimList () throws ModemLowLevelException, ModemNotAvailableException |
Gets list of active sims of the modem. More... | |
void | switchCurrentSimCard () throws ModemLowLevelException, ModemNotAvailableException |
Switch current SIM card. More... | |
int | getCurrentSimSlot () throws ModemLowLevelException, ModemNotAvailableException |
Get current SIM slot. More... | |
Public Member Functions inherited from Subject< T extends Observer< U, U extends Event > | |
void | subscribe (T observer) throws CannotSubscribeException |
void | unSubscribe (T observer) throws ObserverNotSubscribedException |
Detailed Description
Sim.
Modem
Sim
Member Function Documentation
void disable | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
void disableDataConnection | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
void enable | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
void enableDataConnection | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
void forceNetworkMode | ( | ModemNetworkMode | mode | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
List<Sim> getActiveSimList | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Returns
- list of sims
int getCurrentSimSlot | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
- Returns
- sim slot
Boolean getDataConnectionStatus | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Returns
- data connection status
IfaceInfo getIfaceInfo | ( | ) |
- Returns
- Interface Info
ModemInformation getModemInfo | ( | ) |
- Returns
- modem info
ModemStatus getModemStatus | ( | ) |
- Returns
- modem status
List<Sim> getSimList | ( | ) |
- Returns
- list of sims
void hardwareRestart | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
void sleep | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
void softwareRestart | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException
void switchCurrentSimCard | ( | ) | throws ModemLowLevelException, ModemNotAvailableException |
- Exceptions
-
ModemLowLevelException ModemNotAvailableException