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

IrWW_P2_V1p0

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

IrWW Time Synchronization Profile, Version 1.0

 

IrWW SIG

 

 

 

 

 

 

 

Read-all/Write-all Client

Details

 

 

 

 

 

 

 

 

OBEX CONNECT.

 

 

 

 

 

 

 

 

 

 

 

 

Read the Information Log using OBEX GET.

 

 

 

 

 

 

 

 

 

Write all objects using OBEX PUT.

 

 

 

In accordance with read Information Log, only

 

 

 

 

 

 

 

 

 

necessary data are sent.

 

OBEX DISCONNECT.

 

 

 

 

 

 

 

 

 

 

 

Table 14 Application procedure for Write-all objects

It is not necessary for a client to always use Information Log.

In Read-all/Write-all objecs, following file names are used.

Object

File name

 

 

 

Alarm Object

/watch/alarm.wal

 

Alarm Information Log Object

/watch/alarm/info.log

 

Timer Object

/watch/timer.wtm

 

Timer Information Log Object

/watch/timer/info.log

 

Stopwatch Object

/watch/stop.wsw

 

Stopwatch Information Log Object

/watch/stop/info.log

 

Table 15 Object name assignment rule of Read-all/Write-all Time-Related Objects

IrWW SIG

25

IrWW Time Synchronization Profile, Version 1.0

IrWW SIG

4.5 OBEX

4.5.1 OBEX Operations

The table below shows the OBEX operations, which are used in single object pull in Time Synchronization profile.

 

Operation no.

OBEX Operation

Pull Client

Pull Server

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

Connect

M

 

M

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

Disconnect

O

 

M

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

Put

N/A

 

N/A

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

Get

M

 

M

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

Abort

 

 

M

 

 

M

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

 

Set Path

N/A

 

N/A

 

 

 

 

 

 

 

 

 

 

 

 

Table 16 OBEX Operations used in single object pull

The table below shows the OBEX operations, which are used in single object push in Time Synchronization profile.

Operation no.

OBEX Operation

Push Client

Push Server

 

 

 

 

1

Connect

M

M

 

 

 

 

2

Disconnect

O

M

 

 

 

 

3

Put

M

M

 

 

 

 

4

Get

N/A

N/A

 

 

 

 

5

Abort

M

M

 

 

 

 

6

Set Path

N/A

N/A

 

 

 

 

Table 17 OBEX Operations used in single object push

The table below shows the OBEX operations, which are used in Read-all/Write-all in Time Synchronization profile.

IrWW SIG

26

IrWW Time Synchronization Profile, Version 1.0

IrWW SIG

 

 

 

 

Operation no.

OBEX Operation

Read-all/Write-all Client

Read-all/Write-all Server

 

 

 

 

1

Connect

M

M

 

 

 

 

2

Disconnect

O

M

 

 

 

 

3

Put

M

M

 

 

 

 

4

Get

M

M

 

 

 

 

5

Abort

M

M

 

 

 

 

6

Set Path

N/A

N/A

 

 

 

 

Table 18 OBEX Operations used in Read-all/Write-all objects

4.5.2 OBEX Headers

OBEX Headers follows the information described in Section 2.5.2 of [IrWW].

4.5.3 Establishing an OBEX session

Establishing an OBEX session follows the procedure described in Section 2.5.3 of [IrWW].

4.5.4 Reading Objects

Reading Object follows the procedure described in Section 2.5.4 of [IrWW].

4.5.5 Writing Objects

Writing Object follows the procedure described in Section 2.5.5 of [IrWW].

4.5.6 Disconnecting an OBEX session

Disconnecting an OBEX session follows the procedure described in Section 2.5.6 of [IrWW].

4.6 Tiny TP

Tiny TP follows the information described in Section 2.8 of [IrWW].

4.7 IrLMP

IrLMP follows the information described in Section 2.9 of [IrWW].

4.8 IAS

IAS follows the information described in Section 2.10 of [IrWW].

4.8.1 Parameters

In Table 19, the Parameters in single object pull are listed.

IrWW SIG

27

IrWW Time Synchronization Profile, Version 1.0

 

 

 

 

IrWW SIG

 

 

 

 

 

 

 

 

 

 

PI

PI name

PL

PV data type

 

PV Description

Status

 

 

 

 

 

 

 

 

 

 

 

0x00

Time-Sync

2

 

 

The first octet =

 

 

 

 

 

Support

 

 

 

Support Level

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

( bit mask)

 

 

 

 

 

 

 

bit 0

 

Single Push Support

 

0

 

 

 

 

 

bit 1

 

Single Pull Support

 

1

 

 

 

 

 

bit 2

 

Write-all Support

 

0

 

 

 

 

 

bit 3

 

Read-all Support

 

0

 

 

 

 

 

 

 

The second octet :

 

 

 

 

 

 

 

 

 

Upper side nibble(4bit)

 

0001

 

 

 

 

 

 

 

Major version number

 

 

 

 

 

 

 

 

 

Lower side nibble(4bit)

 

0000

 

 

 

 

 

 

 

Minor version number

 

 

 

 

 

 

 

 

 

0x00 is undefined version

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 19 The Parameters of single Time-Sync Object pull

In Table 20, the Parameters in single object push are listed.

PI

PI name

PL

PV data type

 

PV Description

Status

 

 

 

 

 

 

 

 

0x01

Alarm

2

 

 

The first octet =

 

 

 

Support

 

 

 

Support Level

 

 

 

 

 

 

 

 

 

 

 

 

 

 

( bit mask)

 

 

 

 

 

bit 0

 

Single Push Support

 

1

 

 

 

bit 1

 

Undefined

 

0

 

 

 

bit 2

 

Undefined

 

0 or 1

 

 

 

bit 3

 

Undefined

 

0 or 1

 

 

 

 

 

The second octet :

 

 

 

 

 

 

 

Upper side nibble(4bit)

 

0001

 

 

 

 

 

Major version number

 

 

 

 

 

 

 

Lower side nibble(4bit)

 

0000

 

 

 

 

 

Minor version number

 

 

 

 

 

 

 

0x00 is undefined version

 

 

 

 

 

 

 

 

 

 

0x02

Timer

2

 

 

The first octet =

 

 

 

 

 

 

 

 

 

IrWW SIG

28

IrWW Time Synchronization Profile, Version 1.0

 

 

 

 

IrWW SIG

 

 

 

Support

 

 

 

Support Level

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

( bit mask)

 

 

 

 

 

 

 

 

bit 0

 

Single Push Support

1

 

 

 

 

 

 

 

bit 1

 

Undefined

0

 

 

 

 

 

 

 

bit 2

 

Undefined

0 or 1

 

 

 

 

 

 

bit 3

 

Undefined

0 or 1

 

 

 

 

 

 

 

 

The second octet :

 

 

 

 

 

 

 

 

 

 

Upper side nibble(4bit)

0001

 

 

 

 

 

 

 

 

 

Major version number

 

 

 

 

 

 

 

 

 

 

Lower side nibble(4bit)

0000

 

 

 

 

 

 

 

 

 

Minor version number

 

 

 

 

 

 

 

 

 

 

0x00 is undefined version

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x03

 

Stopwatch

2

 

 

The first octet =

 

 

 

 

 

 

 

Support

 

 

 

Support Level

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

( bit mask)

 

 

 

 

 

 

 

 

 

bit 0

 

Single Push Support

 

1

 

 

 

 

 

 

 

bit 1

 

Undefined

 

0

 

 

 

 

 

 

 

bit 2

 

Undefined

 

0 or 1

 

 

 

 

 

 

 

bit 3

 

Undefined

 

0 or 1

 

 

 

 

 

 

 

 

 

The second octet :

 

 

 

 

 

 

 

 

 

 

 

Upper side nibble(4bit)

 

0001

 

 

 

 

 

 

 

 

 

Major version number

 

 

 

 

 

 

 

 

 

 

 

Lower side nibble(4bit)

 

0000

 

 

 

 

 

 

 

 

 

Minor version number

 

 

 

 

 

 

 

 

 

 

 

0x00 is undefined version

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 20 Parameters of single Time-related Object push

In Table 21, the Parameters in Read-all/Write-all objects are listed.

PI

PI name

PL

PV data type

PV Description

Status

 

 

 

 

 

 

0x01

Alarm

2

 

The first octet =

 

 

Support

 

 

Support Level

 

 

 

 

 

 

 

 

 

 

( bit mask)

 

 

 

 

 

 

 

IrWW SIG

29

IrWW Time Synchronization Profile, Version 1.0

 

 

 

 

IrWW SIG

 

 

 

 

 

 

 

 

 

 

 

 

 

bit 0

 

Single Push Support

 

0 or 1

 

 

 

 

 

bit 1

 

Single Pull Support

 

0

 

 

 

 

 

bit 2

 

Write-all Support

 

0 or 1

 

 

 

 

 

bit 3

 

Read-all Support

 

0 or 1

 

 

 

 

 

 

 

The second octet :

 

 

 

 

 

 

 

 

 

Upper side nibble(4bit)

 

0001

 

 

 

 

 

 

 

Major version number

 

 

 

 

 

 

 

 

 

Lower side nibble(4bit)

 

0000

 

 

 

 

 

 

 

Minor version number

 

 

 

 

 

 

 

 

 

0x00 is undefined version

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x02

Timer

2

 

 

The first octet =

 

 

 

 

Support

 

 

 

Support Level

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

( bit mask)

 

 

 

 

 

 

bit 0

Single Push Support

0 or 1

 

 

 

 

bit 1

Single Pull Support

0

 

 

 

 

 

bit 2

 

Write-all Support

0 or 1

 

 

 

 

bit 3

 

Read-all Support

0 or 1

 

 

 

 

 

 

The second octet :

 

 

 

 

 

 

 

 

Upper side nibble(4bit)

0001

 

 

 

 

 

 

 

Major version number

 

 

 

 

 

 

 

 

Lower side nibble(4bit)

0000

 

 

 

 

 

 

 

Minor version number

 

 

 

 

 

 

 

 

0x00 is undefined version

 

 

 

 

 

 

 

 

 

 

 

 

0x03

Stopwatch

2

 

 

The first octet =

 

 

 

 

 

Support

 

 

 

Support Level

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

( bit mask)

 

 

 

 

 

 

 

bit 0

 

Single Push Support

 

0 or 1

 

 

 

 

 

bit 1

 

Single Pull Support

 

0

 

 

 

 

 

bit 2

 

Write-all Support

 

0 or 1

 

 

 

 

 

bit 3

 

Read-all Support

 

0 or 1

 

 

 

 

 

 

 

The second octet :

 

 

 

 

 

 

 

 

 

Upper side nibble(4bit)

 

0001

 

 

 

 

 

 

 

Major version number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IrWW SIG

30

IrWW Time Synchronization Profile, Version 1.0

 

IrWW SIG

 

 

 

 

 

 

 

 

 

 

 

 

Lower side nibble(4bit)

0000

 

 

 

 

 

 

Minor version number

 

 

 

 

 

 

 

0x00 is undefined version

 

 

 

 

 

 

 

 

 

 

 

Table 21 The Parameters of Read-all/Write-all Time-related Objects

 

 

 

4.8.2 DeviceInfo

DeviceInfo follows the information described in Section 2.10.3 of [IrWW].

4.9 Service Hint Bit

Service Hint Bit follows the information described in Section 2.11 of [IrWW].

4.10 IrLAP

IrLAP follows the information described in Section 2.12 of [IrWW].

4.11 Physical Layer

Devices are allowed to support the short-range option as described in [IrPHY]

IrWW SIG

31

Соседние файлы в предмете Электротехника