Schedule Private Mode via API call - 0x0109
Enabling or disabling Private Mode via API call
Table of Contents
Applies to:
Device | Firmware Version |
Dart3-4G Bluetooth®* | v1.5+ firmware |
*Additional compatible devices will be added in due course.
Before you start
Ensure you have reviewed:
A full list of API calls can be found at: https://api.oemserver.com/swagger/index.html.
Description
This call implements setting a schedule to enable or disable Private Mode.
Payload
The Async message can be used to enable or disable Private Mode for a certain timeframe.
Offset |
Length |
Data Type |
Description |
0 |
1 |
BYTE |
b0 = Private Mode On(1) / Off(0) |
1 |
4 |
UINT32 |
DM Datum Start Time |
5 |
4 |
UINT32 |
DM Datum End Time |
The example below demonstrates enabling Private Mode from 2024-12-02T07:43:32.000Z to 2024-12-03T07:43:32.000Z.
Note UTC 2024-12-02 07:43:32 in DM Datum seconds is 376127012 and UTC 2024-12-03 07:43:32 is 376213412.
These have been converted to bytes in following example:
{
"MessageType": 265,
"CANAddress": 4294967295,
"Data": [1,36,62,107,22,164,143,108,22],
"ExpiryDateUTC":"2025-04-19T17:00:00.511Z"
}