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
9#pragma once
10
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include "kw2xrf.h"
26#include "kw2xrf_reg.h"
27#include "kw2xrf_getset.h"
28#include "net/netopt.h"
29
34 KW2XRF_TM_CTX_PREAMBLE = NETOPT_RF_TESTMODE_CTX_PRBS9 + 1,
35 KW2XRF_TM_CTX_2MHZ,
36 KW2XRF_TM_CTX_200KHZ,
37 KW2XRF_TM_CTX_1MBPS_PRBS9,
38 KW2XRF_TM_CTX_EXT,
39 KW2XRF_TM_CTX_NM0,
40 KW2XRF_TM_CTX_NM1,
41};
42
52int kw2xrf_set_test_mode(kw2xrf_t *dev, uint8_t mode);
53
54#ifdef __cplusplus
55}
56#endif
57
@ NETOPT_RF_TESTMODE_CTX_PRBS9
PRBS9 continuous tx mode.
Definition netopt.h:920
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:33
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:118