#define __swi_end(number, func, call)
#define __swi_begin(number)
void *(* malloc_func_t)(size_t size)
malloc()
void(* mfree_func_t)(void *ptr)
free()
short cnt_in_new_sms_dat
Count of the unread SMS.
SMS_DATA_LLIST in_msg
List of the incoming SMS.
short cnt_msg_in_read
Count of the incoming SMS.
uint16_t ch_number
GSM channel number.
uint16_t wstr[25]
USSD number in UTF-16.
char pkt_length
Size of the USSD reply packet.
INDEX_ID_DATA * index_id_data
short cnt_new_in_data
Incoming unread SMS segments.
SMS_DATA_LIST * first
Pointer to the first SMS.
char data[0xB2]
Raw PDU bytes.
uint16_t lac
Local Area Code.
short cnt_in_data
Incoming SMS segments.
uint16_t ci
Cell Identity.
SMS_DATA_LIST * last
Pointer to the last SMS.
short cnt_sms_sent
Count of the sent SMS.
uint32_t type
Type of the USSD.
short cnt_sms_draft
Count of the unsent SMS (drafts).
short pid_from
cepid of the sender
void * pkt
USSD reply packet.
char encoding_type
Encoding of the USSD reply packet.
short cnt_draft_data
Outgoing unsent SMS segments (drafts)
SMS_DATA_LLIST out_msg
List of the outgoing SMS.
short cnt_sent_data
Outgoing SMS segments.
void SendAutoUSSDack(void)
Send auto-ACK for the current USSD.
RAM_EMS_ADMIN * RAM_EMS_Admin()
Get pointer to the EMS Admin data.
int ShowCallList(int list, int zero)
Open calls list phone UI.
int GetNetAccessMode()
Get current network access mode.
PDU * IncommingPDU(void)
Get PDU from the received SMS message (in MSG_SMS_RX event).
int GetSubprovider(WSHDR *name)
Get name of the current cellurar sub-provider.
void EndCallBusy(int param1, int param2)
Cancel current call with BUSY status.
int GetDurationFromCurrentCall(void)
Get current call diration.
char * RAM_IMSI(void)
Get IMSI of the SIM card.
int SendSMS(WSHDR *text, const char *number, int cepid, int msg, int flag)
Send SMS.
char GetTypeUSSD()
Get type of the current USSD request.
void FreeGSMTXTpkt(void *pkt)
Free USSD response packet.
SMS_DATA_ROOT * SmsDataRoot()
Get root of the SMS list (Openwave).
int GSMTXT_Decode(WSHDR *result, void *pkt, int len, int encoding_type, malloc_func_t malloc_fn, mfree_func_t mfree_fn)
Decode GSM-encoded text.
int isDecryption(void)
Check if current call in decryption state.
char * RamCallState()
State of the current call.
int GetMissedCallsCount(void)
Check for missed calls.
char * RamMissedSMS()
Pointer to the for missed SMS count.
int * RamNetOnline()
Network online flag.
uint32_t SetUSSD(const StructUSSDStr *req)
Set current USSD request.
char * Get_CC_NC()
Get cell network MCC & MNC.
char * RamServiceProviderName(void)
Get cellurar operator name.
uint16_t * RamLastCallNum()
Number of the last call in call slot 1, as UTF-16 characters.
int SetSmsStatus(int index, int status)
Update SMS status (Openwave).
int IsIncognitoCall(int call_id)
Check if the call has a number.
int IsDirectCallActive(void)
Checking for an active direct call.
void freeUSSD()
Free current USSD request.
void ReadNewSMS(void)
Open new received SMS in SMS UI.
uint16_t * GetCI()
Get current network cell identification.
int ReadFlashSMS(int ack)
Open new received flash SMS in SMS UI.
int GetSMSState(void)
Get SMS status.
char GetProvider(WSHDR *name, int unk)
Get name of the current cellurar provider.
int DeleteSMS(int index, short *del_cnt)
Remove SMS from memory (Openwave).
int MakeVoiceCall(const char *number, int unk1, int unk2)
Call the number.
RAMNET * RamNet()
Current cellular network state.
int GetSmsPosIndex(SMS_POS_INDEX_DATA *buf, int data_id)
Get SMS position index (SMS_POS_INDEX_DATA) by data ID.
int HasFlashSMS(void)
Check for a pending flash message (flash SMS, USSD reply or network text) that ReadFlashSMS shows.
int HasNewSMS(void)
Check for new SMS.
char * RamMissedCalls()
Pointer to the for missed calls count.
int GetTypeOfCall(int type)
Get type of the current call.
int IsCalling(void)
Checking for an active call.
void EndCall(void)
Cancel current call.
int GetRoamingState()
Get network roaming status.
char * RamMissedMessage()
Pointer to the for missed messages count.
void GetAllEmail()
Starts "opwvmsg:RGetAllEmail" in Openwave.
Cellular network state (http://e71.ru/publ/4-1-0-34).
Container of the SMS data.
Linked-List of SMS (Openwave).
Root of the SMS list (Openwave).