Streamax protocol

Protocol used by MDVR devices manufactured by Streamax headquartered in China.
flespi parses the Streamax protocol messages into a JSON object with the fields listed below in the Parameters tab.

To connect your tracker using the Streamax protocol, you need to have a streamax channel created first.

Point your tracker to the channel's domain name:port via SMS or configuration tool provided by the vendor.

Then create a device instance for your tracker and use a 15-character IMEI (usually specified on the tracker casing) in the ident field.

Use the Toolbox tab on the device screen to check if the messages are coming.

It is possible to configure Streamax devices OTA using the flespi web-based configurator tool. To connect Streamax to Wialon or another platform via flespi please read this article.

accident.event
boolean
Accident event detected
OPERATION SENDALARMINFO ALARMTYPE 18
alarm.panic.status
boolean
Panic alarm event occured
OPERATION UPDATEIOSTATUS
alarm.subtype
number
Alarm sub-type
OPERATION SENDALARMINFO
alarm.type
number
Alarm type
OPERATION SENDALARMINFO
can.engine.coolant.temperature
number
celsius
Engine coolant temperature read from CAN
CSRC 2
can.engine.rpm
number
rpm
Engine RPM read from CAN
CSRC 2
can.engine.temperature
number
celsius
Engine temperature read from CAN
CSRC 2
can.fuel.consumed
number
liters
Fuel volume totally consumed by vehicle read from CAN
CSRC 2
can.fuel.volume
number
liters
CAN fuel volume
CSRC 2
can.vehicle.mileage
number
km
Total vehicle mileage read from CAN
CSRC 2
can.vehicle.speed
number
km/h
Vehicle speed read from CAN
CSRC 2
channel.id
number
ID of channel that received a message
crash.direction.enum
number
Crash direction - front, rear, left, right etc.
OPERATION SENDALARMINFO ALARMTYPE 18
crash.event
boolean
Crash event detected
OPERATION SENDALARMINFO ALARMTYPE 18
device.id
number
ID of device that received a message
device.name
string
Name of device that received a message
device.temperature
number
celsius
Temperature of device
OPERATION SPI
device.type.id
number
ID of device type of device that received a message
driver.alarm.type
string
Alarm description related to driver
OPERATION SENDALARMINFO ALARMTYPE 56
driver.card.id
string
Driver card number
CSRC 2
driver.physical.card.id
string
Driver physical card number
CSRC 2
drum.direction
string
Drum direction
CSRC 2
drum.rotation.speed
number
Drum rotation speed
CSRC 2
engine.ignition.status
boolean
Engine ignition or ACC status
CSRC 2,
OPERATION SPI,
OPERATION UPDATEIOSTATUS
event.code
string
Protocol-specific event code string
OPERATION SENDALARMINFO ALARMTYPE 0,
OPERATION SENDALARMINFO ALARMTYPE 1,
OPERATION SENDALARMINFO ALARMTYPE 18,
OPERATION SENDALARMINFO ALARMTYPE 8
event.seqnum
number
Unique event sequence number
OPERATION SENDALARMINFO
event.uuid
string
Event UUID
OPERATION SENDALARMINFO
expanded.data
string
Expanded data HEX encoded payload
CSRC 2
fatigue.driving.status
boolean
Fatigue driving
OPERATION SENDALARMINFO ALARMTYPE 56
gnss.status
boolean
GNSS receiver on/off status
CSRC 2
gsm.signal.level
number
percentage
Mobile network (GSM, 3G, 4G, LTE, 5G, ...) signal strength level
OPERATION SPI
gsm.state.enum
number
Mobile network module state
OPERATION SPI
harsh.acceleration.event
boolean
Harsh acceleration detected
OPERATION SENDALARMINFO ALARMTYPE 18
harsh.braking.event
boolean
Harsh braking detected
OPERATION SENDALARMINFO ALARMTYPE 18
harsh.turn.left.event
boolean
Harsh left turn detected
OPERATION SENDALARMINFO ALARMTYPE 18
harsh.turn.right.event
boolean
Harsh right turn detected,
OPERATION SENDALARMINFO ALARMTYPE 18
ident
string
Device unique identifier like serial number, IMEI, etc
image.bin.jpeg
string
Image binary data in JPEG format, base64 encoded
image.timestamp
number
seconds
Timestamp when image was taken
io.enable.bitmask
number
Io enable is expressed in bits. A bit value of 0 means close, 1 means open.
CSRC 2
io.level.bitmask
number
IO Trigger mode within IO level mode, bit value 0 indicates low level trigger, 1 indicates high level trigger.
CSRC 2
io.mode.bitmask
number
The IO trigger mode is represented by bits. A bit value of 0 indicates level triggering and a 1 indicates pulse trigger.
CSRC 2
io.state.bitmask
number
The IO status is represented by a bit, where a bit value of 0 indicates a low state and 1 indicates a high state.
CSRC 2
media
boolean
Message contain media file
media.image
object
Image file in media storage
media.video
object
Video file in media storage
message.buffered.status
boolean
Black box message
CSRC 2
message.detail
string
Message detail
OPERATION SENDALARMINFO
message.type
string
Message type
OPERATION SENDALARMINFO
network.type
string
Network connection type
OPERATION UPDATENETTYPE
operation.errorcause
string
Operation ERRORCAUSE
OPERATION UPUPGRADESTATUS
operation.errorcode
number
Operation ERRORCODE
OPERATION UPUPGRADESTATUS
overspeeding.event
boolean
Overspeeding detected
OPERATION SENDALARMINFO ALARMTYPE 8
peer
string
IP:port from which device connecting to the channel
position.altitude
number
meters
Altitude value for position
CSRC 2
position.direction
number
degrees
Heading angle at position detection moment
CSRC 2,
OPERATION SENDALARMINFO,
OPERATION SPI
position.latitude
number
degrees
Latitude coordinate value
CSRC 2,
OPERATION SENDALARMINFO,
OPERATION SPI
position.longitude
number
degrees
Longitude coordinate value
CSRC 2,
OPERATION SENDALARMINFO,
OPERATION SPI
position.speed
number
km/h
Instant speed at position detection moment
CSRC 2,
OPERATION SENDALARMINFO,
OPERATION SPI
position.timestamp
number
seconds
Timestamp when coordinates where calculated
OPERATION SENDALARMINFO,
OPERATION SPI
position.valid
boolean
Is position information accurate and valid for given timestamp
CSRC 2,
OPERATION SENDALARMINFO,
OPERATION SPI
power.cut.alarm
boolean
External power cut-off alarm event
OPERATION SENDALARMINFO ALARMTYPE 38
protocol.id
number
ID of protocol
report.code
string
Report code
OPERATION SENDALARMINFO
report.reason
number
Transmission reason code
OPERATION SENDALARMINFO
rollover.event
boolean
Roll over event detected
OPERATION SENDALARMINFO ALARMTYPE 18
segment.vehicle.mileage
number
km
Segment mileage
CSRC 2
server.timestamp
number
seconds
Timestamp when server received a message
storage.error.code
string
Storage error code
OPERATION SENDALARMINFO ALARMTYPE 3
storage.id
number
Storage index
OPERATION SENDALARMINFO ALARMTYPE 3
storage.type.id
number
Storage type enum id
OPERATION SENDALARMINFO ALARMTYPE 3
timestamp
number
seconds
Message timestamp
CSRC 2,
OPERATION SENDALARMINFO
vehicle.mileage
number
km
Total calculated mileage
CSRC 2,
OPERATION SPI
video.channel.bitmask
number
Video stream channel mask. 1 indicates that the channel's alarm is valid, otherwise it is invalid
OPERATION SENDALARMINFO ALARMTYPE 0
video.loss.event
boolean
Video loss alarm event
OPERATION SENDALARMINFO ALARMTYPE 0,
OPERATION SENDALARMINFO ALARMTYPE 1
wash.status
boolean
Wash I/O status
CSRC 2
water.value
number
liters
Water added value
CSRC 2
wifi.module.status
boolean
Wi-Fi module status
OPERATION SPI
wifi.signal.level
number
percentage
WiFi signal level, percentage
OPERATION SPI
x.acceleration
number
g
Accelerometer value X
CSRC 2
x.acceleration.angle
number
X axis angle data
CSRC 2
y.acceleration
number
g
Accelerometer value Y
CSRC 2
y.acceleration.angle
number
Y axis angle data
CSRC 2
z.acceleration
number
g
Accelerometer value Z
CSRC 2
z.acceleration.angle
number
Z axis angle data
CSRC 2
Properties
Custom
custom
Send custom command with json payload
payload: JSON formatted payload
Get all the version information of the device
{"payload":"{\"MODULE\":\"DEVEMM\",\"OPERATION\":\"GETDEVALLVERSIONS\"}"}
Custom command defined by operation and module fields
directive
JSON strucutre will be formed and Session field will be added automatically
module: MODULE field
wait_ack: Wait ACK
operation: OPERATION field
parameter: PARAMETER field
Acquire UTC of the current equipment
{"module":"DEVEMM","operation":"GETCTRLUTC"}
Request Video
request_video
Request Video
from: Time From
channel: Camera Channel
duration: Duration
streamtype: Stream Type
Start Videostream
start_videostream
Start Videostream
audio: Audio
channel: Camera Channel
streamtype: Stream Type
mediastream: Mediastream Type
Take a photo
take_photo
Take a photo
channel: Camera Channel
streamtype: Stream Type