continuous-integration/drone/push Build is passing
Details
continuous-integration/drone Build is passing
Details
|
||
---|---|---|
.drone.yml | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
config.def.h | ||
config.mk | ||
main.c | ||
usbms.c | ||
usbms.h | ||
xusb.c | ||
xusb.h |
README.md
Actionpro-cli
A Command line interface for ACTIONPRO X7 to configure the WiFi settings from the command line.
The ACTIONPRO X7 was produced by CI IMAGEWEAR GmbH and is by now end of life and now longer supported. There was a Windows program called Action Manager, which allowed Windows users to configure their action camera, or reset the credetials, if the credentials were forgotten.
This project uses parts of the xusb.c example program provided by the libusb project.
This program is a result of my work on reverse engineering the Action Manager, the write up of this project can be found on goatpr0n.farm.
Build Status
Requirements
Libraries:
- libusb-1.0
To access usb devices, root access is often required.
Compiling
$ make config.h
$ $EDITOR config.h
$ make
Config Options
Adjust settings in config.h
before running make to apply changes.
The file config.h
is created when running make
, or by explicitly running make config.h
.
If the file config.h
does not exist while running make, the defaults are copied from config.def.h
.
Options
RETRY_MAX
(Default 5) - Number of retries for sending a mass storage command.
Options
Usage: ./actionpro [OPTION]
-C, --config-file=FILE use this user configuration file
-h, --help give this help list
-p, --password=PASSWORD sets the access point authentication PASSWORD
-s, --ssid=SSID sets the access point SSID
-t, --time synchronize the camera time
-v, --version display version number
Executing
To update the SSID to "newssid" and set the access point password of the cameras access to "newpassword":
$ ./actionpro -s newssid -p newpassword