doc:appunti:hardware:sjcam-8pro-ambarella-wifi-api
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:sjcam-8pro-ambarella-wifi-api [2022/05/07 08:53] – [JSON Messages] niccolo | doc:appunti:hardware:sjcam-8pro-ambarella-wifi-api [2022/06/24 07:53] – [Using Python to call the API] niccolo | ||
---|---|---|---|
Line 5: | Line 5: | ||
The server on the camera accepts **only one client at a time**. When the camera is connected to a WiFi client on the controlling port 7878/TCP it will **ignore the Auto Power Off** setting and it remains active. | The server on the camera accepts **only one client at a time**. When the camera is connected to a WiFi client on the controlling port 7878/TCP it will **ignore the Auto Power Off** setting and it remains active. | ||
- | The protocol was at least partially **reversed engineered**. | + | The protocol was at least partially **reversed engineered**. |
See my other page about the SJCAM SJ8 Pro action camera: **[[sjcam-8pro]]**, | See my other page about the SJCAM SJ8 Pro action camera: **[[sjcam-8pro]]**, | ||
Line 254: | Line 254: | ||
===== Using Python to call the API ===== | ===== Using Python to call the API ===== | ||
+ | {{.: | ||
{{ .: | {{ .: | ||
I wrote same **Python scripts** to execute simple actions, like **start** and **stop recording**, | I wrote same **Python scripts** to execute simple actions, like **start** and **stop recording**, | ||
+ | On Android I installed also the **Termux: | ||
+ | |||
+ | In this **[[https:// | ||
Line 265: | Line 269: | ||
In this scenario the **RTOS** operating system on the camera uses the **telnet** command to talk to the **GNU/ | In this scenario the **RTOS** operating system on the camera uses the **telnet** command to talk to the **GNU/ | ||
- | I was able to **create a script** to select the Color Profile automatically at boot. Remember that, due a firmware bug, the color profile | + | I was able to **create a script** to select the Color Profile automatically at boot. Remember that, due a firmware bug, the color profile |
+ | |||
+ | **NOTICE**: I had written this script because I had customized the //SJCAM - Vivid// profile and I wanted to select it at bootstrap, while the camera starts with a default profile which at the time I did not know how to customize. Today BitrateEditor exposes also the default profile, so I can customize every profile and this script is now useless for me. | ||
Executing that script at camera startup is a rather convoluted process: | Executing that script at camera startup is a rather convoluted process: |
doc/appunti/hardware/sjcam-8pro-ambarella-wifi-api.txt · Last modified: 2023/06/16 10:18 by niccolo