KETCube
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
ketCube_testRadio.h File Reference

This file contains the KETCube radio test module. More...

#include "ketCube_cfg.h"
#include "ketCube_common.h"
#include "ketCube_terminal.h"

Go to the source code of this file.

Data Structures

struct  ketCube_testRadio_moduleCfg_t
 KETCube module configuration. More...
 

Macros

#define KETCUBE_TEST_RADIO_MIN_OUTPUT_POWER   7
 
#define KETCUBE_TEST_RADIO_MAX_OUTPUT_POWER   16
 
#define KETCUBE_TEST_RADIO_DEFAULT_OUTPUT_POWER   14
 
#define KETCUBE_TEST_RADIO_MIN_FREQUENCY   400000000
 
#define KETCUBE_TEST_RADIO_MAX_FREQUENCY   1000000000
 
#define KETCUBE_TEST_RADIO_DEFAULT_FREQUENCY   868000000
 
#define KETCUBE_TEST_RADIO_DEFAULT_CW_DUR   10
 

Typedefs

typedef struct ketCube_testRadio_moduleCfg_t ketCube_testRadio_moduleCfg_t
 KETCube module configuration. More...
 

Enumerations

enum  ketCube_testRadio_State_t {
  KETCUBE_TEST_RADIO_STATE_SLEEP, KETCUBE_TEST_RADIO_STATE_CW, KETCUBE_TEST_RADIO_STATE_TX_TIMEOUT, KETCUBE_TEST_RADIO_STATE_TX_DONE,
  KETCUBE_TEST_RADIO_STATE_RX_TIMEOUT, KETCUBE_TEST_RADIO_STATE_RX_DONE, KETCUBE_TEST_RADIO_STATE_RX_ERROR
}
 StarNet states. More...
 

Functions

ketCube_cfg_ModError_t ketCube_testRadio_Init (ketCube_InterModMsg_t ***msg)
 
ketCube_cfg_ModError_t ketCube_testRadio_SleepEnter (void)
 
void ketCube_testRadio_cmd_GoSleep (void)
 
void ketCube_testRadio_cmd_GoCW (void)
 
void ketCube_testRadio_cmd_getTemp (void)
 

Variables

ketCube_testRadio_moduleCfg_t ketCube_testRadio_moduleCfg
 

Detailed Description

This file contains the KETCube radio test module.

Author
Jan Belohoubek
Version
0.2-dev
Date
2020-06-18
Attention

© Copyright (c) 2020 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.