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 revisionLast revisionBoth sides next revision | ||
doc:appunti:hardware:sjcam-8pro-ambarella-wifi-api [2022/05/07 09:11] – [Executing API commands at bootstrap] niccolo | doc:appunti:hardware:sjcam-8pro-ambarella-wifi-api [2023/06/14 14:21] – [Ambarella msg_id Codes] 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 128: | Line 128: | ||
== AMBA_GET_SINGLE_SETTING_OPTIONS == | == AMBA_GET_SINGLE_SETTING_OPTIONS == | ||
- | Enumerate all the possible values for one setting: | + | Enumerate all the possible values for LCD Off Time setting: |
< | < | ||
Line 134: | Line 134: | ||
RECV: {" | RECV: {" | ||
" | " | ||
+ | </ | ||
+ | |||
+ | Enumerate all the possible values for Resolution setting: | ||
+ | |||
+ | < | ||
+ | SEND: {" | ||
+ | RECV: {" | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
</ | </ | ||
Line 150: | Line 168: | ||
SEND: {" | SEND: {" | ||
RECV: {" | RECV: {" | ||
+ | </ | ||
+ | |||
+ | Set the video mode: | ||
+ | |||
+ | < | ||
+ | SEND: {" | ||
+ | RECV: {" | ||
+ | </ | ||
+ | |||
+ | Set the camera mode to normal record: | ||
+ | |||
+ | < | ||
+ | SEND: {" | ||
+ | RECV: {" | ||
</ | </ | ||
Line 254: | Line 286: | ||
===== 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:// | ||
doc/appunti/hardware/sjcam-8pro-ambarella-wifi-api.txt · Last modified: 2023/06/16 10:18 by niccolo