Rf_Devicename: Modify The Device Name; 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.6. RF_DeviceName: Modify the device name

Settings
Designation
index
RF_DeviceName
2
This parameter is using MSB first notation.
This parameter determines the name of the module, which is used in the advertising packets
as well as in the Generic Access Profile (GAP). The permissible characters are in the range
of 0x20 - 0x7E which are special characters (see ASCII table), alphabetic characters (a-z and
A-Z), numbers (0-9) and whitespace.
The maximum size of the device name that fits into an advertising packet is 5
Bytes. Thus longer device names will be shortened to 5 Bytes and declared
as "Shortened Local Name" in the advertising packet. The full device name is
included in the GAP.

8.6.1. Example 1

Set the device name of the module to 0x4D 0x4F 0x44 0x20 0x31 = "MOD 1" using CMD_SET_
REQ with settings index 2.
Start signal
Command
0x02
Response CMD_SET_CNF : Successfully modified the setting.
Start signal
0x02

8.6.2. Example 2

Request the device name of the module using CMD_GET_REQ with settings index 2:
Order code 2611011024000
Version 1.8 , July 2022
Permissible
values
See
description
Length
0x11
0x06 0x00
Command | 0x40
0x51
Permissions
Default value
"Prot3"
Settings index
Parameter
0x4D 0x4F 0x44
0x02
0x20 0x31
Length
Status
0x01 0x00
0x00
Number of
Bytes
read/write
1-31
CS
0x40
CS
0x52
www.we-online.com/wcs
127

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents