diff --git a/home.md b/home.md index b1176a0..a7dad24 100644 --- a/home.md +++ b/home.md @@ -28,7 +28,7 @@ A reply will look like this: `` is additional data the command returned (see below). # Status codes -```cpp +```c enum OmobiDisplayStatusCode { Success = 200, @@ -40,7 +40,7 @@ enum OmobiDisplayStatusCode ``` # Text set parameters -```cpp +```c enum DisplayTextSetParameter { TextParameter = 0, @@ -57,7 +57,7 @@ enum DisplayTextSetParameter ``` # Display controller error -```cpp +```c enum GetSetTextSetParameterExitCode { Success, @@ -76,7 +76,7 @@ enum GetSetTextSetParameterExitCode Command to initially authenticate with the display. This is requited in order to execute any other command (except keep alive). #### Request data -``` +```json { "secret": "" } @@ -123,7 +123,7 @@ Command to get the current brightness of the display. #### Request data `null` #### Reply data -``` +```json { "displayBrightness": } @@ -134,7 +134,7 @@ Command to get the current brightness of the display. ### `20` - Set text set parameter Command to set a single parameter of a single set. To create a new text set, just edit its index. #### Request data -``` +```json { "index":, "parameter":, @@ -147,7 +147,7 @@ Command to set a single parameter of a single set. To create a new text set, jus ### `21` - Set display brightness Command to set the current brightness of the display #### Request data -``` +```json { "displayBrightness": } @@ -159,7 +159,7 @@ Command to set the current brightness of the display ### `22` - Set display code Command to modify the code of the display that is used for authentication (see `0`). #### Request data -``` +```json { "displayCode":"" } @@ -172,7 +172,7 @@ Command to modify the name of the display #### Specialties This command requires the display (and some clients) to be rebooted in order to take effect. #### Request data -``` +```json { "displayName":"