From d84fa1689a713f5ac427b7d1843334870ea273de Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 26 Feb 2016 17:32:37 -0600 Subject: [PATCH] Add include/nuttx/wireless/ieee802154 directory (with dummy header file) --- ChangeLog | 2 + include/nuttx/net/6lowpan.h | 1 - .../nuttx/wireless/ieee802154/ieee802154.h | 62 +++++++++++++++++++ 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 include/nuttx/wireless/ieee802154/ieee802154.h diff --git a/ChangeLog b/ChangeLog index 9b233e1988..cf3391ce9e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11527,4 +11527,6 @@ * wireless/: New top level directory. Nothing there yet (2015-02-26). * wireless/ieee802154: Add an new directory to the build. Nothing there yet (2016-02-26). + * include/nuttx/wireless/ieee802154: Add directory (and dummy header file) + (2016-02-16). diff --git a/include/nuttx/net/6lowpan.h b/include/nuttx/net/6lowpan.h index 4c9d7a85e1..cbd7e071bf 100644 --- a/include/nuttx/net/6lowpan.h +++ b/include/nuttx/net/6lowpan.h @@ -1,6 +1,5 @@ /**************************************************************************** * include/nuttx/net/6lowpan.h - * Definitions for use with PF_IEEE802154 sockets * * Copyright (C) 2016 Gregory Nutt. All rights reserved. * Author: Gregory Nutt diff --git a/include/nuttx/wireless/ieee802154/ieee802154.h b/include/nuttx/wireless/ieee802154/ieee802154.h new file mode 100644 index 0000000000..250a81bf00 --- /dev/null +++ b/include/nuttx/wireless/ieee802154/ieee802154.h @@ -0,0 +1,62 @@ +/**************************************************************************** + * include/nuttx/net/ieee802154.h + * + * Copyright (C) 2016 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt + * + * Includes some definitions that a compatible with the LGPL GNU C Library + * header file of the same name. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * 3. Neither the name NuttX nor the names of its contributors may be + * used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + ****************************************************************************/ + +#ifndef __INCLUDE_NUTTX_NET_IEEE802154_H +#define __INCLUDE_NUTTX_NET_IEEE802154_H + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include + +#include + +/**************************************************************************** + * Public Type Definitions + ****************************************************************************/ + +/**************************************************************************** + * Public Data + ****************************************************************************/ + +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + +#endif /* __INCLUDE_NUTTX_NET_IEEE802154_H */