6LoWPAN/PF_IEEE802154: Created radiodev.h and renamed various structures to provide a better separation between 6LoWPAN and PF_IEEE802154.

This commit is contained in:
Gregory Nutt
2017-08-20 07:10:48 -06:00
parent b52034ffd2
commit 6919fb85e4
31 changed files with 381 additions and 281 deletions
+2 -1
View File
@@ -47,6 +47,7 @@
#include <nuttx/net/net.h>
#include <nuttx/net/netdev.h>
#include <nuttx/net/radiodev.h>
#include <nuttx/net/sixlowpan.h>
#include "netdev/netdev.h"
@@ -76,7 +77,7 @@
static inline int netdev_pktradio_addrlen(FAR struct net_driver_s *dev)
{
FAR struct radio_driver_s *radio = (FAR struct radio_driver_s *)dev;
struct sixlowpan_properties_s properties;
struct radiodev_properties_s properties;
int ret;
DEBUGASSERT(radio != NULL && radio->r_properties != NULL);