Changes

2,449 bytes added ,  09:43, 26 September 2023
m
no edit summary
Line 35: Line 35:  
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |camreq:
 
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |camreq:
 
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |<file_type>,<file_source>,<timestamp>,<duration>
 
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |<file_type>,<file_source>,<timestamp>,<duration>
,<domain>,<port>
+
,<domain>,<port>,<u><resolution>(Only applied to photos)</u>
| rowspan="1" style="text-align: left; style=" width: 150px; background: white; color: black;" |Captures appropriate file with the provided details. If the connection to server is opened, them files immediately become available for download. If not, then connection is tried to be made. If <domain> and <port> parameters are included, the device will send footage of the command to that address.
+
| rowspan="1" style="text-align: left; style=" width: 150px; background: white; color: black;" |Captures appropriate file with the provided details. If the connection to server is opened, them files immediately become available for download. If not, then the connection is tried to be made. <br>If <b><domain></b> and <b><port></b> parameters are included, the device will send footage of the command to that address.<br>
 +
If <b><resolution></b> parameter is included when requesting a photo, the device will send the photo with the selected resolution.
 +
<br><b>Please note,</b> that if the resolution parameter is not included in the SMS/GPRS command, the device will request a photo with configured resolution.
 
|}
 
|}
 
The arguments are as follows:
 
The arguments are as follows:
Line 43: Line 45:  
**0 - Video
 
**0 - Video
 
**1 - Photo
 
**1 - Photo
 +
 
*<file_source>
 
*<file_source>
 
**1 - Front camera
 
**1 - Front camera
 
**2 - Rear camera
 
**2 - Rear camera
 
**3 - Both cameras
 
**3 - Both cameras
 +
 
*<timestamp>
 
*<timestamp>
 
**Unix timestamps in decimal (not required for photo download)
 
**Unix timestamps in decimal (not required for photo download)
 +
 
*<duration>
 
*<duration>
 
**Video duration in seconds from provided timestamps (not required for photo download), (max 30 sec)
 
**Video duration in seconds from provided timestamps (not required for photo download), (max 30 sec)
 +
 +
*<resolution> (<b>Only applied to photos</b>)
 +
**0 – Use the resolution provided in the configuration
 +
**1 – 160x120
 +
**2 – 320x240
 +
**3 – 640x480
 +
**4 – 1280x720
 +
**5 – 1920x1080
    
'''Structure examples:'''
 
'''Structure examples:'''
Line 62: Line 75:     
For example: camreq:0,1,1624960616,5,212.59.13.226,7160
 
For example: camreq:0,1,1624960616,5,212.59.13.226,7160
 +
 +
'''camreq:1,<file source>,<domain>,<port>,<resolution>'''
 +
 +
Upload with domain, port, and resolution provided by a request. Example: camreq:1,1,192.168.1.1,12345,4
 +
      Line 75: Line 93:       −
Video  request from source <1-3> for <1-255> seconds since YYYY-MM-DD  HH:MM:SS.
+
Video  request from source <1-3> for <1-30> seconds since YYYY-MM-DD  HH:MM:SS.
    
'''(If  video request)'''
 
'''(If  video request)'''
Line 146: Line 164:  
|}
 
|}
 
<br>
 
<br>
 +
 +
==Camera SD card format command==
 +
The following command will format the SD card of the selected camera, and return the status (success or fail) of the format SD card command.
 +
 +
{| class="wikitable"
 +
|+
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Command'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Arguments'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Explanation'''
 +
|-
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |camget_sdformat:
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |<cam id>
 +
| rowspan="1" style="text-align: left; style=" width: 150px; background: white; color: black;" |
 +
*1 – Front camera
 +
*2 – Rear camera
 +
|}
 +
Example: <b>camget_sdformat:1</b>
 +
 +
==Camera restart command==
 +
The following command will restart the selected camera, and return the status (success or fail) of the sent command
 +
 +
{| class="wikitable"
 +
|+
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Command'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Arguments'''
 +
! rowspan="1" style="width: 400px; background: #0054A6; color: white;" |'''Explanation'''
 +
|-
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |camget_restart:
 +
| rowspan="1" style="text-align: center; style=" width: 150px; background: white; color: black;" |<cam id>
 +
| rowspan="1" style="text-align: left; style=" width: 150px; background: white; color: black;" |
 +
*1 – Front camera
 +
*2 – Rear camera
 +
|}
 +
Example: <b>camget_restart:1</b>
 +
<br>
 +
 +
 +
[[Category:Teltonika DualCam]]