Added support for the WNC M14A2A Cellular LTE Data Module.

Dependencies:   WNC14A2AInterface

Easy Connect

Easily add all supported connectivity methods to your mbed OS project

This project is derived from https://developer.mbed.org/teams/sandbox/code/simple-mbed-client-example/file/dd6231df71bb/easy-connect.lib. It give user the ability to switch between connectivity methods and includes support for the WNC14A2A Data Module. The `NetworkInterface` API makes this easy, but you still need a mechanism for the user to select the connection method, The selection is made by modifying the `mbed_app.json` file and using `easy_connect()` from your application.

Specifying connectivity method

To add support for the WNC14A2A, add the following to your ``mbed_app.json`` file:

mbed_app.json

{
    "config": {
        "network-interface":{
            "help": "options are ETHERNET,WIFI_ESP8266,WIFI_ODIN,MESH_LOWPAN_ND,MESH_THREAD,WNC14A2A",
            "value": "WNC14A2A"
        }
    },
}

After you choose `WNC14A2A` you'll also need to indicate if you want debug output or not by Enabling (true) or Disabling (false) WNC_DEBUG.

If WNC_DEBUG is enabled, there are 3 different levels of debug output (selected via bit settings). These debug levels are set using the following values:

ValueDescription
1Basic WNC driver debug output
2Comprehensive WNC driver debug output
4Network Layer debug output

You can have any combination of these three bit values for a total value of 0 – 7.

WNC Debug Settings

    "config": {
        "WNC_DEBUG": {
            "value": false
        },
        "WNC_DEBUG_SETTING": {
            "value": 4
        },
    }

Using Easy Connect from your application

Easy Connect has just one function which will either return a `NetworkInterface`-pointer or `NULL`:

Sample Code

#include "easy-connect.h"

int main(int, char**) {
    NetworkInterface* network = easy_connect(true); /* has 1 argument, enable_logging (pass in true to log to serial port) */
    if (!network) {
        printf("Connecting to the network failed... See serial output.\r\n");
        return 1;
    }
 
    // Rest of your program
}

Tested on

  • K64F with Ethernet.
  • AT&T Cellular IoT Starter Kit with WNC M14A2A Cellular Data Module

The WNCInterface class currently supports the following version(s):

  • MPSS: M14A2A_v11.50.164451 APSS: M14A2A_v11.53.164451

License

This library is released under the Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License and may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Committer:
group-Avnet
Date:
Wed Apr 19 01:08:11 2017 +0000
Revision:
0:478cfd88041f
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
group-Avnet 0:478cfd88041f 1 /*
group-Avnet 0:478cfd88041f 2 * Copyright (c) 2005, Swedish Institute of Computer Science.
group-Avnet 0:478cfd88041f 3 * All rights reserved.
group-Avnet 0:478cfd88041f 4 *
group-Avnet 0:478cfd88041f 5 * Redistribution and use in source and binary forms, with or without
group-Avnet 0:478cfd88041f 6 * modification, are permitted provided that the following conditions
group-Avnet 0:478cfd88041f 7 * are met:
group-Avnet 0:478cfd88041f 8 * 1. Redistributions of source code must retain the above copyright
group-Avnet 0:478cfd88041f 9 * notice, this list of conditions and the following disclaimer.
group-Avnet 0:478cfd88041f 10 * 2. Redistributions in binary form must reproduce the above copyright
group-Avnet 0:478cfd88041f 11 * notice, this list of conditions and the following disclaimer in the
group-Avnet 0:478cfd88041f 12 * documentation and/or other materials provided with the distribution.
group-Avnet 0:478cfd88041f 13 * 3. Neither the name of the Institute nor the names of its contributors
group-Avnet 0:478cfd88041f 14 * may be used to endorse or promote products derived from this software
group-Avnet 0:478cfd88041f 15 * without specific prior written permission.
group-Avnet 0:478cfd88041f 16 *
group-Avnet 0:478cfd88041f 17 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
group-Avnet 0:478cfd88041f 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
group-Avnet 0:478cfd88041f 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
group-Avnet 0:478cfd88041f 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
group-Avnet 0:478cfd88041f 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
group-Avnet 0:478cfd88041f 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
group-Avnet 0:478cfd88041f 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
group-Avnet 0:478cfd88041f 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
group-Avnet 0:478cfd88041f 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
group-Avnet 0:478cfd88041f 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
group-Avnet 0:478cfd88041f 27 * SUCH DAMAGE.
group-Avnet 0:478cfd88041f 28 *
group-Avnet 0:478cfd88041f 29 * This file is part of the Contiki operating system.
group-Avnet 0:478cfd88041f 30 *
group-Avnet 0:478cfd88041f 31 */
group-Avnet 0:478cfd88041f 32
group-Avnet 0:478cfd88041f 33 /**
group-Avnet 0:478cfd88041f 34 * \file
group-Avnet 0:478cfd88041f 35 * Header file for the radio API
group-Avnet 0:478cfd88041f 36 * \author
group-Avnet 0:478cfd88041f 37 * Adam Dunkels <adam@sics.se>
group-Avnet 0:478cfd88041f 38 * Joakim Eriksson <joakime@sics.se>
group-Avnet 0:478cfd88041f 39 * Niclas Finne <nfi@sics.se>
group-Avnet 0:478cfd88041f 40 * Nicolas Tsiftes <nvt@sics.se>
group-Avnet 0:478cfd88041f 41 */
group-Avnet 0:478cfd88041f 42
group-Avnet 0:478cfd88041f 43 /**
group-Avnet 0:478cfd88041f 44 * \addtogroup dev
group-Avnet 0:478cfd88041f 45 * @{
group-Avnet 0:478cfd88041f 46 */
group-Avnet 0:478cfd88041f 47
group-Avnet 0:478cfd88041f 48 /**
group-Avnet 0:478cfd88041f 49 * \defgroup radio Radio API
group-Avnet 0:478cfd88041f 50 *
group-Avnet 0:478cfd88041f 51 * The radio API module defines a set of functions that a radio device
group-Avnet 0:478cfd88041f 52 * driver must implement.
group-Avnet 0:478cfd88041f 53 *
group-Avnet 0:478cfd88041f 54 * @{
group-Avnet 0:478cfd88041f 55 */
group-Avnet 0:478cfd88041f 56
group-Avnet 0:478cfd88041f 57 #ifndef RADIO_H_
group-Avnet 0:478cfd88041f 58 #define RADIO_H_
group-Avnet 0:478cfd88041f 59
group-Avnet 0:478cfd88041f 60 #include <stddef.h>
group-Avnet 0:478cfd88041f 61
group-Avnet 0:478cfd88041f 62 /**
group-Avnet 0:478cfd88041f 63 * Each radio has a set of parameters that designate the current
group-Avnet 0:478cfd88041f 64 * configuration and state of the radio. Parameters can either have
group-Avnet 0:478cfd88041f 65 * values of type radio_value_t, or, when this type is insufficient, a
group-Avnet 0:478cfd88041f 66 * generic object that is specified by a memory pointer and the size
group-Avnet 0:478cfd88041f 67 * of the object.
group-Avnet 0:478cfd88041f 68 *
group-Avnet 0:478cfd88041f 69 * The radio_value_t type is set to an integer type that can hold most
group-Avnet 0:478cfd88041f 70 * values used to configure the radio, and is therefore the most
group-Avnet 0:478cfd88041f 71 * common type used for a parameter. Certain parameters require
group-Avnet 0:478cfd88041f 72 * objects of a considerably larger size than radio_value_t, however,
group-Avnet 0:478cfd88041f 73 * and in these cases the documentation below for the parameter will
group-Avnet 0:478cfd88041f 74 * indicate this.
group-Avnet 0:478cfd88041f 75 *
group-Avnet 0:478cfd88041f 76 * All radio parameters that can vary during runtime are prefixed by
group-Avnet 0:478cfd88041f 77 * "RADIO_PARAM", whereas those "parameters" that are guaranteed to
group-Avnet 0:478cfd88041f 78 * remain immutable are prefixed by "RADIO_CONST". Each mutable
group-Avnet 0:478cfd88041f 79 * parameter has a set of valid parameter values. When attempting to
group-Avnet 0:478cfd88041f 80 * set a parameter to an invalid value, the radio will return
group-Avnet 0:478cfd88041f 81 * RADIO_RESULT_INVALID_VALUE.
group-Avnet 0:478cfd88041f 82 *
group-Avnet 0:478cfd88041f 83 * Some radios support only a subset of the defined radio parameters.
group-Avnet 0:478cfd88041f 84 * When trying to set or get such an unsupported parameter, the radio
group-Avnet 0:478cfd88041f 85 * will return RADIO_RESULT_NOT_SUPPORTED.
group-Avnet 0:478cfd88041f 86 */
group-Avnet 0:478cfd88041f 87
group-Avnet 0:478cfd88041f 88 typedef int radio_value_t;
group-Avnet 0:478cfd88041f 89 typedef unsigned radio_param_t;
group-Avnet 0:478cfd88041f 90
group-Avnet 0:478cfd88041f 91 enum {
group-Avnet 0:478cfd88041f 92
group-Avnet 0:478cfd88041f 93 /* Radio power mode determines if the radio is on
group-Avnet 0:478cfd88041f 94 (RADIO_POWER_MODE_ON) or off (RADIO_POWER_MODE_OFF). */
group-Avnet 0:478cfd88041f 95 RADIO_PARAM_POWER_MODE,
group-Avnet 0:478cfd88041f 96
group-Avnet 0:478cfd88041f 97 /*
group-Avnet 0:478cfd88041f 98 * Channel used for radio communication. The channel depends on the
group-Avnet 0:478cfd88041f 99 * communication standard used by the radio. The values can range
group-Avnet 0:478cfd88041f 100 * from RADIO_CONST_CHANNEL_MIN to RADIO_CONST_CHANNEL_MAX.
group-Avnet 0:478cfd88041f 101 */
group-Avnet 0:478cfd88041f 102 RADIO_PARAM_CHANNEL,
group-Avnet 0:478cfd88041f 103
group-Avnet 0:478cfd88041f 104 /* Personal area network identifier, which is used by the address filter. */
group-Avnet 0:478cfd88041f 105 RADIO_PARAM_PAN_ID,
group-Avnet 0:478cfd88041f 106
group-Avnet 0:478cfd88041f 107 /* Short address (16 bits) for the radio, which is used by the address
group-Avnet 0:478cfd88041f 108 filter. */
group-Avnet 0:478cfd88041f 109 RADIO_PARAM_16BIT_ADDR,
group-Avnet 0:478cfd88041f 110
group-Avnet 0:478cfd88041f 111 /*
group-Avnet 0:478cfd88041f 112 * Radio receiver mode determines if the radio has address filter
group-Avnet 0:478cfd88041f 113 * (RADIO_RX_MODE_ADDRESS_FILTER) and auto-ACK (RADIO_RX_MODE_AUTOACK)
group-Avnet 0:478cfd88041f 114 * enabled. This parameter is set as a bit mask.
group-Avnet 0:478cfd88041f 115 */
group-Avnet 0:478cfd88041f 116 RADIO_PARAM_RX_MODE,
group-Avnet 0:478cfd88041f 117
group-Avnet 0:478cfd88041f 118 /*
group-Avnet 0:478cfd88041f 119 * Radio transmission mode determines if the radio has send on CCA
group-Avnet 0:478cfd88041f 120 * (RADIO_TX_MODE_SEND_ON_CCA) enabled or not. This parameter is set
group-Avnet 0:478cfd88041f 121 * as a bit mask.
group-Avnet 0:478cfd88041f 122 */
group-Avnet 0:478cfd88041f 123 RADIO_PARAM_TX_MODE,
group-Avnet 0:478cfd88041f 124
group-Avnet 0:478cfd88041f 125 /*
group-Avnet 0:478cfd88041f 126 * Transmission power in dBm. The values can range from
group-Avnet 0:478cfd88041f 127 * RADIO_CONST_TXPOWER_MIN to RADIO_CONST_TXPOWER_MAX.
group-Avnet 0:478cfd88041f 128 *
group-Avnet 0:478cfd88041f 129 * Some radios restrict the available values to a subset of this
group-Avnet 0:478cfd88041f 130 * range. If an unavailable TXPOWER value is requested to be set,
group-Avnet 0:478cfd88041f 131 * the radio may select another TXPOWER close to the requested
group-Avnet 0:478cfd88041f 132 * one. When getting the value of this parameter, the actual value
group-Avnet 0:478cfd88041f 133 * used by the radio will be returned.
group-Avnet 0:478cfd88041f 134 */
group-Avnet 0:478cfd88041f 135 RADIO_PARAM_TXPOWER,
group-Avnet 0:478cfd88041f 136
group-Avnet 0:478cfd88041f 137 /*
group-Avnet 0:478cfd88041f 138 * Clear channel assessment threshold in dBm. This threshold
group-Avnet 0:478cfd88041f 139 * determines the minimum RSSI level at which the radio will assume
group-Avnet 0:478cfd88041f 140 * that there is a packet in the air.
group-Avnet 0:478cfd88041f 141 *
group-Avnet 0:478cfd88041f 142 * The CCA threshold must be set to a level above the noise floor of
group-Avnet 0:478cfd88041f 143 * the deployment. Otherwise mechanisms such as send-on-CCA and
group-Avnet 0:478cfd88041f 144 * low-power-listening duty cycling protocols may not work
group-Avnet 0:478cfd88041f 145 * correctly. Hence, the default value of the system may not be
group-Avnet 0:478cfd88041f 146 * optimal for any given deployment.
group-Avnet 0:478cfd88041f 147 */
group-Avnet 0:478cfd88041f 148 RADIO_PARAM_CCA_THRESHOLD,
group-Avnet 0:478cfd88041f 149
group-Avnet 0:478cfd88041f 150 /* Received signal strength indicator in dBm. */
group-Avnet 0:478cfd88041f 151 RADIO_PARAM_RSSI,
group-Avnet 0:478cfd88041f 152
group-Avnet 0:478cfd88041f 153 /*
group-Avnet 0:478cfd88041f 154 * Long (64 bits) address for the radio, which is used by the address filter.
group-Avnet 0:478cfd88041f 155 * The address is specified in network byte order.
group-Avnet 0:478cfd88041f 156 *
group-Avnet 0:478cfd88041f 157 * Because this parameter value is larger than what fits in radio_value_t,
group-Avnet 0:478cfd88041f 158 * it needs to be used with radio.get_object()/set_object().
group-Avnet 0:478cfd88041f 159 */
group-Avnet 0:478cfd88041f 160 RADIO_PARAM_64BIT_ADDR,
group-Avnet 0:478cfd88041f 161
group-Avnet 0:478cfd88041f 162 /* Constants (read only) */
group-Avnet 0:478cfd88041f 163
group-Avnet 0:478cfd88041f 164 /* The lowest radio channel. */
group-Avnet 0:478cfd88041f 165 RADIO_CONST_CHANNEL_MIN,
group-Avnet 0:478cfd88041f 166 /* The highest radio channel. */
group-Avnet 0:478cfd88041f 167 RADIO_CONST_CHANNEL_MAX,
group-Avnet 0:478cfd88041f 168
group-Avnet 0:478cfd88041f 169 /* The minimum transmission power in dBm. */
group-Avnet 0:478cfd88041f 170 RADIO_CONST_TXPOWER_MIN,
group-Avnet 0:478cfd88041f 171 /* The maximum transmission power in dBm. */
group-Avnet 0:478cfd88041f 172 RADIO_CONST_TXPOWER_MAX
group-Avnet 0:478cfd88041f 173 };
group-Avnet 0:478cfd88041f 174
group-Avnet 0:478cfd88041f 175 /* Radio power modes */
group-Avnet 0:478cfd88041f 176 enum {
group-Avnet 0:478cfd88041f 177 RADIO_POWER_MODE_OFF,
group-Avnet 0:478cfd88041f 178 RADIO_POWER_MODE_ON
group-Avnet 0:478cfd88041f 179 };
group-Avnet 0:478cfd88041f 180
group-Avnet 0:478cfd88041f 181 /**
group-Avnet 0:478cfd88041f 182 * The radio reception mode controls address filtering and automatic
group-Avnet 0:478cfd88041f 183 * transmission of acknowledgements in the radio (if such operations
group-Avnet 0:478cfd88041f 184 * are supported by the radio). A single parameter is used to allow
group-Avnet 0:478cfd88041f 185 * setting these features simultaneously as an atomic operation.
group-Avnet 0:478cfd88041f 186 *
group-Avnet 0:478cfd88041f 187 * To enable both address filter and transmissions of automatic
group-Avnet 0:478cfd88041f 188 * acknowledgments:
group-Avnet 0:478cfd88041f 189 *
group-Avnet 0:478cfd88041f 190 * NETSTACK_RADIO.set_value(RADIO_PARAM_RX_MODE,
group-Avnet 0:478cfd88041f 191 * RADIO_RX_MODE_ADDRESS_FILTER | RADIO_RX_MODE_AUTOACK);
group-Avnet 0:478cfd88041f 192 */
group-Avnet 0:478cfd88041f 193 #define RADIO_RX_MODE_ADDRESS_FILTER (1 << 0)
group-Avnet 0:478cfd88041f 194 #define RADIO_RX_MODE_AUTOACK (1 << 1)
group-Avnet 0:478cfd88041f 195
group-Avnet 0:478cfd88041f 196 /**
group-Avnet 0:478cfd88041f 197 * The radio transmission mode controls whether transmissions should
group-Avnet 0:478cfd88041f 198 * be done using clear channel assessment (if supported by the
group-Avnet 0:478cfd88041f 199 * radio). If send-on-CCA is enabled, the radio's send function will
group-Avnet 0:478cfd88041f 200 * wait for a radio-specific time window for the channel to become
group-Avnet 0:478cfd88041f 201 * clear. If this does not happen, the send function will return
group-Avnet 0:478cfd88041f 202 * RADIO_TX_COLLISION.
group-Avnet 0:478cfd88041f 203 */
group-Avnet 0:478cfd88041f 204 #define RADIO_TX_MODE_SEND_ON_CCA (1 << 0)
group-Avnet 0:478cfd88041f 205
group-Avnet 0:478cfd88041f 206 /* Radio return values when setting or getting radio parameters. */
group-Avnet 0:478cfd88041f 207 typedef enum {
group-Avnet 0:478cfd88041f 208 RADIO_RESULT_OK,
group-Avnet 0:478cfd88041f 209 RADIO_RESULT_NOT_SUPPORTED,
group-Avnet 0:478cfd88041f 210 RADIO_RESULT_INVALID_VALUE,
group-Avnet 0:478cfd88041f 211 RADIO_RESULT_ERROR
group-Avnet 0:478cfd88041f 212 } radio_result_t;
group-Avnet 0:478cfd88041f 213
group-Avnet 0:478cfd88041f 214 /* Radio return values for transmissions. */
group-Avnet 0:478cfd88041f 215 enum {
group-Avnet 0:478cfd88041f 216 RADIO_TX_OK,
group-Avnet 0:478cfd88041f 217 RADIO_TX_ERR,
group-Avnet 0:478cfd88041f 218 RADIO_TX_COLLISION,
group-Avnet 0:478cfd88041f 219 RADIO_TX_NOACK,
group-Avnet 0:478cfd88041f 220 };
group-Avnet 0:478cfd88041f 221
group-Avnet 0:478cfd88041f 222 /**
group-Avnet 0:478cfd88041f 223 * The structure of a device driver for a radio in Contiki.
group-Avnet 0:478cfd88041f 224 */
group-Avnet 0:478cfd88041f 225 struct radio_driver {
group-Avnet 0:478cfd88041f 226
group-Avnet 0:478cfd88041f 227 int (* init)(void);
group-Avnet 0:478cfd88041f 228
group-Avnet 0:478cfd88041f 229 /** Prepare the radio with a packet to be sent. */
group-Avnet 0:478cfd88041f 230 int (* prepare)(const void *payload, unsigned short payload_len);
group-Avnet 0:478cfd88041f 231
group-Avnet 0:478cfd88041f 232 /** Send the packet that has previously been prepared. */
group-Avnet 0:478cfd88041f 233 int (* transmit)(unsigned short transmit_len);
group-Avnet 0:478cfd88041f 234
group-Avnet 0:478cfd88041f 235 /** Prepare & transmit a packet. */
group-Avnet 0:478cfd88041f 236 int (* send)(const void *payload, unsigned short payload_len);
group-Avnet 0:478cfd88041f 237
group-Avnet 0:478cfd88041f 238 /** Read a received packet into a buffer. */
group-Avnet 0:478cfd88041f 239 int (* read)(void *buf, unsigned short buf_len);
group-Avnet 0:478cfd88041f 240
group-Avnet 0:478cfd88041f 241 /** Perform a Clear-Channel Assessment (CCA) to find out if there is
group-Avnet 0:478cfd88041f 242 a packet in the air or not. */
group-Avnet 0:478cfd88041f 243 int (* channel_clear)(void);
group-Avnet 0:478cfd88041f 244
group-Avnet 0:478cfd88041f 245 /** Check if the radio driver is currently receiving a packet */
group-Avnet 0:478cfd88041f 246 int (* receiving_packet)(void);
group-Avnet 0:478cfd88041f 247
group-Avnet 0:478cfd88041f 248 /** Check if the radio driver has just received a packet */
group-Avnet 0:478cfd88041f 249 int (* pending_packet)(void);
group-Avnet 0:478cfd88041f 250
group-Avnet 0:478cfd88041f 251 /** Turn the radio on. */
group-Avnet 0:478cfd88041f 252 int (* on)(void);
group-Avnet 0:478cfd88041f 253
group-Avnet 0:478cfd88041f 254 /** Turn the radio off. */
group-Avnet 0:478cfd88041f 255 int (* off)(void);
group-Avnet 0:478cfd88041f 256
group-Avnet 0:478cfd88041f 257 /** Get a radio parameter value. */
group-Avnet 0:478cfd88041f 258 radio_result_t (* get_value)(radio_param_t param, radio_value_t *value);
group-Avnet 0:478cfd88041f 259
group-Avnet 0:478cfd88041f 260 /** Set a radio parameter value. */
group-Avnet 0:478cfd88041f 261 radio_result_t (* set_value)(radio_param_t param, radio_value_t value);
group-Avnet 0:478cfd88041f 262
group-Avnet 0:478cfd88041f 263 /**
group-Avnet 0:478cfd88041f 264 * Get a radio parameter object. The argument 'dest' must point to a
group-Avnet 0:478cfd88041f 265 * memory area of at least 'size' bytes, and this memory area will
group-Avnet 0:478cfd88041f 266 * contain the parameter object if the function succeeds.
group-Avnet 0:478cfd88041f 267 */
group-Avnet 0:478cfd88041f 268 radio_result_t (* get_object)(radio_param_t param, void *dest, size_t size);
group-Avnet 0:478cfd88041f 269
group-Avnet 0:478cfd88041f 270 /**
group-Avnet 0:478cfd88041f 271 * Set a radio parameter object. The memory area referred to by the
group-Avnet 0:478cfd88041f 272 * argument 'src' will not be accessed after the function returns.
group-Avnet 0:478cfd88041f 273 */
group-Avnet 0:478cfd88041f 274 radio_result_t (* set_object)(radio_param_t param, const void *src,
group-Avnet 0:478cfd88041f 275 size_t size);
group-Avnet 0:478cfd88041f 276
group-Avnet 0:478cfd88041f 277 };
group-Avnet 0:478cfd88041f 278
group-Avnet 0:478cfd88041f 279 #endif /* RADIO_H_ */
group-Avnet 0:478cfd88041f 280
group-Avnet 0:478cfd88041f 281 /** @} */
group-Avnet 0:478cfd88041f 282 /** @} */