Loading...
Searching...
No Matches
kw2xrf_tm.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2016 Phytec Messtechnik GmbH
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
19#ifndef KW2XRF_TM_H
20#define KW2XRF_TM_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include "kw2xrf.h"
27#include "kw2xrf_reg.h"
28#include "kw2xrf_getset.h"
29#include "net/netopt.h"
30
35 KW2XRF_TM_CTX_PREAMBLE = NETOPT_RF_TESTMODE_CTX_PRBS9 + 1,
36 KW2XRF_TM_CTX_2MHZ,
37 KW2XRF_TM_CTX_200KHZ,
38 KW2XRF_TM_CTX_1MBPS_PRBS9,
39 KW2XRF_TM_CTX_EXT,
40 KW2XRF_TM_CTX_NM0,
41 KW2XRF_TM_CTX_NM1,
42};
43
53int kw2xrf_set_test_mode(kw2xrf_t *dev, uint8_t mode);
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif /* KW2XRF_TM_H */
@ NETOPT_RF_TESTMODE_CTX_PRBS9
PRBS9 continuous tx mode.
Definition netopt.h:919
Interface definition for the kw2xrf driver.
get/set interfaces for kw2xrf driver
Register and command definitions for the MKW2XD Modem.
mkw2xrf_testmode
Valid test modes to be used with kw2xrf_set_test_mode.
Definition kw2xrf_tm.h:34
int kw2xrf_set_test_mode(kw2xrf_t *dev, uint8_t mode)
Set the test mode for the kw2xrf device.
Definition of global configuration options.
Device descriptor for KW2XRF radio devices.
Definition kw2xrf.h:119