You can create your own wrapper with the help of stk_cmd().
|
Max. ALPHA (EF_ADN) length. |
|
User selected NO |
|
User selected YES |
|
Indicates CSD bearer. |
|
Indicates GPRS bearer. |
|
ENVELOPE CALL CONTROLL Tag Ref. 11.14 |
|
ENVELOPE CB DOWNLOAD Tag Ref. 11.14 |
|
ENVELOPE EVENT DOWNLOAD Tag Ref. 11.14 |
|
ENVELOPE SIM MENU SELECTION Tag Ref. 11.14 |
|
ENVELOPE MO SMS CONTROL Tag Ref. 11.14 |
|
RFU Ref. 11.14 |
|
ENVELOPE SMS-PP DOWNLOAD Tag Ref. 11.14 |
|
ENVELOPE TIMER EXPIRATION Tag Ref. 11.14 |
|
|
Comprehension required flag. Ref. 11.14 |
|
|
|
|
|
|
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
"End NULL" means User End. |
|
Indicates TCP IP protocol. |
|
Indicates UDP IP protocol. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Concat string with localized "Delete" and question mark. I.e. result is "Delete (string)?". |
|
|
Proactive SIM CLOSE CHANNEL command. Ref. 11.14 |
|
Proactive SIM DISPLAY TEXT command. Ref. 11.14 |
|
RDU, Proactive SIM command. Ref. 11.14 |
|
Proactive SIM GET CHANNEL STATUS command. Ref. 11.14 |
|
Proactive SIM GET INKEY command. Ref. 11.14 |
|
Proactive SIM GET INPUT command. Ref. 11.14 |
|
Proactive SIM GET READER STATUS command. Ref. 11.14 |
|
Proactive SIM LANGUAGE NOTIFICATION command. Ref. 11.14 |
|
Proactive SIM LAUNCH BROWSER command. Ref. 11.14 |
|
Proactive SIM MORE TIME command. Ref. 11.14 |
|
RFU, do not use. Ref. 11.14 |
|
Proactive SIM OPEN CHANNEL command. Ref. 11.14 |
|
Proactive SIM PERFORM CARD APDU command. Ref. 11.14 |
|
Proactive SIM PLAY TONE command. Ref. 11.14 |
|
Proactive SIM POLL INTERVAL command. Ref. 11.14 |
|
Proactive SIM POLLING OFF command. Ref. 11.14 |
|
Proactive SIM POWER OFF CARD command. Ref. 11.14 |
|
Proactive SIM POWER ON CARD command. Ref. 11.14 |
|
Proactive SIM PROVIDE LOCAL INFO command. Ref. 11.14 |
|
Proactive SIM RECEIVE DATA command. Ref. 11.14 |
|
Proactive SIM REFRESH command. Ref. 11.14 |
|
RFU, Proactive SIM command. Ref. 11.14 |
|
Proactive SIM RUN AT COMMAND command. Ref. 11.14 |
|
Proactive SIM SELECT ITEM command. Ref. 11.14 |
|
Proactive SIM SEND DATA command. Ref. 11.14 |
|
Proactive SIM SEND DTMF command. Ref. 11.14 |
|
Proactive SIM SEND SMS command. Ref. 11.14 |
|
Proactive SIM SEND SS command. Ref. 11.14 |
|
Proactive SIM SEND USSD command. Ref. 11.14 |
|
Proactive SIM SET UP CALL command. Ref. 11.14 |
|
Proactive SIM SET UP EVENT LIST command. Ref. 11.14 |
|
Proactive SIM SET UP IDLE MODE TEXT command. Ref. 11.14 |
|
Proactive SIM SET UP MENU command. Ref. 11.14 |
|
Proactive SIM TIMER MANAGEMENT command. Ref. 11.14 |
|
Address tag Ref. 11.14 |
|
Alpha identifier tag Ref. 11.14 |
|
AT command tag Ref. 11.14 |
|
AT response tag Ref. 11.14 |
|
BC repeat indicator tag Ref. 11.14 |
|
BCCH channel list tag Ref. 11.14 |
|
Bearer tag Ref. 11.14 |
|
Bearer description tag Ref. 11.14 |
|
Browser ID tag Ref. 11.14 |
|
Browser termination cause tag Ref. 11.14 |
|
Buffer size tag Ref. 11.14 |
|
C-APDU tag Ref. 11.14 |
|
Call control requested action tag Ref. 11.14 |
|
Capability configuration tag Ref. 11.14 |
|
Card ATR tag Ref. 11.14 |
|
Card reader ID tag Ref. 11.14 |
|
Card reader status tag Ref. 11.14 |
|
Cause tag Ref. 11.14 |
|
Cell broadcast page tag Ref. 11.14 |
|
Channel data tag Ref. 11.14 |
|
Channel data length tag Ref. 11.14 |
|
Channel status tag Ref. 11.14 |
|
Command Details Tag Ref. 11.14 |
|
Date tag Ref. 11.14 |
|
Default text tag Ref. 11.14 |
|
Device Identities Tag Ref. 11.14 |
|
DTMF string tag Ref. 11.14 |
|
Duration tag Ref. 11.14 |
|
Event list tag Ref. 11.14 |
|
File list tag Ref. 11.14 |
|
Help request tag Ref. 11.14 |
|
Icon ID tag Ref. 11.14 |
|
IMEI tag Ref. 11.14 |
|
Immediate response tag Ref. 11.14 |
|
Item tag Ref. 11.14 |
|
Item icon ID list tag Ref. 11.14 |
|
Item ID tag Ref. 11.14 |
|
Items next axtion indicator tag Ref. 11.14 |
|
Language tag Ref. 11.14 |
|
Location information tag Ref. 11.14 |
|
Location status tag Ref. 11.14 |
|
Network access name tag Ref. 11.14 |
|
Network Measurement Result tag Ref. 11.14 |
|
RFU Ref. 11.14 |
|
RFU Ref. 11.14 |
|
Other address tag Ref. 11.14 |
|
Provisioning reference file tag Ref. 11.14 |
|
R-APDU tag Ref. 11.14 |
|
RFU Ref. 11.14 |
|
RFU Ref. 11.14 |
|
RFU Ref. 11.14 |
|
Response length tag Ref. 11.14 |
|
Result tag Ref. 11.14 |
|
SIM-ME interface transport level tag Ref. 11.14 |
|
SMS TPDU tag Ref. 11.14 |
|
Suplementary services string tag Ref. 11.14 |
|
Subaddress tag Ref. 11.14 |
|
Text string tag Ref. 11.14 |
|
Timer ID tag Ref. 11.14 |
|
Timer value tag Ref. 11.14 |
|
Timing advance tag Ref. 11.14 |
|
Tone tag Ref. 11.14 |
|
Transaction identifier tag Ref. 11.14 |
|
URL tag Ref. 11.14 |
|
USSD string tag Ref. 11.14 |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
play_tone() constant, Ref. 11.11. |
|
Network socket structure used for open_channel_raw(). |
|
|
|
Wrapper around the STK CLOSE CHANNEL command.
|
|
AKA "more" command - show content of file as text.
|
|
Compose and display text. It can consists of two parts - head and body. If the total length exceeds display_text_len then head is not displayed.
|
|
Wrapper around STK DISPLAY TEXT command.
|
|
Wrapper around the STK GET CHANNEL STATUS command.
|
|
Wrapper around STK GET INKEY command.
|
|
Wrapper around STK GET INPUT command.
|
|
Find a TAG in BER-TLV array. First byte is the overall length.
|
|
Insert top-level menu item. Can be used in ACTION_INSERT_MENU handling code only.
|
|
Wrapper around the STK LAUNCH BROWSER command.
|
|
Wrapper around STK MORE TIME command.
|
|
Convenience function, display text "Not implemented".
|
|
Wrapper around the STK OPEN CHANNEL command. Application has to register ACTION_EVENT_DATA_AVAILABLE to be notified when data are received. Low level function returning TERMINAL RESPONSE. To get the channel number use the following: u8 *res; u8 j; u8 ch; res = open_channel_raw (...); j = get_tag (res, T_CHANNEL_STATUS); if (j != 0) { ch = res[j+2] & 0x07; if (ch != 0) { // open OK } } else { // open ERROR }
|
|
Wrapper around STK PLAY TONE command.
|
|
Wrapper around STK POLL INTERVAL command.
|
|
Wrapper around STK PROVIDE LOCAL INFO command.
|
|
Wrapper around STK PROVIDE LOCAL INFO command.
|
|
Wrapper around STK PROVIDE LOCAL INFO command.
|
|
Wrapper around STK PROVIDE LOCAL INFO command.
|
|
Wrapper around STK PROVIDE LOCAL INFO command.
|
|
Wrapper around STK PROVIDE LOCAL INFO command.
|
|
Wrapper around the STK RECEIVE DATA command.
|
|
Wrapper around the STK REFRESH command. The purpose REFRESH is to inform ME that something on SIM was changed by the SIM. The
|
|
STK REFRESH EF_SMS (=3F00:7F10:6F3C).
|
|
Wrapper around STK SELECT ITEM command.
|
|
Wrapper around the STK SEND DATA command.
|
|
Wrapper around the STK SEND SHORT MESSAGE command.
#include <config.h> #include <turbo/turbo.h> u8 PROGMEM t_sms_ex[]="Example sms"; u8 PROGMEM t_ms[]="+420123456789"; void action_sms(void *data) { u8 *sms_data=malloc(100); u8 *ms=str2msisdn(t_ms, MSISDN_ADN, MEM_R); memcpy(sms_data, t_sms_ex, sizeof(t_sms_ex)); send_sms(sms_data, sizeof(t_sms_ex), ms, MSISDN_ADN, 0xF6, 0, NULL, NULL); free(sms_data); free(ms); }
As of
The PID 0x7f is used by the STK applications to send and receive SMS without the user intervention, ME must pass the message to the SIM using ENVELOPE SMS_PP_DOWNLOAD EVENT.
Class 0 means that is upon receiving ME what to do with the incoming message (pass it to SIM or store it in ME memory), Class 2 means SIM specific message, i.e. ME should pass it to SIM. Ref. Ref. 03.38 for alphabets and details.
If
|
|
Set top-level menu label. Can be used in ACTION_INSERT_MENU handling code only.
|
|
Wrapper around the STK SET UP CALL command.
|
|
In case EVENT DOWNLOAD actions are registered (and unregistered) ad-hoc you must call set_up_event_list() to pass the actual event list to ME. The event list is updated always if application registers ACTION_EVENT_? during ACTION_APP_INIT. The event actions are: ACTION_EVENT_MT_CALL, ACTION_EVENT_CALL_CONNECTED, ACTION_EVENT_CALL_DISCONNECTED, ACTION_EVENT_LOCATION_STATUS, ACTION_EVENT_USER_ACTIVITY, ACTION_EVENT_IDLE_SCREEN, ACTION_EVENT_CARD_READER_STATUS, ACTION_EVENT_LANGUAGE_SELECTION, ACTION_EVENT_BROWSER_TERMINATION, ACTION_EVENT_DATA_AVAILABLE, ACTION_EVENT_CHANNEL_STATUS.
|
|
Wrapper around the STK SET UP MENU command.
|
|
Compose SIM Toolkit command stored in buf_A() and wave for FETCH.
|
|
Returns ME's TERMINAL PROFILE. First byte contains length. |
|
Wrapper around STK TIMER MANAGEMENT command - start timer.
|
|
Wrapper around STK TIMER MANAGEMENT command - stop timer.
|
|
Wrapper around STK TIMER MANAGEMENT command - current timer value.
|
|
Yes/No user interface function.
|
Copyright © 2004-2006 BLADOX | Turbo version 1.2
|