Dis_Flags: Configure The Device Information Service; Example 1; Example 2 - We PROTEUS-III User Manual

Hide thumbs Also See for PROTEUS-III:
Table of Contents

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III
8.30. DIS_Flags: Configure the device information service
Settings
Designation
index
DIS_Flags
19
The user setting DIS_Flags specifies the content of the Device Information Service. To add a
specific field, like DIS_ModelNumber to the Device Information Service, the corresponding Bit
has to be set in the DIS_Flags .
Bit no.
Description
Set this Bit to 1 to add the DIS_ManufacturerName to the Device Information Service.
0
Set this Bit to 1 to add the DIS_ModelNumber to the Device Information Service.
1
Set this Bit to 1 to add the DIS_SerialNumber to the Device Information Service.
2
Set this Bit to 1 to add the DIS_HWVersion to the Device Information Service.
3
Set this Bit to 1 to add the DIS_SWVersion to the Device Information Service.
4
5-7
Reserved.

8.30.1. Example 1

Add the manufacturer name and model number (Bit0|Bit1 = 0x03) to the Device Information
Service using CMD_SET_REQ with settings index 19
Start signal
0x02
Response CMD_SET_CNF : Successfully modified the setting.
Start signal
0x02

8.30.2. Example 2

Request the DIS_Flags using CMD_GET_REQ :
Start signal
0x02
Response CMD_GET_CNF : Successfully read out the value 0x00, meaning that the Device Infor-
mation Service is disabled, since no field was added.
Order code 2611011024000
Version 1.8 , July 2022
Permissible
values
0-255
Command
Length
0x11
0x02 0x00
Command | 0x40
0x51
Command
Length
0x10
0x01 0x00
Permissions
Default value
read/write
0
Settings index
Parameter
0x13
0x03
Length
Status
0x01 0x00
0x00
Settings index
0x13
www.we-online.com/wcs
Number
of
Bytes
1
CS
0x01
CS
0x52
CS
0x00
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents