Geofence (1 Hz, 2 byte)
Configuration file fields
This section is autogenerated from the Rule Schema.
GNSS geofence status (1000 ms) output.geofence
State output.geofence.state
Type |
Default |
Options |
---|---|---|
integer |
1 |
Disable: |
ID Format output.geofence.id_format
ID format of the message
Type |
Default |
Options |
---|---|---|
integer |
0 |
Standard (11-bit): |
Message ID (hex) output.geofence.id
ID of the message in hex. Example: 00435354.
Type |
Default |
---|---|
string |
01 |
Trigger method output.geofence.trigger
Transmission trigger method. Push: Signal is periodically transmitted. Poll: Signal is transmitted on request
Type |
Default |
Options |
---|---|---|
integer |
0 |
Push: |
Frame layout
Note
The frame layout is defined in the CANmod.gps DBC file
The geofence frame contains the state of each of the four possible geofences and a combined state.
Name |
Bitpos |
Length |
Factor |
Offset |
Min |
Max |
Unit |
---|---|---|---|---|---|---|---|
FenceValid |
0 |
1 |
1 |
0 |
0 |
1 |
|
FenceCombined |
1 |
2 |
1 |
0 |
0 |
1 |
|
Fence1 |
8 |
2 |
1 |
0 |
0 |
1 |
|
Fence2 |
10 |
2 |
1 |
0 |
0 |
1 |
|
Fence3 |
12 |
2 |
1 |
0 |
0 |
1 |
|
Fence4 |
14 |
2 |
1 |
0 |
0 |
1 |
FenceValid
The FenceValid signal can take one of the following values:
0: Invalid
1: Valid
FenceCombined, Fence1 .. Fence4
The signals can take one of the following values:
0: Unknown
1: Inside
2: Outside
The FenceCombined state is the logical OR combination of the active fences.