WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III
8.6. RF_DeviceName: Modify the device name
Settings
index
Designation
Permissible
values
Default value
Permissions
Number of
Bytes
2
See
description
"Prot3"
read/write
1-31
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
with settings index 2.
Start signal
Command
Length
Settings index
Parameter
CS
0x02
0x11
0x06 0x00
0x02
0x4D 0x4F 0x44
0x20 0x31
0x40
Response
: Successfully modified the setting.
Start signal
Command | 0x40
Length
Status
CS
0x02
0x51
0x01 0x00
0x00
0x52
8.6.2. Example 2
Request the device name of the module using
with settings index 2:
Order code 2611011024000
127
Version 1.8 , July 2022