From 1653cb628526464196e41019ddd3475049c97de2 Mon Sep 17 00:00:00 2001 From: Sebastien Lorquet Date: Mon, 10 Aug 2015 17:25:08 +0200 Subject: [PATCH] add cca declares to common header --- include/ieee802154/ieee802154.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/ieee802154/ieee802154.h b/include/ieee802154/ieee802154.h index 9ba8590dd..c7b41db57 100644 --- a/include/ieee802154/ieee802154.h +++ b/include/ieee802154/ieee802154.h @@ -59,6 +59,9 @@ int ieee802154_seteaddr (int fd, FAR uint8_t *chan); int ieee802154_setpromisc(int fd, bool promisc); int ieee802154_setdevmode(int fd, uint8_t devmode); +int ieee802154_setcca(int fd, FAR struct ieee802154_cca_s *cca); +int ieee802154_getcca(int fd, FAR struct ieee802154_cca_s *cca); + int ieee802154_addrparse(FAR struct ieee802154_packet_s *inPacket, FAR struct ieee802154_addr_s *dest, FAR struct ieee802154_addr_s *src); int ieee802154_addrstore(FAR struct ieee802154_packet_s *inPacket, FAR struct ieee802154_addr_s *dest, FAR struct ieee802154_addr_s *src); int ieee802154_addrtostr(FAR char *buf, int len, FAR struct ieee802154_addr_s *addr);