Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

IrWW_ULTRA_V1p0

.pdf
Скачиваний:
9
Добавлен:
23.08.2013
Размер:
334.86 Кб
Скачать

Ultra IrWW Specification, Ver 1.0

 

PID Octet

 

 

 

PID No

 

Function

 

 

 

0x00

 

Reserved

0x01

 

For Ultra OBEX

0x02

 

For Ultra IrWW

0x03 – 0x7f

 

TBD

MSB(bit 7)

 

For extention

Note: All PID values are reserved and assigned by IrDA.

Table 1 The PID Octet Encoding

2.2.2 Frame Structure

When the protocol identifier has a value of 02h, IrWW objects may be placed in the service data field. The Ultra IrWW frame structure is shown in figure 4.

BOF

ADR

CMD

IrLMP

PID

SAR

Ultra Payloads

FCS

EOF

0xC0

0xFF

“UI”

0x70

0x70

0x02

0x00

IrWW payloads

FCS

0xC1

Figure 4 Ultra IrWW frame structure

In the Ultra IrWW, object data size is less than 60bytes so that communication procedure should be completed with one UI frame. Therefore, SAR is always set to 00h, and Ultra IrWW Frame consists of only one frame.

2.2.3 IrWW Payload Data Structure

Figure 5 shows IrWW payload data structure.

 

IrWW Payloads

OID

IrWW Object Value

Figure 5 Ultra IrWW Object Payloads

OID:

IrWW Object ID (One byte)

OID specifies IrWW objects that are transferred with Ultra protocol. Unique number is given to each object.

Object

OID

Time-Adjust

0x00

Alarm

0x10

Timer

0x20

Stopwatch

0x30

Table 2 IrWW Object

IrWW SIG

5

Ultra IrWW Specification, Ver 1.0

2.3 Communication Procedure

Figure 6 shows an example of time sequence of Ultra IrWW communication. The advantage of the Ultra IrWW is that an IrWW object generated in the DEVICE 1 UI level can be sent to the DEVICE 2 UI level almost directly. This characteristic is effective for transmitting time-based information with little time-delay.

 

 

 

DEVICE1

 

 

 

 

 

 

 

DEVICE2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ultra IrW W

 

 

 

 

 

 

 

Ultra IrW W

 

 

 

 

 

 

UI

clien t

Ultra

Ultra

serv er

UI

PUSH

 

 

 

 

IrWW Pa yload

 

 

 

U

 

IrWW Payloa d

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[T-ADJUST]

 

 

(IrWW Object)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(A = 0xFF

 

(IrWW Object)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[T-ADJUST]

 

 

 

 

 

 

 

 

 

 

C = ”UI”

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DLSAP = 0x70

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SLSAP = 0x70

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PID = 0x02)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 6 Example of Ultra IrWW time sequence

IrWW SIG

6