mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
22ba75e8be
If no local port is specified for socket_zep to listen on, don't listen on a local port at all instead of listening on a default port. This does not work with multiple instances of socket_zep anyway.
48 lines
989 B
C
48 lines
989 B
C
/*
|
|
* Copyright (C) 2016 Freie Universität Berlin
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
/**
|
|
* @ingroup drivers_socket_zep
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Configuration parameters for the @ref drivers_socket_zep driver
|
|
*
|
|
* @author Martine Lenders <m.lenders@fu-berlin.de>
|
|
*/
|
|
#ifndef SOCKET_ZEP_PARAMS_H
|
|
#define SOCKET_ZEP_PARAMS_H
|
|
|
|
#include "socket_zep.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Number of allocated parameters at @ref socket_zep_params
|
|
*
|
|
* @note This was decided to only be confiruable on compile-time to be
|
|
* more similar to actual boards
|
|
*/
|
|
#ifndef SOCKET_ZEP_MAX
|
|
#define SOCKET_ZEP_MAX (1)
|
|
#endif
|
|
|
|
/**
|
|
* @brief socket_zep configurations
|
|
*/
|
|
extern socket_zep_params_t socket_zep_params[SOCKET_ZEP_MAX];
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* SOCKET_ZEP_PARAMS_H */
|
|
/** @} */
|