This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:format:resource [20/01/2018 09:15] stan [Resources] |
en:sidebar:remoteapi:apiref:format:resource [12/08/2020 14:09] mani [Drivers] |
||
---|---|---|---|
Line 14: | Line 14: | ||
| [[#Billing|0x00000004]] | 4 | billing properties | | | [[#Billing|0x00000004]] | 4 | billing properties | | ||
| [[#Custom fields|0x00000008]] | 8 | custom fields | | | [[#Custom fields|0x00000008]] | 8 | custom fields | | ||
- | | [[#Сообщения|0x00000020]] | 32 | messages | | + | | [[#Messages|0x00000020]] | 32 | messages | |
| [[#GUID|0x00000040]] | 64 | GUID | | | [[#GUID|0x00000040]] | 64 | GUID | | ||
| [[#Administrative fields|0x00000080]] | 128 | administrative fields | | | [[#Administrative fields|0x00000080]] | 128 | administrative fields | | ||
Line 104: | Line 104: | ||
</code> | </code> | ||
+ | |||
+ | ===== Messages ===== | ||
+ | |||
+ | Flag - 0<nowiki>x</nowiki>00000020 | ||
+ | |||
+ | After setting this flag you can receive resource messages. | ||
+ | <code=javascript> | ||
+ | {} | ||
+ | </code> | ||
===== GUID ===== | ===== GUID ===== | ||
Line 170: | Line 179: | ||
"uir": <uint>, /* duration of required rest */ | "uir": <uint>, /* duration of required rest */ | ||
"ddt": <uint>, /* daily driving time before the current activity */ | "ddt": <uint>, /* daily driving time before the current activity */ | ||
+ | "dbt": <uint>, /* start time of daytime activity */ | ||
"ddc": <uint>, /* allowed number of prolonged daily driving in this week */ | "ddc": <uint>, /* allowed number of prolonged daily driving in this week */ | ||
"ddil": <uint>, /* allowed duration of daily driving */ | "ddil": <uint>, /* allowed duration of daily driving */ | ||
Line 487: | Line 497: | ||
"bt": <uint>, /* last binding/unbinding time */ | "bt": <uint>, /* last binding/unbinding time */ | ||
"tz": <int>, /* time zone */ | "tz": <int>, /* time zone */ | ||
+ | "art": <int>, /* automatic time unbinding */ | ||
"pos": { /* position */ | "pos": { /* position */ | ||
"y": <double>, /* latitude */ | "y": <double>, /* latitude */ |
|