PiShock Serial API Documentation

Introduction

The PiShock Serial API allows you to communicate with the PiShock device using serial communication. This documentation provides an overview of the available commands, their parameters, and the expected responses.

Communication Protocol

The PiShock Serial API uses a json. Each command is sent as a json string formated as following.


Command List

1. Command 1

Command: command1 [parameter1] [parameter2]

Description: This command does something.

Parameters:

Response: The response message indicating the status of the command execution.

2. Command 2

Command: command2 [parameter1]

Description: This command does something else.

Parameters:

Response: The response message indicating the status of the command execution.