В начало |  Текущие события |  ЧАВО |  Feeds |  Добавить ваш блог |  Обратная связь |  Архивы |  Лента новостей RSS 2.0 Русский English Deutsch Español Français Italiano 日本語 Português 中文
Показывается от записей 1 до 1

Displaying posts with tag: gprs (reset)

GPRS для ленивых MACоводов
Employee +0 Vote Up -0Vote Down
Для добавления специфической строки инициализации модема проще всего оказалось изменить файл /Library/Modem Scripts/I-O DATA\ USB2-PCADP:

$diff -u temp/I-O\ DATA\ USB2-PCADP temp/I-O\ DATA\ USB2-PCADP\ My
--- temp/I-O DATA USB2-PCADP    2007-09-27 15:26:57.000000000 +0400
+++ temp/I-O DATA USB2-PCADP My 2007-09-27 15:26:42.000000000 +0400
@@ -33,7 +33,8 @@
 !
 matchclr
 matchstr 1 3 "OK\13\10"
-write "AT\13"
+!write "AT\13"
+write "AT+CGDCONT=1,\34IP\34,\34internet\34\13"
 !matchread 30
 matchread 60
 !
Показывается от записей 1 до 1

Planet MySQL © 1995, 2013, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.