Jump to content

DSM SMS commands: Difference between revisions

From Teltonika Telematics Wiki
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 21: Line 21:
<file_source>
<file_source>


* 4 – DSM (hardcoded). 0 is reserved for MDAS; 1, 2 and 3 are reserved for DualCam project;
* 4 – DSM (hardcoded). 0 is reserved for ADAS; 1, 2 and 3 are reserved for DualCam project;


<domain>
<domain>
Line 63: Line 63:
For possible field values refer to I/O elements or the DSM protocol description.
For possible field values refer to I/O elements or the DSM protocol description.


= File upload procedure =
=== DSM SD card forrmat command ===
When video/snapshot file is requested via SMS/GPRS command firstly the device checks if it has SD card inserted and if it has the requested video/snapshot in the SD card. The file is present, file upload is immediately triggered, otherwise the device checks if DSM camera is connected to FMX6yz and tries to download the file – file upload to the server starts only after the file was saved to FMXs SD card.
This command is used to format the DSM SD card. To use this command, your FMC650 firmware must be at least 03.01.00.Rev.22.ID_1111.
{| class="wikitable"
|'''Command'''
|'''Arguments'''
|'''Explanation'''
|-
|dsm_sdformat
|None
|Used to format camera's SD card
|}


[[Category: DSM]]
[[Category: DSM]]

Latest revision as of 13:49, 19 August 2025

Main Page > Video Solutions > DSM > DSM SMS commands

Camera SMS commands

Command Arguments Explanation
dsm_camreq: <file_type>, <file_source>, <domain>,<port> Captures appropriate file with the provided details. If the connection to server is opened, then files immediately become available for download. If not, then the connection is tried to be made.

If <domain> and <port> parameters are included, the device will send footage of the command to that address.

The arguments are as follows:

<file_type>

  • 2 – Current snapshot;

<file_source>

  • 4 – DSM (hardcoded). 0 is reserved for ADAS; 1, 2 and 3 are reserved for DualCam project;

<domain>

  • Optional – domain to where file has to be sent;

<port>

  • Only required if domain is used.

Examples:

dsm_camreq:2,0,132.145.51.134,3333 – request current snapshot from camera and upload to 132.145.51.134 server with 3333 port.

General camera information

This command sends general information retrieved from the camera.

Command Arguments Explanation
dsm_getinfo None Used to get general camera information

The response message structure is as follows:

Date: <date>,FW:<version>,Err:<error_code>,Rec:<rec_status>,GPS:<lat>|<lon>|<gps_status>,Event:<active_event>|<g_sensor_event>,State:<camera_state>

Here:

  • <date> – date and time extracted from the camera in the following format: <YYYY>.<MM>.<DD> <hh>:<mm>:<ss>
  • <version> – camera FW version in the following format: <major>.<minor>.<build>
  • <error_code> – camera error code
  • <rec_status> – recording status
  • <lat>, <lon> – GPS coordinates (4 decimal places precision); <gps_status> – GPS status
  • <active_event> – active event(s) mask detected by the camera; <g_sensor_event> – g-sensor active flag
  • <camera_state> – current working state (from the device)

For possible field values refer to I/O elements or the DSM protocol description.

DSM SD card forrmat command

This command is used to format the DSM SD card. To use this command, your FMC650 firmware must be at least 03.01.00.Rev.22.ID_1111.

Command Arguments Explanation
dsm_sdformat None Used to format camera's SD card