KETCube
Typedefs | Functions
ketCube_remote_terminal.h File Reference

This file contains definitions for the remote terminal. More...

#include <stdarg.h>
#include <stdlib.h>
#include "ketCube_terminal_common.h"

Go to the source code of this file.

Typedefs

typedef ketCube_cfg_ModError_t(* ketCube_remoteTerminal_responseFnc_t) (uint8_t *, uint8_t *)
 

Functions

void ketCube_remoteTerminal_ProcessCMD (void)
 Interface function - process deferred command, if any. More...
 
int ketCube_remoteTerminal_deferCmd (char *bytes, int len, ketCube_remoteTerminal_responseFnc_t respFnc)
 Defers command to be processed outside radio IRQ context (in the next base period) More...
 

Detailed Description

This file contains definitions for the remote terminal.

Author
Martin Ubl
Version
0.1
Date
2019-03-30
Attention

© Copyright (c) 2018 University of West Bohemia in Pilsen All rights reserved.

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.

Typedef Documentation

◆ ketCube_remoteTerminal_responseFnc_t

typedef ketCube_cfg_ModError_t(* ketCube_remoteTerminal_responseFnc_t) (uint8_t *, uint8_t *)

Function Documentation

◆ ketCube_remoteTerminal_deferCmd()

int ketCube_remoteTerminal_deferCmd ( char *  bytes,
int  len,
ketCube_remoteTerminal_responseFnc_t  respFnc 
)

Defers command to be processed outside radio IRQ context (in the next base period)

Parameters
bytesincoming bytes pointer
lenincoming bytes count
respFncresponse function pointer to use for response

◆ ketCube_remoteTerminal_ProcessCMD()

void ketCube_remoteTerminal_ProcessCMD ( void  )

Interface function - process deferred command, if any.