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

Материал из Wiren Board
(Новая страница: «#Create a configuration file by running ''gammu-config'' ##In the ''Port'' parameter, specify ''/dev/ttyGSM'' ##In the ''Connection'' parameter, specify''at115200…»)
 
м (FuzzyBot переименовал страницу Translations:GSM/GPRS/18/en в Translations:Modem-stretch/18/en без оставления перенаправления: Часть переводимой страницы GSM/GPRS.)
 
(нет различий)

Текущая версия на 09:42, 31 марта 2023

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