Перейти к содержанию

Навигация

Modem-stretch/en: различия между версиями

Новая страница: «#Create a configuration file by running ''gammu-config'' ##In the ''Port'' parameter, specify ''/dev/ttyGSM'' ##In the ''Connection'' parameter, specify''at115200…»
(Новая страница: «(here is a brief instruction below, see the full documentation on the project website)»)
(Новая страница: «#Create a configuration file by running ''gammu-config'' ##In the ''Port'' parameter, specify ''/dev/ttyGSM'' ##In the ''Connection'' parameter, specify''at115200…»)
Строка 62: Строка 62:
(here is a brief instruction below, see the full documentation on the project website)
(here is a brief instruction below, see the full documentation on the project website)


#Создайте файл конфигурации, запустив ''gammu-config''
#Create a configuration file by running ''gammu-config''
##В параметре ''Port'' укажите ''/dev/ttyGSM''
##In the ''Port'' parameter, specify ''/dev/ttyGSM''
##В параметре ''Connection'' укажите ''at115200''
##In the ''Connection'' parameter, specify''at115200''
#Примеры команд:
#Command examples
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
$ gammu networkinfo # посмотреть сеть и базовую станцию, к которой вы подключены
$ gammu networkinfo # view the networkand the base station which you are connected to
$ gammu geteachsms # вывести все SMS
$ gammu geteachsms # print all SMS
$ gammu getussd '#100#' # запросить баланс на МТС в транслите
$ gammu getussd '#100#' # balance request in transliteration on MTS russian GSM mobile operator
$ gammu sendsms TEXT +79154816102 -unicode -text 'Привет' # отправить на номер сообщение с текстом
$ gammu sendsms TEXT +79154816102 -unicode -text 'Hi' # send 'Hi' to the number
</syntaxhighlight>
</syntaxhighlight>


12 063

правки