4 * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
7 * Sooyoung Ha <yoosah.ha@samsung.com>
8 * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
31 int vgsm_ss_conference(LXT_HANDLE* handle) // this is not used, and is not needed.
36 return lxt_msg_send_message( handle->fd,
43 int vgsm_ss_hold(LXT_HANDLE* handle)
48 return lxt_msg_send_message( handle->fd,
55 int vgsm_ss_unhold(LXT_HANDLE* handle)
60 return lxt_msg_send_message( handle->fd,
68 int vgsm_ss_getAOC(LXT_HANDLE* handle)
73 return lxt_msg_send_message( handle->fd,
81 int vgsm_ss_restoreEI(LXT_HANDLE* handle)
86 return lxt_msg_send_message( handle->fd,
94 int vgsm_ss_setCW(LXT_HANDLE* handle, _setCW_t *setCW, int size)
99 return lxt_msg_send_message( handle->fd,
106 int vgsm_ss_setCF(LXT_HANDLE* handle, _setCF_t *setCF, int size)
111 return lxt_msg_send_message( handle->fd,
118 int vgsm_ss_setCB(LXT_HANDLE* handle, _setCB_t *setCB, int size)
123 return lxt_msg_send_message( handle->fd,
131 int vgsm_ss_getUSSD(LXT_HANDLE* handle)
136 return lxt_msg_send_message( handle->fd,
143 int vgsm_ss_setUSSD(LXT_HANDLE* handle, _USSD_data_t *ussd, int size)
149 printf("************in libvgsm_ss***************\n");
150 printf("time: %s, weather: %s\n",
151 ussd->time, ussd->weather);
153 printf("data length : %zu\n",sizeof(*ussd));
154 printf("time length : %zu\n",sizeof(ussd->time));
155 printf("weather length : %zu\n",sizeof(ussd->weather));
156 printf("size : %d\n", size);
159 return lxt_msg_send_message( handle->fd,
166 int vgsm_ss_setAOC(LXT_HANDLE* handle, _AOC_t *aoc, int size)
172 printf("************in libvgsm_ss***************\n");
173 printf("acm: %ld, ccm: %ld, maxacm: %ld, ppu: %ld, chartype: %c\n",
174 aoc->acm, aoc->ccm, aoc->maxacm, aoc->ppu,
177 printf("data length : %zu\n",sizeof(*aoc));
178 printf("acm length : %zu\n",sizeof(aoc->acm));
179 printf("type length : %zu\n",sizeof(aoc->ccm));
180 printf("type length : %zu\n",sizeof(aoc->maxacm));
181 printf("type length : %zu\n",sizeof(aoc->ppu));
182 printf("type length : %zu\n",sizeof(aoc->chartype));
183 printf("size : %d\n", size);
186 return lxt_msg_send_message( handle->fd,