A Command line interface for ACTIONPRO X7 to configure the WiFi settings from the command line.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
JayPiKay 171db992b7 Updated version number 1 month ago
.gitignore Inital Commit 1 month ago
LICENSE Initial commit 1 month ago
Makefile Inital Commit 1 month ago
README.md Finished README 1 month ago
config.def.h Inital Commit 1 month ago
config.mk Inital Commit 1 month ago
main.c Updated version number 1 month ago
usbms.c Using uint8_t for buffers instead of char 1 month ago
usbms.h Using uint8_t for buffers instead of char 1 month ago
xusb.c Inital Commit 1 month ago
xusb.h Inital Commit 1 month ago

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.

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