реклама на сайте
подробности

 
 
> Непонятки с AT-командами для GH688(Эриксон) !, Почему нет совместимости с командами родственного T18 ?
san822
сообщение Jun 8 2006, 09:17
Сообщение #1


Профессионал
*****

Группа: Свой
Сообщений: 1 195
Регистрация: 26-07-05
Из: Санкт-Петербург
Пользователь №: 7 111



Решил побаловаться со старым Эриксоном GH688,
проверить возможности применения АТ-команд.
Именно для него не нашёл список АТ-команд,
но нашёл команды для его "старшего брата" T18.
Оказалось, что лишь малое количество команд от T18
совместимо с GH688 !
В чём дело ? Ведь разница в возрасте между этими "братьями" не очень велика,
функциональность GH688 позволяет делать почти всё,
что может делать T18. Может у моего GH688 какая-то неполноценная прошивка ?
Прикрепленные файлы
Прикрепленный файл  ericsson_t18s_at.zip ( 2.18 килобайт ) Кол-во скачиваний: 75
 
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
san822
сообщение Jun 14 2006, 11:21
Сообщение #2


Профессионал
*****

Группа: Свой
Сообщений: 1 195
Регистрация: 26-07-05
Из: Санкт-Петербург
Пользователь №: 7 111



Я понял это, прежде всего, как рекомендацию использовать какой-то АТ-модем и не иметь подобных проблем, ведь там всё более ясно.
С этим я и не собираюсь спорить!
Конечно, при промышленном использовании я бы тоже использовал готовые АТ-модемы, но сейчас я не на том уровне.
Пока я занимаюсь этим просто тем, чтобы приобрести какой-то опыт в этой области. Можно сейчас это назвать просто хобби.
Поэтому мне проще(и дешевле) купить дешевенький мобильник и проводить с ним опыты, позволяя себе полную свободу экспериментов(как раз из-за его низкой стоимости).

А шина M2BUS сама по себе заслуживает особого внимания.
Go to the top of the page
 
+Quote Post
abvg
сообщение Jun 14 2006, 13:28
Сообщение #3


Участник
*

Группа: Новичок
Сообщений: 30
Регистрация: 5-06-06
Из: Тихий Омут
Пользователь №: 17 791



Цитата(san822 @ Jun 14 2006, 14:21) *
А шина M2BUS сама по себе заслуживает особого внимания.


Чип и Дейл спешат на помощь(BVU&bvg)!

Все дело в разных протоколах, уровнях, вложенности и т.д.

Давай образовываться, т.к. тема не очень сложная, но длинная.
А потом я расскажу, как решается эта задача. Нестандартно smile.gif

Собери инфу по т.н *Nokia commands*

Вот начало ОЧЕНЬ старого документа
*
Document describing protocol used in Nokia phones.
The data provided is for information purposes only.
Some of the frames might be hazardous to your phone. Be careful!!!
We do not take any responsibility or liability for damages, etc.
Last update 26.02.2001
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assembled by
Balazs Nagy (js@lsc.hu)
Alfred R. Nurnberger <arnu@flosys.com>
Hugh Blemings <Hugh.Blemings@vsb.com.au>
Mike Bradley <mike@trumpington.st>
Odinokov Serge <serge@takas.lt>
Pavel Janik <Pavel@Janik.cz>
Paweі Kot <pkot@linuxnews.pl>
Marcin Wiacek (Marcin-Wiacek@TOPNET.PL)
Jens Bennfors <jens.bennfors@ing.hj.se>
Michael Hund <michael@drhund.de>
Jay Bertrand <jay.bertrand@libertysurf.fr>

NOTE: this information isn't (and can't be) complete. If you know anything
about features not listed here or you noticed a bug in this list, please
notify us via e-mail. Thank you.

Frame format for MBUS version 1:
Request from Computer/Answer from Phone:
{ DestDEV, SrcDEV, FrameLength, MsgType, {block}, id, ChkSum }
where DestDEV, SrcDEV: 0x00: phone
0xf8: PC (wakeup msg)
0xe4: PC (normal msg)
FrameLength: length of data frame. Maximal 0x78. Longer
frames are divided into smaller.
MsgType: see List
{block}: main frame
id: request identity number 1..n, incremented after
the request is accepted
ChkSum: XOR on frame's all numbers
Ack from Phone:
{ DestDEV, 0x00, FrameLength, MsgType, {block} , id, ChkSum }
where DestDEV: taken from original request packet
FrameLength: 0x7f, when DestDEV = 0xe4
0x7e, when DestDEV = 0xf8
MsgType: see List. Present only, when DestDEV = 0xf8
{block}: main frame. Present only, when DestDEV = 0xf8
id: request identity number 1..?, corresponding
to the original request packet id
the request is accepted
ChkSum: XOR on frame's all numbers
Ack from Computer:
{ 0x00, SrcDEV, 0x7f, id, ChkSum }
where SrcDEV: taken from response packet
id: request identity number 1..?, corresponding
to the response packet id
the request is accepted
ChkSum: XOR on frame's all numbers
Port settings:
Speed 9600 bps, Bits 8, ParityOdd, Stop Bits 1, DTR and RTS logic 0
Many transmission are made this way:
<computer sends request>
<phone sends ack>
<phone sends response>
<computer sends ack>
Some frames are sent from phone without asking for them
Frame format for FBUS version 1:
{ FrameID, FrameLength, MsgType, {block}, SeqNo, ChkSum }
where FrameID: 0x01 Command frame from computer to Nokia
0x02 ??? - Data call frame from computer to Nokia - ???
0x03 Data call frame from Nokia to computer
0x04 Command frame from Nokia to computer
FrameLength: {block} + 2
MsgType: see List
SeqNum: Sequence number of command in case where direction is
from ME to computer, the sequence number is
counting from 0x30 to 0x37 and resetting back to 0x30.
When direction is from computer to ME,
sequence number counts from 0x08 to 0x0f and resets back to 0x08.
It may not be required to be this way.
Sequence numbers are used in acknowledging commands.
ChkSum1: CRC = 0;
for (i = 0; i < (2 + CMD_LEN); i++)
CRC ^= frame[i];
Frame format for FBUS version 2/Direct IRDA:
{ FrameID, DestDEV, SrcDEV, MsgType, 0x00, FrameLength, {block}, FramesToGo,
SeqNo, PaddingByte?, ChkSum1, ChkSum2 }
where FrameID: 0x1c: IR / FBUS
0x1e: Serial / FBUS
DestDev, SrcDev: 0x00: mobile phone
0x0c: TE (FBUS) [eg. PC]
MsgType: see List
FrameLength: {block} + 2 (+ 1 if PaddingByte exists)
FramesToGo: 0x01 means the last frame
SeqNo: [0xXY]
X: 4: first block
0: continuing block
Y: sequence number
PaddingByte: 0x00 if FrameLength would be an odd number
anyways it doesn't exists
ChkSum1: XOR on frame's odd numbers
ChkSum2?: XOR on frame's even numbers
Frame format for MBUS version 2:

{ FrameID, DestDEV, SrcDEV, MsgType, FrameLengthLO, FrameLengthHI, {block},
SeqNo, ChkSum }
where FrameID: 0x1f: Serial / M2BUS
DestDev, SrcDev: 0x00: mobile phone
0x1d: TE (M2BUS)
0x10: TE (M2BUS) (Service Software ?)
0x04: Carkit?
0x48: DLR3 cable?
0xF8: unknown target?
0xFF: global target?
MsgType: see List
FrameLength: {block}
SeqNo: sequence number
ChkSum: XOR on frame's all numbers
Please note that M2BUS has only one checksum: XOR on frame[FrameID..SeqNo]
Frame format for Infrared:
{ FrameID, DestDEV, SrcDEV, MsgType, FrameLengthLo, FrameLengthHi, {block}}
where FrameID: 0x14
DestDev, SrcDev: 0x00: mobile phone
0x0c: TE [eg. PC]
…………………………………………….
*
Закончи и пополни его. Я буду тебе очень благодарен!

2. Найди то место, где написано, что GSM терминал является модемом и с ним можно общаться через AT


--------------------
bvg,
третий помощник младшего санитара в ассенизационных обозах при холерных бараках.
Go to the top of the page
 
+Quote Post
san822
сообщение Jun 15 2006, 09:08
Сообщение #4


Профессионал
*****

Группа: Свой
Сообщений: 1 195
Регистрация: 26-07-05
Из: Санкт-Петербург
Пользователь №: 7 111



Цитата(abvg @ Jun 14 2006, 17:28) *
2. Найди то место, где написано, что GSM терминал является модемом и с ним можно общаться через AT



Вот три ссылки, в которых говорится, что Нокиа 6150 имеет встроенный модем
http://www.mobile4you.info/db/detailPageCd...ID=Nokia%206150
http://www.memphise.ru/printing/firma36-537.html
http://gsmok.ru/cgi-bin/phone.pl?telephone=Nokia_6150
Go to the top of the page
 
+Quote Post

Сообщений в этой теме
- san822   Непонятки с AT-командами для GH688(Эриксон) !   Jun 8 2006, 09:17
- - BVU   Цитата(san822 @ Jun 8 2006, 13:17) Решил ...   Jun 8 2006, 09:46
- - san822   Телефоны одной фирмы, разница в возрасте не велика...   Jun 8 2006, 10:07
|- - abvg   Цитата(san822 @ Jun 8 2006, 13:07) мне по...   Jun 12 2006, 10:38
|- - abvg   Протормозил ... Можно еще почитать документацию Wa...   Jun 12 2006, 11:50
- - BVU   Если у Вас есть возможность, почитайте используему...   Jun 8 2006, 11:36
- - BVU   abvg, молодчина спору нет и эрудирован достойно...   Jun 13 2006, 09:33
|- - abvg   Цитата(BVU @ Jun 13 2006, 12:33) Но суть ...   Jun 13 2006, 18:14
- - san822   Да, согласен, есть достаточно много документации п...   Jun 14 2006, 09:30
|- - BVU   Цитата(san822 @ Jun 14 2006, 13:30) Да, с...   Jun 14 2006, 10:58
- - BVU   Цитата(san822 @ Jun 14 2006, 15:21) ... П...   Jun 14 2006, 12:08
- - san822   Цитата(abvg @ Jun 14 2006, 17:28) Все дел...   Jun 15 2006, 08:50
|- - abvg   Цитата(san822 @ Jun 15 2006, 11:50) И ещё...   Jun 16 2006, 11:21


Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 26th July 2025 - 00:50
Рейтинг@Mail.ru


Страница сгенерированна за 0.01408 секунд с 7
ELECTRONIX ©2004-2016