-
Notifications
You must be signed in to change notification settings - Fork 51
BLE Commands
Commands are sent to Tags using characteristic reads and writes. Communication is encrypted, but SmartThings handles all the required encryption and decryption. Encryption & decryption of commands is out of scope for uTag for this reason.
Below are a list of commands, with request payloads and responses where applicable.
All Characteristics are on the control service (UUID 0000FD5A-0000-1000-8000-00805F9B34FB).
DEE30004-182D-5496-B1AD-14F216324184
| Payload | Battery level |
|---|---|
00 |
Very Low |
01 |
Low |
02 |
Medium |
03 |
Full |
DEE30001-182D-5496-B1AD-14F216324184
| Payload | Ringing |
|---|---|
00 |
Disabled |
01 |
Enabled |
DEE30002-182D-5496-B1AD-14F216324184
| Payload | Ring Level |
|---|---|
01 |
Low |
02 |
High |
DEE30002-182D-5496-B1AD-14F216324184
| Payload | Ring Level |
|---|---|
01 |
Low |
02 |
High |
DEE30007-182D-5496-B1AD-14F216324184
| Payload | State |
|---|---|
00 |
Disabled |
01 |
Enabled |
DEE30007-182D-5496-B1AD-14F216324184
| Payload | State |
|---|---|
00 |
Disabled |
01 |
Enabled |
Note: You must also set the E2E flag on the server, or location updates from other Samsung devices will fail.
DEE30008-182D-5496-B1AD-14F216324184
| Payload | State |
|---|---|
00 |
Disabled |
01 |
Enabled |
DEE30009-182D-5496-B1AD-14F216324184
The payload for configuring UWB is complex and should only be generated by an app. See UwbConfig for an example.
DEE30003-182D-5496-B1AD-14F216324184
| Payload | State |
|---|---|
0000 |
Press Disabled |
0001 |
Press Enabled |
0100 |
Hold Disabled |
0101 |
Hold Enabled |
Note: Commands for setting the press state and hold state must be sent separately
DEE3001F-182D-5496-B1AD-14F216324184
| Payload | Ring Level |
|---|---|
00 |
Muted |
01 |
Low |
02 |
High |
DEE3001B-182D-5496-B1AD-14F216324184
Hex encoded String of URL