KETCube
|
This file contains shared definitions for the terminal (local and remote) More...
#include <stdlib.h>
#include <string.h>
#include "ketCube_common.h"
#include "ketCube_cfg.h"
#include "ketCube_module_id.h"
Go to the source code of this file.
Data Structures | |
struct | ketCube_terminal_command_flags_t |
KETCube terminal command flags. More... | |
union | ketCube_terminal_paramSet_t |
KETCube terminal command parameter container. More... | |
struct | ketCube_remoteTerminal_packet_header_t |
KETCube terminal packet header (common) More... | |
struct | ketCube_remoteTerminal_single_cmd_header_t |
KETCube terminal single command packet header. More... | |
struct | ketCube_remoteTerminal_batch_cmd_header_t |
KETCube terminal batch command packet header (header of each command in batch) More... | |
struct | ketCube_terminal_cmd_t |
KETCube terminal command definition. More... | |
Macros | |
#define | KETCUBE_TERMINAL_PARAM_STR_MAX_LENGTH 64 |
#define | KETCUBE_TERMINAL_PARAM_BYTE_ARRAY_MAX_LENGTH 32 |
Variables | |
ketCube_terminal_paramSet_t | commandIOParams |
ketCube_terminal_command_errorCode_t | commandErrorCode |
ketCube_terminal_cmd_t | ketCube_terminal_commands [] |
KETCube root terminal commands. More... | |
This file contains shared definitions for the terminal (local and remote)
Developed by: The SmartCampus Team Department of Technologies and Measurement www.smartcampus.cz | www.zcu.cz
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
#define KETCUBE_TERMINAL_PARAM_BYTE_ARRAY_MAX_LENGTH 32 |
#define KETCUBE_TERMINAL_PARAM_STR_MAX_LENGTH 64 |
KETCube terminal batch command packet header (header of each command in batch)
KETCube terminal packet header (common)
typedef struct ketCube_remoteTerminal_single_cmd_header_t ketCube_remoteTerminal_single_cmd_header_t |
KETCube terminal single command packet header.
typedef struct ketCube_terminal_cmd_t ketCube_terminal_cmd_t |
KETCube terminal command definition.
KETCube command "before execution" check outcomes enum.
KETCube terminal command possible error codes.
typedef struct ketCube_terminal_command_flags_t ketCube_terminal_command_flags_t |
KETCube terminal command flags.
Terminal opcodes.
typedef union ketCube_terminal_paramSet_t ketCube_terminal_paramSet_t |
KETCube terminal command parameter container.
KETCube terminal command parameter type definitions.
KETCube terminal command possible error codes.
KETCube terminal command parameter type definitions.
|
inlinestatic |
Returns and of flag(s) AND.
out | pointer to output flags |
in1 | pointer to input flags |
in2 | pointer to input flags |
|
inlinestatic |
Returns parameter length in bytes.
|
inlinestatic |
Returns parameter length in bytes.
|
inlinestatic |
Returns parameter count based on param set type.
|
extern |
KETCube root terminal commands.