/usr/include/gisi-1.0/ss.h is in libgisi-dev 0.1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | /*
*
* oFono - Open Source Telephony
*
* Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
#ifndef __ISIMODEM_SS_H
#define __ISIMODEM_SS_H
#define PN_SS 0x06
#define SS_TIMEOUT 15
#define SS_MAX_USSD_LENGTH 160
enum ss_message_id {
SS_SERVICE_REQ = 0x00,
SS_SERVICE_COMPLETED_RESP = 0x01,
SS_SERVICE_FAILED_RESP = 0x02,
SS_GSM_USSD_SEND_REQ = 0x04,
SS_GSM_USSD_SEND_RESP = 0x05,
SS_GSM_USSD_RECEIVE_IND = 0x06,
SS_STATUS_IND = 0x09,
SS_COMMON_MESSAGE = 0xF0
};
enum ss_ussd_type {
SS_GSM_USSD_MT_REPLY = 0x01,
SS_GSM_USSD_COMMAND = 0x02,
SS_GSM_USSD_REQUEST = 0x03,
SS_GSM_USSD_NOTIFY = 0x04,
SS_GSM_USSD_END = 0x05
};
enum ss_ussd_status {
SS_GSM_STATUS_REQUEST_USSD_START = 0x02,
SS_GSM_STATUS_REQUEST_USSD_STOP = 0x03,
SS_GSM_STATUS_REQUEST_USSD_FAILED = 0x04
};
enum ss_operations {
SS_ACTIVATION = 0x01,
SS_DEACTIVATION = 0x02,
SS_REGISTRATION = 0x03,
SS_ERASURE = 0x04,
SS_INTERROGATION = 0x05,
SS_GSM_PASSWORD_REGISTRATION = 0x06
};
enum ss_basic_service_codes {
SS_ALL_TELE_AND_BEARER = 0,
SS_GSM_ALL_TELE = 10,
SS_GSM_TELEPHONY = 11,
SS_GSM_ALL_DATA_TELE = 12,
SS_GSM_FACSIMILE = 13,
SS_GSM_SMS = 16,
SS_GSM_VOICE_GROUP = 17,
SS_GSM_ALL_TELE_EXC_SMS = 19,
SS_GSM_ALL_BEARER = 20,
SS_GSM_ALL_ASYNC = 21,
SS_GSM_ALL_SYNC = 22,
SS_GSM_ALL_DATA_CIRCUIT_SYNC = 24,
SS_GSM_ALL_DATA_CIRCUIT_ASYNC = 25,
SS_GSM_ALL_DATA_PACKET_SYNC = 26,
SS_GSM_ALL_PAD_ACCESS = 27
};
enum ss_codes {
SS_GSM_ALL_FORWARDINGS = 002,
SS_GSM_ALL_COND_FORWARDINGS = 004,
SS_GSM_FORW_UNCONDITIONAL = 21,
SS_GSM_BARR_ALL_OUT = 33,
SS_GSM_OUTGOING_BARR_SERV = 333,
SS_GSM_INCOMING_BARR_SERV = 353,
SS_GSM_BARR_ALL_IN = 35,
SS_GSM_CALL_WAITING = 43,
SS_GSM_FORW_NO_REPLY = 61,
SS_GSM_FORW_NO_REACH = 62,
SS_GSM_FORW_BUSY = 67,
SS_GSM_ALL_BARRINGS = 330,
SS_GSM_BARR_OUT_INTER = 331,
SS_GSM_BARR_OUT_INTER_EXC_HOME = 332,
SS_GSM_BARR_ALL_IN_ROAM = 351,
};
enum ss_response_data {
SS_SEND_ADDITIONAL_INFO = 0x01,
};
enum ss_subblock {
SS_FORWARDING = 0x00,
SS_STATUS_RESULT = 0x01,
SS_GSM_PASSWORD = 0x03,
SS_GSM_FORWARDING_INFO = 0x04,
SS_GSM_FORWARDING_FEATURE = 0x05,
SS_GSM_DATA = 0x08,
SS_GSM_BSC_INFO = 0x09,
SS_GSM_PASSWORD_INFO = 0x0B,
SS_GSM_INDICATE_PASSWORD_ERROR = 0x0D,
SS_GSM_INDICATE_ERROR = 0x0E,
SS_GSM_ADDITIONAL_INFO = 0x2F,
SS_GSM_USSD_STRING = 0x32
};
enum ss_isi_cause {
SS_GSM_ACTIVE = 0x01,
SS_GSM_REGISTERED = 0x02,
SS_GSM_PROVISIONED = 0x04,
SS_GSM_QUIESCENT = 0x08,
};
#endif /* __ISIMODEM_SS_H */
|