Skip to content

36: Device Time ​

Device time information, if known. Currently the best available time will be provided. Moving forward we will be able to provide different times (GPS, GSM etc.)

FieldNameDescriptionType
5MethodRequest a service to be perform an action
Possible values:
  • 1: SET— Set one or more values that are provided in the message payload.
  • 2: GET— Get values for the associated message type.
  • 3: SUBSCRIBE— Subscribe to values for the associated message type. Can be used in conjunction with other header fields to define the subscription parameters, such as Interval, Duration, Timeout, Storage Level and Message Level. If no interval is provided, messages will be sent as and when new data is available. Some data, such as GPS position, may require a set interval to be provided.
  • 5: UNSUBSCRIBE— Unsubscribe from a previous subscription.
uint8
This is an extract of header fields that are relevant to this message type, you can find them all documented in the Headers section.

Payload ​

FieldNameDescriptionTypeUnit
1Unix TimeUnix timeuint32s since epoch
2YearYearuint16
3MonthMonthuint8
4DateDate in monthuint8
5WeekdayWeekday (0 = sunday, 1 = monday etc)uint8
6HourHouruint8
7MinuteMinuteuint8
8SecondSeconduint8

Examples ​

GET request for device time
Protocol
3
3
Length
200
20 bytes
Type
360
36 (Device Time)
Header Count
20
2
Header Types
51
5, 1
Method
12
2 (GET)
Message ID
495144132158
2659487839
Payload Count
00
0
Checksum
127117
30079
Device Time response
Protocol
03
3
Length
4800
48 bytes
Type
3600
36 (Device Time)
Header Count
0200
2
Header Types
0304
3, 4
Response to
0495144132158
2659487839
Status
0100
0 (OK)
Payload Count
0800
8
Payload Types
0102030405060708
1, 2, 3, 4, 5, 6, 7, 8
Unix Time
040182233104
2025-10-10 18:35:45 UTC
Year
0223307
2025
Month
0110
10
Date
0110
10
Weekday
0100
0
Hour
0118
18
Minute
0135
35
Second
0145
45
Checksum
131230
59011

Code ​

For convenience, the following constants can be used to reference this message type.