Skip to content

Commit

Permalink
doc updates for C5 commands
Browse files Browse the repository at this point in the history
  • Loading branch information
emarsman committed Apr 26, 2016
1 parent b200700 commit 6ef073e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
OpenXC Python Library Changelog
===============================

v0.13.0
----------

* Feature: Support for new C5 Cellular, SD, and RTC commands

v0.12.0
-----------

Expand Down
30 changes: 30 additions & 0 deletions docs/tools/control.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,21 @@ Change the payload format to Protocol Buffers, then back to JSON:
$ openxc-control set --new-payload-format json
$ openxc-control set --new-payload-format protobuf
Change the time for the RTC unit on the C5 devices:

.. code-block:: bash
$ openxc-control set --time 1461545558
Set the host and port for the C5 Cellular device

.. code-block:: bash
$ openxc-control set --host www.server.com --port 80
This will return true when successful. If host is supplied, but not port,
port will default to 80.

------
write
------
Expand Down Expand Up @@ -96,6 +111,21 @@ a message with a lower ID using the extended frame format, you can use the
must allow writing the specific message that you request with
``openxc-control``.


---------------
sd_mount_status
---------------

This queries the device to see if the SD card is mounted correctly.

.. code-block:: bash
$ openxc-control sd_mount_status
This will return 'True' if the SD card is available for writing. Otherwise, it will return 'False'.



Command-line options
====================

Expand Down

0 comments on commit 6ef073e

Please sign in to comment.