#include <stk_service.h>
|
enum | CommandType {
DISPLAY_TEXT = 0x21
, GET_INKEY = 0x22
, GET_INPUT = 0x23
, LAUNCH_BROWSER = 0x15
,
PLAY_TONE = 0x20
, REFRESH = 0x01
, SELECT_ITEM = 0x24
, SEND_SS = 0x11
,
SEND_USSD = 0x12
, SEND_SMS = 0x13
, RUN_AT = 0x34
, SEND_DTMF = 0x14
,
SET_UP_EVENT_LIST = 0x05
, SET_UP_IDLE_MODE_TEXT = 0x28
, SET_UP_MENU = 0x25
, SET_UP_CALL = 0x10
,
PROVIDE_LOCAL_INFORMATION = 0x26
, LANGUAGE_NOTIFICATION = 0x35
, OPEN_CHANNEL = 0x40
, CLOSE_CHANNEL = 0x41
,
RECEIVE_DATA = 0x42
, SEND_DATA = 0x43
, GET_CHANNEL_STATUS = 0x44
} |
|
◆ CommandType
Enumerator |
---|
DISPLAY_TEXT | |
GET_INKEY | |
GET_INPUT | |
LAUNCH_BROWSER | |
PLAY_TONE | |
REFRESH | |
SELECT_ITEM | |
SEND_SS | |
SEND_USSD | |
SEND_SMS | |
RUN_AT | |
SEND_DTMF | |
SET_UP_EVENT_LIST | |
SET_UP_IDLE_MODE_TEXT | |
SET_UP_MENU | |
SET_UP_CALL | |
PROVIDE_LOCAL_INFORMATION | |
LANGUAGE_NOTIFICATION | |
OPEN_CHANNEL | |
CLOSE_CHANNEL | |
RECEIVE_DATA | |
SEND_DATA | |
GET_CHANNEL_STATUS | |
◆ StkService() [1/2]
◆ ~StkService()
cuttlefish::StkService::~StkService |
( |
| ) |
|
|
default |
◆ StkService() [2/2]
cuttlefish::StkService::StkService |
( |
const StkService & |
| ) |
|
|
delete |
◆ GetCurrentSelectItem()
XMLElement * cuttlefish::StkService::GetCurrentSelectItem |
( |
| ) |
|
|
private |
e.g. current_select_item_menu_ids_: {"1", "02"} <SELECTITEM id="1"> <SELECTITEM id="01"> </SELECTITEM> <SELECTITEM id="02"> </SELECTITEM> </SELECTITEM>
◆ HandleReportStkServiceIsRunning()
void cuttlefish::StkService::HandleReportStkServiceIsRunning |
( |
const Client & |
client | ) |
|
AT+CUSATD This command determines if, and optionally which profile should be downloaded to the UICC automatically upon start-up.
Command Possible response(s) +CUSATD=[<download>[,<reporting>]] +CME ERROR: <err> +CUSATD? +CUSATD: <download>,<reporting>
<download>: integer type. 0 Download MT default profile automatically during next start-up. 1 Download the combined TE and MT profile 2 Halt next UICC start-up when ready for profile download. <reporting>: integer type. 0 Disable +CUSATS, i.e. no notification. 1 Enable +CUSATS, i.e. notify TE.
see RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING in RIL
◆ HandleSendEnvelope()
void cuttlefish::StkService::HandleSendEnvelope |
( |
const Client & |
client, |
|
|
std::string & |
command |
|
) |
| |
AT+CUSATE Execution command allows the TE to send a USAT envelope command to the MT
Command Possible response(s) +CUSATE=<envelope_command> +CUSATE: <envelope_response>[,<busy>] [<CR><LF>+CUSATE2: <sw1>,<sw2>] +CME ERROR: <err>
<envelope_command>: string type in hexadecimal character format. <envelope_response>: string type in hexadecimal character format. <busy>: integer type. 0 UICC indicated normal ending of the command. 1 UICC responded with USAT is busy, no retry by the MT. 2 UICC responded with USAT is busy even after one or more retries by the MT. <sw1>: integer type. <sw2>: integer type.
see RIL_REQUEST_STK_SEND_ENVELOPE_COMMAND in RIL
◆ HandleSendTerminalResponseToSim()
void cuttlefish::StkService::HandleSendTerminalResponseToSim |
( |
const Client & |
client, |
|
|
std::string & |
command |
|
) |
| |
AT+CUSATT Execution command sends a USAT terminal response to the MT as an answer to a preceding USAT proactive command sent from the UICC with unsolicited result code +CUSATP: <proactive_command>
Command Possible response(s) +CUSATT=<terminal_response> +CME ERROR: <err>
<terminal_response>: string type in hexadecimal character format.
see RIL_REQUEST_STK_SEND_TERMINAL_RESPONSE in RIL
◆ InitializeCommandHandlers()
std::vector< CommandHandler > cuttlefish::StkService::InitializeCommandHandlers |
( |
| ) |
|
|
private |
◆ OnUnsolicitedCommandForTR()
void cuttlefish::StkService::OnUnsolicitedCommandForTR |
( |
std::string & |
command | ) |
|
|
private |
◆ operator=()
◆ SetupDependency()
void cuttlefish::StkService::SetupDependency |
( |
SimService * |
sim | ) |
|
◆ current_select_item_menu_ids_
std::vector<std::string> cuttlefish::StkService::current_select_item_menu_ids_ |
|
private |
◆ sim_service_
The documentation for this class was generated from the following files: