GSMD API List
 共用
系統已停止支援您所使用的瀏覽器版本。 請升級為支援的瀏覽器關閉

 
僅供檢視
 
 
仍在載入中…
ABCDEFGHIJKLMNOPQRSTU
1
Functions NameCatagoryFunction TypeUsed AT commandRelated FunctionsCommentsSpecImplementationExtra NotesColor table
2
lgsm_sms_get_smscSMS/SIMextern int lgsm_sms_get_smsc(struct lgsm_handle *lh);
85
(GSMD_SMS_GET_SERVICE_CENTRE)
CSCA
usock_rcv_smsGet SMS Service Center7.05YTo-Do
3
lgsm_sms_get_storageSMS/SIMextern int lgsm_sms_get_storage(struct lgsm_handle *lh);(GSMD_SMS_GET_MSG_STORAGE)
CPMS
usock_rcv_smsSelect SMS Storage Area7.05YNot Implemented
4
lgsm_sms_set_smscSMS/SIMextern int lgsm_sms_set_smsc(struct lgsm_handle *lh, const char *number);(GSMD_SMS_SET_SERVICE_CENTRE)
CSCA
usock_rcv_smsSet SMS Service Center7.05YNeed to refactorying
5
lgsm_sms_set_storageSMS/SIMextern int lgsm_sms_set_storage(struct lgsm_handle *lh,enum ts0705_mem_type mem1, enum ts0705_mem_type mem2,enum ts0705_mem_type mem3);(GSMD_SMS_SET_MSG_STORAGE)
CPMS
usock_rcv_smsSet SMS Stirage Area7.05YNormal || Not reviewed Yet
6
lgsm_sms_deleteSMSextern int lgsm_sms_delete(struct lgsm_handle *lh, const struct lgsm_sms_delete *sms_del);( GSMD_SMS_DELETE)
CMGD
usock_rcv_smsDelete SMS7.05YFIXED for version 0.1.0
7
lgsm_sms_listSMSextern int lgsm_sms_list(struct lgsm_handle *lh, enum gsmd_msg_sms_type stat);(GSMD_SMS_LIST)
CMGL
usock_rcv_smsList SMS7.05YRemoved
8
lgsm_sms_readSMSextern int lgsm_sms_read(struct lgsm_handle *lh, int index);(GSMD_SMS_READ)
CMGR
usock_rcv_smsRead SMS7.05Y
9
lgsm_sms_sendSMSextern int lgsm_sms_send(struct lgsm_handle *lh, const struct lgsm_sms *sms);( GSMD_SMS_SEND)
CMGS
usock_rcv_smsSend SMS7.05Y
10
lgsm_sms_writeSMSextern int lgsm_sms_write(struct lgsm_handle *lh,const struct lgsm_sms_write *sms_write);(GSMD_SMS_WRITE)
CMGW
usock_rcv_smsWrite SMS7.05Y
11
lgsm_get_imsiSIMextern int lgsm_get_imsi(struct lgsm_handle *lh);(GSMD_PHONE_GET_IMSI)
CIMI
usock_rcv_phoneGet IMSI7.07YThis should put in Phone relate file not phonebook!!!!!
12
lgsm_emSIMEngineer ModeTI specNTODO
13
lgsm_phone_powerSIMextern int lgsm_phone_power(struct lgsm_handle *lh, int power);(GSMD_PHONE_POWERUP/GSMD_PHONE_POWERDOWN)
CFUN
usock_rcv_phoneTurn on/off Firmware GSM function7.07Y
14
lgsm_pinSIMextern int lgsm_pin(struct lgsm_handle *lh, unsigned int type, char *pin, char *newpin);(GSMD_PIN_INPUT)
CPIN
usock_rcv_pinSet Pin and unlock pin7.07YFIXME
15
lgsm_pin_statusSIMextern int lgsm_pin_status(struct lgsm_handle *lh)(GSMD_PIN_GET_STATUS)
CPIN
usock_rcv_pinGet Pin Status07.07 Nbug#1034
bug#1082
16
17
lgsm_pb_del_entryPBextern int lgsm_pb_del_entry(struct lgsm_handle *lh, int index);(GSMD_PHONEBOOK_DELETE)
CPBW
usock_rcv_phonebookDelete phonebook by specify entry7.07Y
18
lgsm_pb_find_entryPBextern int lgsm_pb_find_entry(struct lgsm_handle *lh, const struct lgsm_phonebook_find *pb_find);( GSMD_PHONEBOOK_FIND)
CPBF
usock_rcv_phonebook7.07Y
19
lgsm_pb_get_supportPBextern int lgsm_pb_get_support(struct lgsm_handle *lh);(GSMD_PHONEBOOK_GET_SUPPORT)
CPBR
usock_rcv_phonebookQuery SIM which phonebook modem supports7.07Y
20
lgsm_pb_list_storagePBextern int lgsm_pb_list_storage(struct lgsm_handle *lh);(GSMD_PHONEBOOK_LIST_STORAGE)
CPBS
usock_rcv_phonebookList all storage entry7.07Y
21
lgsm_pb_read_entriesPBextern int lgsm_pb_read_entries(struct lgsm_handle *lh, const struct lgsm_phonebook_readrg *pb_readrg);(GSMD_PHONEBOOK_READRG)
CPBR
usock_rcv_phonebookRead phonebook entry in range7.07Y
22
lgsm_pb_read_entryPBextern int lgsm_pb_read_entry(struct lgsm_handle *lh, int index);(GSMD_PHONEBOOK_READ)
CPBR
usock_rcv_phonebookRead Phonebook spcified entry7.07Y
23
lgsm_pb_set_storagePBextern int lgsm_pb_set_storage(struct lgsm_handle *lh, char *storage);(GSMD_PHONEBOOK_SET_STORAGE)
CPBS
usock_rcv_phonebookSet the storage entry7.07Y
24
lgsm_pb_write_entryPBextern int lgsm_pb_write_entry(struct lgsm_handle *lh, const struct lgsm_phonebook *pb);(GSMD_PHONEBOOK_WRITE)
CPBW
usock_rcv_phonebookWrite phonebook entry7.07Y
25
lgsm_voice_out_initCALLextern int lgsm_voice_out_init(struct lgsm_handle *lh, const struct lgsm_addr *number);(GSMD_VOICECALL_DIAL)
ATD
usock_rcv_voicecallDial out7.07Y
26
lgsm_voice_in_acceptCALLextern int lgsm_voice_in_accept(struct lgsm_handle *lh);(GSMD_VOICECALL_ANSWER)
ATA
usock_rcv_voicecallAccept Call7.07Y
27
lgsm_voice_hangupCALLextern int lgsm_voice_hangup(struct lgsm_handle *lh);(GSMD_VOICECALL_HANGUP)
ATH
usock_rcv_voicecallHang up Call7.07YCHLD ?
bug#1117
bug#1118
28
lgsm_voice_dtmfCALLextern int lgsm_voice_dtmf(struct lgsm_handle *lh, char dtmf_char);(GSMD_VOICECALL_DTMF)
VTS
usock_rcv_voicecallSend DTMF7.07Y
29
lgsm_voice_volume_setCALLint lgsm_voice_volume_set(struct lgsm_handle *lh, int volume)(GSMD_VOICECALL_VOL_SET)usock_rcv_voicecallSet voice volumnN
30
lgsm_voice_get_statCALLint lgsm_voice_get_stat(struct lgsm_handle *lh)(GSMD_VOICECALL_GET_STAT)usock_rcv_voicecallList current call status7.07YAT+CLCC
31
lgsm_signal_qualityNETextern int lgsm_signal_quality(struct lgsm_handle *h);(GSMD_NETWORK_SIGQ_GET)
CSQ
usock_rcv_networkGet Signal Quality7.07Y
32
lgsm_voicemail_setVMextern int lgsm_voicemail_set(struct lgsm_handle *lh, struct lgsm_addr *addr);(GSMD_NETWORK_VMAIL_SET)
CSVM
?7.07N
33
lgsm_voicemail_getVMextern int lgsm_voicemail_get(struct lgsm_handle *lh, struct lgsm_addr *addr);( GSMD_NETWORK_VMAIL_GET)
CSVM
?7.07N
34
lgsm_oper_getNETextern int lgsm_oper_get(struct lgsm_handle *lh);(GSMD_NETWORK_OPER_GET)
COPS
usock_rcv_networkGet Operator Name7.07Y
35
lgsm_opers_getNETextern int lgsm_opers_get(struct lgsm_handle *lh);(GSMD_NETWORK_OPER_LIST)
COPS
usock_rcv_networkGet available operator List7.07Y
36
lgsm_netreg_registerNETextern int lgsm_netreg_register(struct lgsm_handle *lh, gsmd_oper_numeric oper);(GSMD_NETWORK_REGISTER)
COPS
usock_rcv_networkRegister to selected OP7.07Y
37
lgsm_netreg_deregisterNETextern int lgsm_netreg_deregister(struct lgsm_handle *lh);(GSMD_NETWORK_DEREGISTER)
COPS
usock_rcv_networkUnregister to OP7.07Y
38
lgsm_prefoper_listNETextern int lgsm_prefoper_list(struct lgsm_handle *lh);(GSMD_NETWORK_PREF_LIST)
CPOL
usock_rcv_networkPreferred operator list7.07Y
39
lgsm_prefoper_deleteNETextern int lgsm_prefoper_delete(struct lgsm_handle *lh, int index);(GSMD_NETWORK_PREF_DEL)
CPOL
usock_rcv_networkDelete Preferred OP7.07Y
40
lgsm_prefoper_addNETextern int lgsm_prefoper_add(struct lgsm_handle *lh, gsmd_oper_numeric oper);(GSMD_NETWORK_PREF_ADD)
CPOL
usock_rcv_networkAdd preferred OP7.07Y
41
lgsm_prefoper_get_spaceNETextern int lgsm_prefoper_get_space(struct lgsm_handle *lh);(GSMD_NETWORK_PREF_SPACE)
CPOL
usock_rcv_networkCPOL=? list of supported7.07Y
42
lgsm_get_subscriber_numNETextern int lgsm_get_subscriber_num(struct lgsm_handle *lh);(GSMD_NETWORK_GET_NUMBER)
CNUM
usock_rcv_networkGet phone number of SIM7.07Y
43
lgsm_evt_handler_registerEVENTextern int lgsm_evt_handler_register(struct lgsm_handle *lh, int evt_type, lgsm_evt_handler *handler);Register Event handlersY
44
lgsm_evt_handler_unregisterEVENTextern void lgsm_evt_handler_unregister(struct lgsm_handle *lh, int evt_type);Unregister Event handlerY
45
lgsm_evt_initEVENTextern int lgsm_evt_init(struct lgsm_handle *lh);initial EventY
46
lgsm_evt_exitEVENTextern void lgsm_evt_exit(struct lgsm_handle *lh);Disable EventY
47
lgsm_mute_setCALLextern int lgsm_mute_set(struct lgsm_handle *lh, u_int8_t on);Mute call during voice callN
48
lgsm_mute_getCALLextern int lgsm_mute_get(struct lgsm_handle *lh, u_int8_t *on);Get information on whether voice call is muted or notN
49
lgsm_initLIBGSMDextern struct lgsm_handle *lgsm_init(const char *device);Get libgsmd handlerY
50
lgsm_exitLIBGSMDextern int lgsm_exit(struct lgsm_handle *lh);Terminate usage of libgsmdY
51
lgsm_fdLIBGSMDextern int lgsm_fd(struct lgsm_handle *lh);Obtain file descriptor (e.g. for select-loop under app control)Y
52
lgsm_register_handlerLIBGSMDextern int lgsm_register_handler(struct lgsm_handle *lh, int type, lgsm_msg_handler *handler);Register libgsmd handlerY
53
lgsm_unregister_handlerLIBGSMDextern void lgsm_unregister_handler(struct lgsm_handle *lh, int type);Unregister libgsmd handlerY
54
lgsm_passthrough_sendLIBGSMDextern int lgsm_passthrough_send(struct lgsm_handle *lh, const char *tx);Just send out the string to modemY
55
lgsm_passthroughLIBGSMDextern int lgsm_passthrough(struct lgsm_handle *lh, const char *tx, char *rx, unsigned int *rx_len);Send command to modem and sync wait responseY
56
lgsm_subscriptionsLIBGSMDextern int lgsm_subscriptions(struct lgsm_handle *lh, u_int32_t subscriptions);?NHun? What is this mean?
57
lgsm_gmh_fillLIBGSMDextern struct gsmd_msg_hdr *lgsm_gmh_fill(int type, int subtype, int payload_len);new a commandY
58
lgsm_sendLIBGSMDextern int lgsm_send(struct lgsm_handle *lh, struct gsmd_msg_hdr *gmh);Actually send commandY
59
lgsm_handle_packetLIBGSMDextern int lgsm_handle_packet(struct lgsm_handle *lh, char *buf, int len);handle a packet that was received on the gsmd socket
(Wait response)
Y
60
61
lgsm_voice_fwd_disableCALLextern int lgsm_voice_fwd_disable(struct lgsm_handle *lh, enum gsmd_voicecall_fwd_reason reason);CCFCdisable call forwardingY
62
lgsm_voice_fwd_enableCALLextern int lgsm_voice_fwd_enable(struct lgsm_handle *lh, enum gsmd_voicecall_fwd_reason reason);CCFCenable call forwardingY
63
lgsm_voice_fwd_statCALLextern int lgsm_voice_fwd_enable(struct lgsm_handle *lh, enum gsmd_voicecall_fwd_reason reason);CCFCquery current status/setting of call
forwarding
Y
64
lgsm_voice_fwd_regCALLextern int lgsm_voice_fwd_reg(struct lgsm_handle *lh, enum gsmd_voicecall_fwd_reason reason);CCFCregister call forwardingY
65
lgsm_voice_fwd_eraseCALLextern int lgsm_voice_fwd_erase(struct lgsm_handle *lh, enum gsmd_voicecall_fwd_reason reason);CCFCerase the record of registered call
forwarding
Y
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
載入中…
 
 
 
Function List
Use Cases