VitroIO SDK
Software development kit for Vitro Shard.
Loading...
Searching...
No Matches
canbus_protocol_consts.h
Go to the documentation of this file.
1
#ifndef VITROIO_SDK_CANBUS_PROTOCOL_CONSTS_H
2
#define VITROIO_SDK_CANBUS_PROTOCOL_CONSTS_H
3
4
#define VITROIO_CANBUS_PROTOCOL_NODE_ID_OFFSET 11
5
#define VITROIO_CANBUS_PROTOCOL_NODE_ID_MASK 0x1FFFF800
6
#define VITROIO_CANBUS_PROTOCOL_PARAM_ID_OFFSET 0
7
#define VITROIO_CANBUS_PROTOCOL_PARAM_ID_MASK 0x7FF
8
9
#define VITROIO_CANBUS_PROTOCOL_BROADCAST_NODE_ID 0
10
11
#define VITROIO_RESERVED_PARAMID_UPPER_LIMIT 0x700
12
#define VITROIO_RESERVED_PARAMID_LOWER_LIMIT 0x100
13
14
15
#define VITROIO_PROTOCOL_NODE_ID_RES_PARAMID 0x00
16
#define VITROIO_PROTOCOL_NODE_ID_REQ_PARAMID 0x0A
17
#define VITROIO_PROTOCOL_UPG_REG_A_PARAMID 0x10
18
#define VITROIO_PROTOCOL_UPG_REG_B_PARAMID 0x20
19
#define VITROIO_PROTOCOL_FW_VER_PARAMID 0x30
20
#define VITROIO_PROTOCOL_PROVISIONING_SINGLE_REQ_PARAMID 0x49
21
#define VITROIO_PROTOCOL_PROVISIONING_REQ_PARAMID 0x50
22
#define VITROIO_PROTOCOL_PROVISIONING_RESP_PARAMID 0x51
23
#define VITROIO_PROTOCOL_EXTERNAL_FRAME 0x60
24
25
#define START_FRAME_PARAMETER_ID 0x7FF
26
#define TIMESTAMP_REQUEST_PARAMETER_ID 0x40
27
28
29
#endif
// VITROIO_SDK_CANBUS_PROTOCOL_CONSTS_H
Vitro-SDK-Lib
vitroio-sdk
communication
impl
canbus_protocol_consts.h
Generated by
1.9.5