Xiaoan-tech protocol

Protocol used by smart GPS devices manufactured by Xiaoan Technology headquartered in China.
flespi parses the Xiaoan-tech protocol messages into a JSON object with the fields listed below in the Parameters tab.

To connect your tracker using the Xiaoan Tech protocol, you need to have a xiaoan-tech 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 Logs & Messages tab on the device screen to check if the messages are coming.

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

alarm.code
number
Protocol-specific alarm code number
battery.connected.status
boolean
Internal battery is connected
battery.voltage
number
volts
Internal battery voltage
buzzer.alarm.status
boolean
Buzzer alarm status
channel.id
number
ID of channel that received a message
defense.active.status
boolean
Defense activated status
device.firmware.version
string
Firmware revision
device.id
number
ID of device that received a message
device.name
string
Name of device that received a message
device.type.id
number
ID of device type of device that received a message
eco.mode.status
boolean
Eco mode status
engine.ignition.status
boolean
Engine ignition status
event.code
string
Protocol-specific event code string
event.enum
number
Protocol-specific event code
event.seqnum
number
Unique event sequence number
gsm.signal.dbm
number
dbm
Strength of GSM signal
gsm.signal.level
number
percentage
GSM signal strength level
gsm.sim.imsi
string
IMSI of SIM card
hardware.version.enum
number
Hardware version enum
ident
string
Device unique identifier like serial number, IMEI, etc
lock.status
boolean
Lock status
movement.event
boolean
Movement detected
movement.status
boolean
Current movement state
overspeeding.status
boolean
Overspeeding detected
peer
string
IP:port from which device connecting to the channel
position.direction
number
degrees
Heading angle at position detection moment
position.hdop
number
Horizontal dilution of precision
position.latitude
number
degrees
Latitude coordinate value
position.longitude
number
degrees
Longitude coordinate value
position.satellites
number
Quantity of satellites used to calculate coordinates for given position information
position.speed
number
km/h
Instant speed at position detection moment
position.valid
boolean
Is position information accurate and valid for given timestamp
power.on.status
boolean
Power-on device status
protocol.id
number
ID of protocol
seat.lock.status
boolean
Seat lock status
server.timestamp
number
seconds
Timestamp when server received a message
sleep.mode.status
boolean
Device is in sleep mode
timestamp
number
seconds
Message timestamp
vehicle.mileage
number
km
Total calculated mileage
wheel.lock.status
boolean
Wheel lock status
wheel.spaned.status
boolean
Wheel spaned status
Properties
Custom command
custom
Send custom CMD_WILD command
payload: Command payload
Set defend status
{"payload":"{\"c\":4,\"param\":{\"defend\":1}}"}