/      日本語

0xDB Command in Serial Communication App Format Mode (ASCII)

Setting functions using the 0xDB command in format mode (ASCII) without using Interactive Mode
In format mode, dynamic configuration can be performed from devices connected via UART by using the 0xDB command instead of Interactive Mode.

Input Format

#DataContentRemarks
charHeader: only
0uint8Destination logical device IDOnly 0xDB itself
1uint8Command numberSelected from values below
2[uint8]ParameterOptional length N bytes representing setting values
uint8ChecksumLRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')

List of Command Numbers

Function
0xF0Enable ACK
0xF1Get Device Info
0xF2Apply Device Settings
0xF3Get Device Settings
0xFDErase Device Settings
0xFESave Device Settings
0xFFReset Device

0xF0: Enable ACK

Requests an ACK response.

No parameters.

Response Format

#DataContentRemarks
charHeader: only
0uint8Destination logical device IDOnly 0xDB
1uint8Command numberOnly 0xF0
2uint8DataOnly 0x01
uint8Checksum0x34: LRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')

0xF1: Get Device Info

Displays address and other information. Also output at startup.

No parameters.

Response Format

#DataContentRemarks
charHeader: only
0uint8Destination logical device IDOnly 0xDB
1uint8Command numberOnly 0xF1
2uint32Default Application ID67720103
6uint32Version numberFor 1.4.7, 00010407
10uint8Logical device ID
11uint32Serial ID
15uint8Silent mode statusEnabled 1, Disabled 0
16uint8Network statusUP 1, DOWN 0
uint8ChecksumLRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')

0xF2: Apply Device Settings

Applies the settings.

Response Format

On Success
#DataContentRemarks
charHeader: only
0uint8Destination logical device IDOnly 0xDB
1uint8Command numberOnly 0xF3
2[uint8]Settings contentIdentifier
uint8ChecksumLRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')
On Failure
#DataContentRemarks
charHeader: only
0uint8Destination logical device IDOnly 0xDB
1uint8Command numberOnly 0xF3
2uint8ErrorOnly 0xFF
uint8Checksum0x33: LRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')

0xF3: Get Device Settings

Gets the settings.

Response Format

#DataContentRemarks
charHeader: only
0uint8Destination logical device IDOnly 0xDB
1uint8Command numberOnly 0xF3
2[uint8]Settings contentIdentifier and data
uint8ChecksumLRC8
charFooterCR (0x0D/'\r')
charFooterLF (0x0A/'\n')

0xFD: Erase Device Settings

Resets device settings and resets the device.

No parameters or response.

0xFE: Save Device Settings

Saves applied settings and resets the device.

No parameters or response.

0xFF: Reset Device

Discards applied settings and resets the device.

No parameters or response.

Parameter List (0xF2 / 0xF3)

Parameters for 0xF2: Apply Device Settings and 0xF3: Get Device Settings are represented by repeated pairs of identifiers and data (big endian).

IdentifierDataContent
0x00uint32Application ID
0x01uint32Frequency Channel Mask
0x02uint16Retry Count and Output
0x03uint8Logical Device ID
0x04uint8Role
0x05uint8Relay Layer
0x06uint8Communication Mode
0x07uint32Baud Rate
0x08uint8Parity
0x09uint8Encryption Function
0x0A[uint8]Encryption Key
0x0B[uint8]Header / Handle name
0x0Cuint16Delimiter Character
0xFFuint8Error

0x00: Application ID

Specifies the application ID.

0x01: Frequency Channel Mask

Specifies the bit mask of frequency channels.

Set bits for channels to be used. For example, to use channel 11, specify 1<<11.

0x02: Retry Count and Output

Specifies the radio transmission output and the number of additional packet transmissions in transparent mode and header-attached transparent mode.

Only the lower 1 byte is used. The upper 4 bits represent the retry count (0-9), and the lower 4 bits represent the transmission output (0-3). For example, 8 retries / output 3 is 0x0083.

0x03: Logical Device ID

Specifies the logical device ID.

0x04: Role

Effective only for slave devices. Specify one of the following values. Normally, select a delivery method that does not use the network layer.

Delivery Methods Without Network Layer

  • 0: Normal designation (parent or child device)
  • 1-3: Relay slave devices (logical device IDs are 1-100 or 120). Numbers 1-3 indicate the maximum relay hop count. This method retransmits up to the maximum relay hops, which may cause duplicate packets depending on relay device placement and count.

Delivery Methods Using Network Layer

  • 11: Parent device
  • 12: Relay device
  • 13: Child device

0x05: Relay Layer

The relay layer number. Relay devices attempt to connect to relay devices or parent devices in upper (smaller value) relay layers. Effective only when Role is set to 12.

0x06: Communication Mode

  • 0: Transparent mode
  • 1: Format mode (ASCII)
  • 2: Format mode (Binary)
  • 3: Chat mode
  • 4: Header-attached transparent mode

0x07: Baud Rate

Specifies the UART baud rate.

0x08: Parity

Specifies the sum of settings in the following combination:

  • Bit
    • 0: 8Bit
    • 8: 7Bit
  • Parity
    • 0: None
    • 1: Odd
    • 2: Even
  • Stop
    • 0: STOP 1
    • 4: STOP 2

For example, 7-E-1 is specified as 8+2+0=10(0xA).

0x09: Encryption Function

Specifies whether encryption is enabled.

  • 0: Disabled
  • 1: AES128bit encryption enabled

0x0A: Encryption Key

Specifies a 16-byte encryption key.

Can store binary sequences that cannot be set in Interactive Mode. This may cause display issues in Interactive Mode.

0x0B: Header / Handle name

Specifies a header format on the mode E or handle name on the mode C.

0x0C: Delimiter Character

Specifies the delimiter character (0x00-0xFF).