Jump to content

DSM Communication Protocol: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
==Server side configuration source code==
Together with the communication protocol, this server side source code can be downloaded and implemented upon personal servers for the ease of use and configuration, please see index.js, debug.js and protocol.js which can be copied into the server.
Server files & source code can be downloaded [https://drive.teltonika.lt/f/b6297be749744c18be41/?dl=1 here].
Please see index.js, debug.js and protocol.js files. These files contain required support for camera downloads and they can be inserted straight into server. The folder can also be run as server and will work with file downloads, so if personal server is not available, there is always a possibility to use this default server.
[[File:Server123.png|center]]
All that is required is an open Port on the computer and that port has to be written in run_server.bat file. Also by clicking on Readme file, you will be able to see the settings which you can enter into that run_server.bat file by right clicking the mouse button on it and choosing edit option. These settings include choices like DualCam download, ADAS file download or Auto mode, Metadata inclusion and etc.
[[File:Server edit.png|center]]
In this case, Notepad++ is chosen but you can choose any text editor in order to update the file.


== File upload procedure ==
== File upload procedure ==
0

edits