Uplink Data

This chapter describes the reported data of the device.

Basic Information

The device will report a basic information packet whenever joining the network.

Item Channel Type Byte Description
Power On ff 0b 1 Device is on
Protocol Version ff 01 1 Example: 01=V1
Hardware Version ff 09 2 Example: 03 10 = V3.1
Software Version ff 0a 2 Example: 03 01 = V3.1
Device Type ff 0f 1

00: Class A, 01: Class B, 02: Class C

Serial Number ff 08 6 12 digits
Example:
ff0bff ff0101 ff086538b2232131 ff090100 ff0a0102 ff0f00
Channel Type Value
ff 0b Power On: ff
ff 01 Protocol Version: 01=V1
ff 08 Serial Number: 6538b2232131
ff 09 Hardware Version: 0100=V1.0
ff 0a Software Version: 0102=V1.2
ff 0f 00: Class A

Button Message

WS101 reports button message when button is pressed.

Channel Type Byte Description
ff 2e 1

01: Mode 1(short press)

02: Mode 2 (long press)

03: Mode 3 (double press)

Example:
ff2e01
Channel Type Value
ff 2e 01 => short press

Battery Level Report

The device reports battery level according to reporting interval. Besides, when battery level drops to 1%, it will upload battery packet once.

Channel Type Byte Description
01 75 1 UINT8, Unit: %
Example:
017564
Channel Type Value
01 75 64 => 100%