手机版

OMA-TS-DM_TND-V1_2_1-20080617-A(14)

发布时间:2021-06-06   来源:未知    
字号:

7.3 Property addressing

The properties of a Node are addressed by appending ?prop=<property_name>to the Node’s URI. For instance, to access the ACL of an OMA DM account a DM Server could use one of these URIs;

./DMAcc/xyzInc?prop=ACLDMAcc/xyzInc?prop=ACL

If a server addresses an unsupported property in a device, an error is returned in the form of an (406) Optional feature not supportedstatus

7.4 Property values

Property values MUST be transported by OMA DM as UTF-8 encoded strings. Numerical property values MUST be converted to numerical strings, expressed in decimal. It is NOT RECOMMENDED to use a <Meta> element for property values.

It is unnecessary to use a <Meta> element for property values because they are all strings. This means that they would all have the same <Meta>, like this:

<Meta>

<Format xmlns=’syncml:metinf’>chr</Format> <Type xmlns=’syncml:metinf’>text/plain</Type> </Meta>

7.5 Operations on properties

The following table defines the allowed operations for each property. An operation on a property is equivalent to an OMA DM command that is performed by a server on the URI of the property. Property ACL

Applicable Commands Get, Replace

Comment

Get and Replace are the only valid commands for ACL manipulation. Note that Replace always replaces the complete ACL.

Automatically updated by Add and Replace commands on the associated Node.

A Replace is equivalent to a rename of the Node. Automatically updated by the device.

Only updated by server actions or software version changes.

Automatically updated by the device. Automatically updated by Add and Replace commands on the associated Leaf Node. Automatically updated by the device.

Format Name Size Title TStamp Type VerNo

Get Get, Replace Get Get, Replace Get Get Get

Table 4: Allowed operations on properties

Properties do not support the Add command. All mandatory properties, and those optional properties that a device

implements, MUST be automatically created when a new Node is created. The values of the newly created Node properties

OMA-TS-DM_TND-V1_2_1-20080617-A(14).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
×
二维码
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)