亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? gsmctl.man

?? 一個實現手機收發短信的VC++串口編程源碼
?? MAN
字號:
.TH GSMCTL 8 "##DATE##" "gsmctl v##VERSION##"
.SH NAME
gsmctl \- GSM mobile phone control program
.SH SYNOPSIS
.B gsmctl
.RB [\| \-b
.IR  baudrate \|]
.RB [\| \-\-baudrate
.IR baudrate\| ]
.RB [ \|\-d
.IR device\| ]
.RB [ \|\-\-device
.IR device\fP ]
.RB [ \|\-h\| ]
.RB [ \|\-\-help\| ]
.RB [ \|\-I
.IR "init string" \|]
.RB [ \|\-\-init
.IR "init string" \|]
.RB [ \|\-v\| ]
.RB [ \|\-\-version\| ]
.RB [ \|\-X\| ]
.RB [ \|\-\-xonxoff\| ]
.BI \-o \ operation
.RB  | \ \-\-operation
.IR operation \ |
.I parameters
.SH DESCRIPTION
.B gsmctl
can request information from or perform operations on an GSM mobile
phone.
.PP
.B gsmctl 
attaches itself to the 
.I device
given on the command line (usually an GSM modem) using the specified
.IR baudrate .  
If no
.I device
is given, the device
.I/dev/mobilephone
is used. If no 
.I baudrate
is given, a default baud rate of 38400 is used.
.PP
.B gsmctl
can be used in to modes: If no 
.B \-\-operation
option is given the
.I parameters
specify the status information to be retrieved from
the mobile phone. See the section 
.B STATUS INFORMATION
for more details. If an 
.B \-\-operation
option is given the requested
.I operation
is performed on the mobile using the
.IR parameters . 
See the section 
.B OPERATIONS
for more details.
.PP
Error messages are printed to the standard error output.  If the
program terminates on error the error code 1 is returned.
.SH OPTIONS
.TP
.BI \-b\  baudrate ,\ \-\-baudrate\  baudrate
The baud rate to use.  Defaults to 38400.
.TP
.BI \-d\  device ,\ \-\-device\  device
The device to which the GSM modem is connected. The default is
.IR /dev/mobilephone .
.TP
.B \-h,\ \-\-help
Prints an option summary.
.TP
.BI \-I\  "init string" ,\ \-\-init\  "init string"
Initialization string to send to the TA (default: "E0"). Note that the
sequence "ATZ" is sent first.
.TP
.BI \-o\  operation ,\ \-\-operation\  operation
This option is used to perform an operation on the mobile phone. Refer
to the section 
.B OPERATIONS
for more information on the available
operations and the 
.I parameters
required for each operation.
.TP
.B \-v,\ \-\-version
Prints the program version.
.TP
.B \-X,\ \-\-xonxoff
Uses software handshaking (XON/XOFF) for accessing the device.
.SH STATUS INFORMATION
If called without the 
.B \-\-operation
option 
.B gsmctl
prints out default mobile phone status information as specified by the
.I parameters
described below:
.TP 7
.B ALL
Prints all available information.
.TP 7
.B BATT
Prints out information about the current battery status. Two lines of
the form "<BATT0> text" and "<BATT1>  charge" are printed. Text may be 
of "0 ME is powered by the battery", "1 ME has a battery connected,
but is not powered by it", "2 ME does not have a battery connected",
or  "3 Recognized power fault, calls inhibited". Charge is a number in 
the range 0..100 where 0 means that the battery is empty or not
connected and 100 means full charge.
.TP 7
.B BITERR
Prints information about the current bit error rate. The output is of
form "<BITERR0>  value" where value can be of 0..7, 99 (99 means not
available or not detectable).
.TP 7
.B CLIP
This option prints a line of the form "<CLIP0> on" if caller line
identification is turned on in the network, "<CLIP0> off" otherwise.
.TP 7
.B CSET
Display info about charsets.  The output is in the form "<CSET0>
available" and "<CSET1> current", which describes the charsets
available and which is current.
.TP 7
.B CURROP
Prints information about the current operator. The output line has the
form "<CURROP0> Long name: \'xxxx\' Short name: \'yyyy\' Numeric Name: zzzz".
.TP 7
.B FLCAP
Prints out the two-letter names of available facility locks. The
meaning of standardized facility lock names is as follows:
.RS
.TP 3
.I CS
Lock control surface (eg. phone keyboard)
.TP 3
.I PS
Lock phone to SIM card (mobile phone asks password when other than
current SIM card inserted)
.TP 3
.I SC
Lock SIM card (SIM asks password in mobile phone power-up and when
this lock command issued)
.TP 3
.I AO
Barr all outgoing calls
.TP 3
.I OI
Barr outgoing international calls
.TP 3
.I OX
Barr outgoing international calls except to home country
.TP 3
.I AI
Barr all incoming calls
.TP 3
.I IR
Barr incoming calls when roaming outside the home country
.TP 3
.I NT
Barr incoming calls from numbers not stored to TA memory
.TP 3
.I NM
Barr incoming calls from numbers not stored to mobile phone memory
.TP 3
.I NS
Barr incoming calls from numbers not stored to SIM memory
.TP 3
.I NA
Barr incoming calls from numbers not stored in Any memory
.TP 3
.I AB
All Barring services (FIXME)
.TP 3
.I AG
All outGoing barring services (FIXME)
.TP 3
.I AC
All inComing barring services (FIXME)
.TP 3
.I FD
SIM fixed dialling memory feature (if PIN2 authentication has not been
done during the current session, PIN2 is required as <passwd>)
.PP
Note that mobile phones may implement facility locks not documented
here.
.RE
.TP 7
.B FLSTAT
Prints information about the status of facility locking in the mobile
phone. For each facility a line of the form "<FLSTATn> \'facilityname\'
classes" is printed. The classes may be "Voice", "Data", and/or "Fax"
depending on the class for which the facility is enabled. If "unknown"
is printed out this means that the TA is not able to report the
status. If the facility is not enabled for any class, no class
identifier is printed. See 
.B FLCAP
for information about the available two-letter names of facility
locks.
.TP 7
.B FORW
Prints information about call forwarding enabled in the mobile
phone. For each combination of reason (UnconditionalReason,
MobileBusyReason, NoReplyReason, and NotReachableReason) and class
(Voice, Data, and Fax) a line of the form "<FORWn.m> reason class
number: xxx subaddr: yyy time: zzz" is printed. The time is the number 
of seconds to wait before forwarding in case of NoReplyReason.
.TP 7
.B ME
Prints manufacturer, model, revision, and serial number of
the mobile phone (ME = mobile equipment). Output lines are numbered from 
"<ME0>" to "<ME3>".
.TP 7
.B OP
Prints information about the currently available mobile network
operators. For each operator an output line of the form "<OPn> status 
Long name: \'xxxx\' Short name: \'yyyy\' Numeric name: zzz" is returned
where status may be of:
.RS
.TP 10
.I unknown
The status of the operator is unknown.
.TP
.I current
This is the currently selected operator.
.TP
.I available
This operator is available for selection.
.TP
.I forbidden
This operator is not available for selection, ie. not
accessible with this SIM card.
.RE
.TP 7
.B PW
Facilities in the mobile phone may be protected by passwords (ie. PINs 
or PUKs). This option prints out lines of the form "<PWn>
\'facilityname\' len" for each facility for which a facility lock
password exists. See 
.B FLCAP
for information about the available two-letter names of facility
locks.
.TP 7
.B SCA
Reports the default SMS service centre address currently set in the
mobile phone.
.TP 7
.B SIG
Prints information about the current network signal
strength. The output is of the form "<SIG0> value". Following values
are possible:
.TP
.po +7
.I 0
-113 dBm or less
.TP
.I 1
-111 dBm
.TP
.I 2...30
-109... -53 dBm (in steps of 2 dBm)
.TP
.I 31
-51 dBm or greater
.TP
.I 99
not known or not detectable
.PP
.po 
.SH OPERATIONS
.TP
.BI dial\  number
Dials 
.IR number .
After dialling 
.B gsmctl
waits for a <CR> keypress to terminate.
.PP
.B forw
.IR mode\ reason\ number\  [\| facilityclass\| ]\ [ forwardtime ]
.RS
Changes the call forwarding behaviour in the network. 
.I mode
can be any of:
.RS 3
.I disable
Call forwarding is disabled.
.PP
.I enable
Call forwarding is enabled. The call forwarding reason, number, and
(optionally) forwardtime must be registered beforehand.
.PP
.I register
This registers the call forwarding reason, number, and forwardtime in
the network.
.PP
.I erase
This is the counterpart to register. It erase the call forwarding info 
in the network.
.RE
.PP
.I reason
can be any of:
.RS 3
.I unconditional
This applies to every call.
.PP
.I mobilebusy
The mobile phone is busy.
.PP
.I noreply
The call is not answered in \fIforwardtime\fP seconds.
.PP
.I notreachable
Mobile phone cannot be reached (ie. switched off).
.PP
.I all
This refers to all forwarding reasons.
.PP
.I allconditional
This refers to all conditional forward reasons 
.RI ( mobilebusy ,\  noreply ,\  notreachable ).
.RE
.PP
.I number
is the number the incoming call is forwarded to. See the explanation
for 
.I lock
operation for the meaning of 
.IR facilityclass .
The default for 
.I forwardtime
is 20 seconds if omitted. 
.I forwardtime
can be in the range 1..30.
.RE
.PP
.B lock
.IR facility\  [\| facilityclass \|]\ [\| passwd \|]
.RS 
Locks the named facility. Use 
.BI gsmctl\  flcap
to get a list of supported facilities. The 
.I facilityclass
can be any of:
.RS 3
.I all
Voice, data, and fax.
.PP
.I v\ vf\ vd\ f\ fd\ d
Any combination of voice, data and fax.
.RE
.PP
The default is \fIall\fP if \fIfacilityclass\fP is omitted. The
\fIpasswd\fP is password for the facility. If no password is given
this parameter can be omitted.
.RE
.PP
.BI setop\  opmode\ numericname
.RS
Sets the current operator to 
.IR numericname . 
Use 
.BI gsmctl\  op
to get a list of operators with their numeric codes. 
.I opmode
can be any of:
.RS 3
.I automatic
.PP
.I manual
.PP
.I deregister
Deregister from network.
.PP
.I manualautomatic
If manual selection fails, automatic mode is entered.
.RE
.RE
.PP
.B setpw
.IR facility\  [\| oldpasswd\| ]\ [\| newpasswd\| ]
.RS
Sets the password for the facility. If one of the passwords is omitted 
this means that the facility has no password protection. Passwords are 
PIN1, PIN2, PUK etc.
.RE
.TP
.BI setsca\  service\ centre\ address
Sets the default SMS service centre address.
.PP
.B unlock
.IR facility\  [\| facilityclass\| ]\ [ \|passwd\| ]
.RS
This is the reverse operation to \fBlock\fP. See above for a
description of the parameters.
.RE
.SH EXAMPLES
The following invocation of 
.I gsmctl
prints out all available status information for the mobile phone
connected to
.B /dev/mobilephone
.PP
.nf
.IP "" 3 
gsmctl all
.fi
.PP
The output could look like (lines edited to fit):
.RS 3
.PP
.PD 0
<ME0>  Manufacturer: SIEMENS
.HP
<ME1>  Model: S10
.HP
<ME2>  Revision: 06
.HP
<ME3>  Serial Number: 448058511817585
.HP
<OP0>  Status: available  Long name: 'D1-TELEKOM' Short name: '' Numeric name: 26201
.HP
<OP1>  Status: forbidden  Long name: 'D2  PRIVAT' Short name: '' Numeric name: 26202
.HP
<CURROP0>  Long name: 'D1-TELEKOM'   Short name: '' Numeric name: 26201 Mode: automatic
.HP
<FLSTAT0>  'CS'
.HP
<FLSTAT1>  'PS'
.HP
<FLSTAT2>  'SC'  Voice  Data  Fax
.HP
<FLSTAT3>  'AO'
.HP
<FLSTAT4>  'OI'
.HP
<FLSTAT5>  'OX'
.HP
<FLSTAT6>  'AI'
.HP
<FLSTAT7>  'IR'
.HP
<FLCAP0>  'CS' 'PS' 'SC' 'AO' 'OI' 'OX' 'AI' 'IR' 'AB' 'AG' 'AC' 
.HP
<PW0>  'PS' 8
.HP
<PW1>  'SC' 8
.HP
<PW2>  'AO' 4
.HP
<PW3>  'OI' 4
.HP
<PW4>  'OX' 4
.HP
<PW5>  'AI' 4
.HP
<PW6>  'IR' 4
.HP
<PW7>  'AB' 4
.HP
<PW8>  'AG' 4
.HP
<PW9>  'AC' 4
.HP
<CLIP0>  on
.HP
<FORW0.0>  UnconditionalReason  Voice  inactive number:   subaddr:  time: -1
.HP
<FORW0.1>  UnconditionalReason  Data  inactive number:   subaddr:  time: -1
.HP
<FORW0.2>  UnconditionalReason  Fax  inactive number:   subaddr:  time: -1
.HP
<FORW1.0>  MobileBusyReason  Voice  active number: +494012345678  subaddr:   time: -1
.HP
<FORW1.1>  MobileBusyReason  Data  inactive number:   subaddr:  time: -1
.HP
<FORW1.2>  MobileBusyReason  Fax  inactive number:   subaddr:  time: -1
.HP
<FORW2.0>  NoReplyReason  Voice  active number: +494012345678  subaddr:   time: 20
.HP
<FORW2.1>  NoReplyReason  Data  inactive number:   subaddr:  time: -1
.HP
<FORW2.2>  NoReplyReason  Fax  inactive number:   subaddr:  time: -1
.HP
<FORW3.0>  NotReachableReason  Voice  active number: +494012345678  subaddr:  time: -1
.HP
<FORW3.1>  NotReachableReason  Data  inactive number:  subaddr:  time: -1
.HP
<FORW3.2>  NotReachableReason  Fax  inactive number:  subaddr:  time: -1
.HP
<BATT0>   0 ME is powered by the battery
.HP
<BATT1>  100
.HP
<BITERR0>  0
.HP
<SIG0>  19
.RE
.PD
.PP
The following locks the keys on the mobile phone:
.nf
.IP "" 3
gsmctl -o lock cs
.fi
.PP
This changes the SIM card PIN from 1234 to 2345:
.nf
.IP "" 3
gsmctl -o setpw sc 1234 2345
.fi
.PP
Switch off all call forwarding (actually erase the numbers):
.nf
.IP "" 3
gsmctl -o forw erase all
.fi
.PP
Switch on call forwarding to German D1 voice box:
.nf
.IP "" 3
gsmctl -o forw register notreachable 3313
gsmctl -o forw enable notreachable
.fi
.PP
.SH FILES
.TP
.B /dev/mobilephone
Default mobile phone device.
.SH AUTHOR
Peter Hofmann <software@pxh.de>
.SH BUGS
Report bugs to software@pxh.de.  Include a complete, self-ncontained
example that will allow the bug to be reproduced, and say which
version of \fIgsmctl\fP you are using.
.SH COPYRIGHT
Copyright \(co 1999 Peter Hofmann
.PP
.B gsmctl
is free software; you can redistribute it and/or modify it under the
terms of the GNU Library General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
.PP
.B gsmctl
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 Library General Public
License for more details.
.PP
You should have received a copy of the GNU Library General Public
License along with 
.BR gsmctl ; 
see the file COPYING.  If not, write to the Free Software Foundation,
675 Mass Ave, Cambridge, MA 02139, USA.
.SH "SEE ALSO"
.BR gsminfo (7),
.BR gsmpb (1),
.BR gsmsendsms (1),
.BR gsmsmsd (8),
.BR gsmsmsstore (1).

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本亚洲免费观看| 国产三级精品在线| 亚洲综合视频网| 色狠狠av一区二区三区| 亚洲免费观看高清完整版在线| 91在线观看一区二区| 亚洲区小说区图片区qvod| 色婷婷精品大视频在线蜜桃视频| 一区二区在线观看不卡| 精品视频在线免费看| 日本不卡123| 26uuuu精品一区二区| thepron国产精品| 亚洲国产精品一区二区久久| 日韩一区和二区| 国产麻豆视频一区| 伊人一区二区三区| 日韩精品一区二区三区视频播放| 国产尤物一区二区| 亚洲人成亚洲人成在线观看图片| 欧美日韩一本到| 九九国产精品视频| 自拍偷拍欧美激情| 欧美一区国产二区| 成人ar影院免费观看视频| 亚洲不卡一区二区三区| 精品日本一线二线三线不卡| av成人免费在线观看| 日韩国产一区二| 国产精品女人毛片| 日韩一级黄色片| 99久久精品99国产精品| 麻豆精品视频在线观看视频| 中文字幕一区二区在线观看 | 国产精品自在在线| 亚洲免费毛片网站| 久久精品水蜜桃av综合天堂| 欧美日韩精品欧美日韩精品一 | 99在线热播精品免费| 日韩av二区在线播放| √…a在线天堂一区| 精品免费日韩av| 在线免费av一区| 成人精品一区二区三区中文字幕 | 一个色在线综合| 国产女主播一区| 日韩三级中文字幕| 在线观看日韩一区| 成人黄色一级视频| 国模娜娜一区二区三区| 亚洲v精品v日韩v欧美v专区| 亚洲日本在线天堂| 日本一区免费视频| 久久久99精品久久| 日韩一区二区三区视频在线| 欧美日韩三级视频| 日本精品视频一区二区| www.亚洲在线| 成人丝袜18视频在线观看| 看片的网站亚洲| 日韩成人精品视频| 日韩av二区在线播放| 亚洲网友自拍偷拍| 亚洲国产日韩精品| 亚洲国产一区视频| 有坂深雪av一区二区精品| 中文字幕亚洲区| 国产精品色婷婷久久58| 国产欧美日韩在线视频| 久久久蜜臀国产一区二区| 欧美刺激脚交jootjob| 717成人午夜免费福利电影| 欧美日韩你懂的| 欧美色图片你懂的| 欧美日韩中文字幕一区| 欧美在线视频你懂得| 欧美视频一区二区三区在线观看| 色天天综合色天天久久| 色老汉一区二区三区| 色999日韩国产欧美一区二区| 91麻豆免费看| 色94色欧美sute亚洲线路一ni | 色天天综合色天天久久| 在线观看欧美黄色| 欧美日韩综合一区| 日韩一级视频免费观看在线| 日韩美女一区二区三区| 久久综合九色综合欧美98| 国产午夜精品在线观看| 国产精品网曝门| 一区二区三区在线观看动漫| 亚洲一区二区四区蜜桃| 日韩电影一区二区三区| 久久成人免费日本黄色| 国产v综合v亚洲欧| 99国产精品久久久久久久久久 | 91色porny在线视频| 欧美网站大全在线观看| 日韩欧美久久一区| 欧美激情一区二区三区在线| 亚洲欧美日韩中文播放 | 欧美日韩国产高清一区| 日韩欧美一区在线| 国产日韩欧美精品在线| 一区二区三区在线视频免费观看| 亚洲第一主播视频| 国产自产高清不卡| 色悠久久久久综合欧美99| 欧美肥妇free| 欧美精彩视频一区二区三区| 亚洲一区二区三区四区在线免费观看| 日本成人在线视频网站| 国产馆精品极品| 制服丝袜激情欧洲亚洲| 9i看片成人免费高清| 欧美日韩美女一区二区| 久久在线观看免费| 一区二区三区电影在线播| 加勒比av一区二区| 91天堂素人约啪| 欧美videos中文字幕| 亚洲欧美电影一区二区| 美女爽到高潮91| 91免费小视频| 久久亚洲一区二区三区明星换脸| 亚洲精品视频一区二区| 黄色日韩三级电影| 欧美图区在线视频| 国产精品国产馆在线真实露脸| 青青草原综合久久大伊人精品优势| 国产98色在线|日韩| 91精品国产综合久久精品图片| 国产精品免费人成网站| 蜜桃视频在线观看一区| 日本久久一区二区三区| 国产日产欧产精品推荐色| 日韩经典一区二区| 一本一本久久a久久精品综合麻豆| 欧美xxxx在线观看| 日韩高清在线观看| 91精品国产免费| 一区二区三区欧美激情| 麻豆精品视频在线| 在线观看av不卡| 中文字幕视频一区| 国产尤物一区二区| 日韩一级二级三级| 水蜜桃久久夜色精品一区的特点| 一道本成人在线| 国产精品久久久久久久久久久免费看 | 亚洲一区二区三区四区在线| 丁香六月综合激情| 久久久一区二区| 精品一区二区三区蜜桃| 欧美狂野另类xxxxoooo| 亚洲综合在线免费观看| 91网站在线播放| 国产精品国产三级国产三级人妇| 国产一区二区在线观看免费| 日韩欧美一区电影| 久久99久久精品| 精品欧美一区二区在线观看 | 色偷偷一区二区三区| 国产日产欧美精品一区二区三区| 久久99精品视频| 欧美电影精品一区二区| 久久精品72免费观看| 欧美r级在线观看| 久久成人麻豆午夜电影| 精品乱人伦小说| 狠狠色2019综合网| 久久精品亚洲乱码伦伦中文| 国产成a人亚洲| 国产精品久久久一本精品| 成人av电影免费在线播放| 国产精品灌醉下药二区| 波多野结衣91| 亚洲自拍另类综合| 欧美一区二区三区公司| 国内精品免费在线观看| 国产欧美一区二区精品婷婷| 成人免费毛片app| 亚洲欧洲精品成人久久奇米网| 欧美日韩一区 二区 三区 久久精品| 视频在线观看91| 日韩精品一区二区在线| 国产91精品一区二区| 亚洲欧美日韩国产一区二区三区| 色婷婷精品大在线视频| 肉肉av福利一精品导航| 精品国产污污免费网站入口| 国产成人午夜99999| 亚洲欧洲在线观看av| 欧美在线观看视频一区二区| 日本不卡不码高清免费观看| 麻豆精品新av中文字幕| 久久久国产午夜精品| 一本色道久久加勒比精品| 日日夜夜免费精品| 欧美国产一区二区|