MyTetra Share
Делитесь знаниями!
Сотовый телефон Siemens - AT-команды для работы с контактами VCARD в органайзере
Время создания: 13.05.2015 10:14
Раздел: Компьютер - Аппаратное обеспечение - Мобильные телефоны - Siemens M50
Запись: xintrea/mytetra_syncro/master/base/1431501297ic5bayqar2/text.html на raw.github.com

Appendix B


Example for creating/interrogation of an organizer entry


-vcs object which has to be uploaded:


BEGIN:VCALENDAR

VERSION:1.0

BEGIN:VEVENT

CATEGORIES:ANNIVERSARY

DTSTART:19991213T100000

DESCRIPTION:W. von Siemens

END:VEVENT

END:VCALENDAR


-hexadecimal representation of this object:


424547494E3A5643414C454E4441520D0A56455253494F4E3A312E300D0A4245

47494E3A564556454E540D0A43415445474F524945533A414E4E4956455253415

2590D0A445453544152543A3139393931323133543130303030300D0A44455343

52495054494F4E3A572E20766F6E205369656D656E730D0A454E443A56455645

4E540D0A454E443A5643414C454E4441520D0A


-upload of an entry on record 20

at^sbnw="vcs",20,1,3<CR>

<CR><LF> > <Space>

424547494E3A5643414C454E4441520D0A56455253494F4E3A312E300D0A4245

47494E3A564556454E540D0A43415445474F<Ctrl-Z>

<CR><LF>OK<CR><LF>

at^sbnw="vcs",20,2,3<CR>

<CR><LF> > <Space>

524945533A414E4E49564552534152590D0A445453544152543A3139393931323

133543130303030300D0A44455343524950<Ctrl-Z>

<CR><LF>OK<CR><LF>

at^sbnw="vcs",20,3,3<CR>

<CR><LF> > <Space>

54494F4E3A572E20766F6E205369656D656E730D0A454E443A564556454E540D

0A454E443A5643414C454E4441520D0A<Ctrl-Z> <CR><LF>OK<CR><LF>

All characters are answered with an echo.

Echoing can be switched off with „ATE0“.

In this example the organizer entry is uploaded in 50 bytes packets (100 input characters in every pdu).

The blue painted characters characterize the responses of the mobile.

-interrogation of the current <type>,<subtype>,<actNumber>,<maxNumber>

at^sbnw?<CR>

<CR><LF>^SBNW: "vcs",20,2,3<CR><LF>

<CR><LF>OK<CR><LF>

description: The actual object which is uploaded is an VCS object.

It has to be stored on record 20.

2 of 3 packets are already uploaded.

-deleting of record 20

at^sbnw="vcs",20,0<CR>

<CR><LF>OK<CR><LF>

-download entry from record 20

at^sbnr="vcs",20<CR>

<CR><LF>^SBNR:<space>"vcs",20,1,1<CR><LF>

424547494E3A5643414C454E4441520D0A56455253494F4E3A312E300D0A4245

47494E3A564556454E540D0A43415445474F524945533A414E4E4956455253415

2590D0A445453544152543A3139393931323133543130303030300D0A44455343

52495054494F4E3A572E20766F6E205369656D656E730D0A454E443A56455645

4E540D0A454E443A5643414C454E4441520D0A<CR><LF> <CR><LF>OK<CR><LF>

The mobile segments the record entry in 176 byte (=176*2 characters) packets.

-Download of an empty record 20

at^sbnr="vcs",20<CR>

<CR><LF>OK<CR><LF>

-Test command of AT^SBNW

at^sbnw=?<CR>

<CR><LF>^SBNW:<space>("bmp",(0)),(„mid“,(0)),(„vcs“,(1-30)) <CR><LF> <CR><LF>OK<CR><LF>

description: The mobile supports bitmaps with suptype 0, midi obects with suptype 0 and vcs objects with the suptypes 1 up to 30.


Так же в этом разделе:
 
MyTetra Share v.0.65
Яндекс индекс цитирования