SWILIB API (X75)    
Loading...
Searching...
No Matches
telephony.h File Reference
#include "base.h"
#include "wstring.h"

Go to the source code of this file.

Data Structures

struct  GBS_USSD_MSG
 USSD reply GSB message. More...
 
struct  RAMNET
 Cellular network state (http://e71.ru/publ/4-1-0-34). More...
 
struct  PDU
 SMS PDU. More...
 
struct  StructUSSDStr
 USSD request. More...
 
struct  StructUSSD
 USSD request (???). More...
 
struct  SMS_POS_INDEX_DATA
 SMS position index. More...
 
struct  INDEX_ID_DATA
 SMS index data. More...
 
struct  SMS_DATA_LIST
 Container of the SMS data. More...
 
struct  SMS_DATA_LLIST
 Linked-List of SMS (Openwave). More...
 
struct  SMS_DATA_ROOT
 Root of the SMS list (Openwave). More...
 
struct  EAM_DATA
 EMS Admin data. More...
 
struct  RAM_EMS_ADMIN
 EMS Admin. More...
 

Typedefs

typedef struct RAMNET RAMNET
 
typedef struct PDU PDU
 
typedef struct StructUSSDStr StructUSSDStr
 
typedef struct StructUSSD StructUSSD
 
typedef struct GBS_USSD_MSG GBS_USSD_MSG
 
typedef struct SMS_POS_INDEX_DATA SMS_POS_INDEX_DATA
 
typedef struct INDEX_ID_DATA INDEX_ID_DATA
 
typedef struct SMS_DATA_LIST SMS_DATA_LIST
 
typedef struct SMS_DATA_LLIST SMS_DATA_LLIST
 
typedef struct SMS_DATA_ROOT SMS_DATA_ROOT
 
typedef struct EAM_DATA EAM_DATA
 
typedef struct RAM_EMS_ADMIN RAM_EMS_ADMIN
 

Functions

int MakeVoiceCall (const char *number, int unk1, int unk2)
 Call the number.
 
int GetSMSState (void)
 Get SMS status.
 
int HasNewSMS (void)
 Check for new SMS.
 
int HasFlashSMS (void)
 Check for a pending flash message (flash SMS, USSD reply or network text) that ReadFlashSMS shows.
 
char * RamMissedSMS ()
 Pointer to the for missed SMS count.
 
char * RamMissedMessage ()
 Pointer to the for missed messages count.
 
int GetMissedCallsCount (void)
 Check for missed calls.
 
char * RamMissedCalls ()
 Pointer to the for missed calls count.
 
int IsCalling (void)
 Checking for an active call.
 
int GetDurationFromCurrentCall (void)
 Get current call diration.
 
int isDecryption (void)
 Check if current call in decryption state.
 
int IsIncognitoCall (int call_id)
 Check if the call has a number.
 
int IsDirectCallActive (void)
 Checking for an active direct call.
 
char * RamCallState ()
 State of the current call.
 
int GetTypeOfCall (int type)
 Get type of the current call.
 
int ShowCallList (int list, int zero)
 Open calls list phone UI.
 
void EndCall (void)
 Cancel current call.
 
void EndCallBusy (int param1, int param2)
 Cancel current call with BUSY status.
 
uint16_t * RamLastCallNum ()
 Number of the last call in call slot 1, as UTF-16 characters.
 
char * RAM_IMSI (void)
 Get IMSI of the SIM card.
 
char * RamServiceProviderName (void)
 Get cellurar operator name.
 
RAMNET * RamNet ()
 Current cellular network state.
 
int * RamNetOnline ()
 Network online flag.
 
int GetNetAccessMode ()
 Get current network access mode.
 
int GetRoamingState ()
 Get network roaming status.
 
uint16_t * GetCI ()
 Get current network cell identification.
 
char * Get_CC_NC ()
 Get cell network MCC & MNC.
 
char GetProvider (WSHDR *name, int unk)
 Get name of the current cellurar provider.
 
int GetSubprovider (WSHDR *name)
 Get name of the current cellurar sub-provider.
 
char GetTypeUSSD ()
 Get type of the current USSD request.
 
uint32_t SetUSSD (const StructUSSDStr *req)
 Set current USSD request.
 
void SendAutoUSSDack (void)
 Send auto-ACK for the current USSD.
 
void freeUSSD ()
 Free current USSD request.
 
int SendSMS (WSHDR *text, const char *number, int cepid, int msg, int flag)
 Send SMS.
 
PDU * IncommingPDU (void)
 Get PDU from the received SMS message (in MSG_SMS_RX event).
 
int DeleteSMS (int index, short *del_cnt)
 Remove SMS from memory (Openwave).
 
int SetSmsStatus (int index, int status)
 Update SMS status (Openwave).
 
SMS_DATA_ROOT * SmsDataRoot ()
 Get root of the SMS list (Openwave).
 
int GetSmsPosIndex (SMS_POS_INDEX_DATA *buf, int data_id)
 Get SMS position index (SMS_POS_INDEX_DATA) by data ID.
 
RAM_EMS_ADMIN * RAM_EMS_Admin ()
 Get pointer to the EMS Admin data.
 
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.
 
void FreeGSMTXTpkt (void *pkt)
 Free USSD response packet.
 
void ReadNewSMS (void)
 Open new received SMS in SMS UI.
 
int ReadFlashSMS (int ack)
 Open new received flash SMS in SMS UI.
 
void GetAllEmail ()
 Starts "opwvmsg:RGetAllEmail" in Openwave.