Nol.A SDK Library
24.11.0
For IoT System Software Development
|
IPv6 over Low-power WPAN (6LoWPAN) More...
#include <IPv6LoWPAN.hpp>
Public Member Functions | |
IPv6LoWPAN (IEEE802_15_4Mac &mac) | |
IPv6LoWPAN 인스턴스를 생성합니다. More... | |
error_t | begin () override |
error_t | getIID (uint8_t *dst) override |
bool | isInMulticastGroup (const IPv6Address &mcaddr) override |
error_t | send (uint8_t nxhop, IPv6PacketBuffer *ippkt) override |
void | receiveRS (IPv6::Header_t &ip6, void *msg, uint16_t len) override |
void | receiveRA (IPv6::Header_t &ip6, void *msg, uint16_t len) override |
void | receiveNS (IPv6::Header_t &ip6, void *msg, uint16_t len) override |
void | receiveNA (IPv6::Header_t &ip6, void *msg, uint16_t len) override |
void | receiveRedirect (IPv6::Header_t &ip6, void *msg, uint16_t len) override |
void | confirmReach (uint8_t neigh) override |
void | onTick () override |
void | onStateChanged () override |
Public Member Functions inherited from IPv6Interface | |
IPv6Interface (Type_t type, uint8_t neigh_list_len, uint8_t prefix_list_len, uint16_t mtu) | |
error_t | getAddress (IPv6Address::Type_t type, IPv6Address &dst) |
Get an IPv6 address assigned to the inf interface. More... | |
error_t | getAddress (IPv6Address::Type_t type, uint8_t *dst) |
uint8_t | setPrefix (const IPv6Address &prefix_addr, uint8_t prefix_len, uint32_t lifetime, uint32_t pref_lifetime, bool autoconf) |
Set a prefix to an IPv6 interface. More... | |
void | setStateNotifier (void(*func)(IPv6Interface &, State_t)) |
bool | isAttached () |
State_t | setState (State_t s) |
Additional Inherited Members | |
Public Types inherited from IPv6Interface | |
enum | Type_t { TYPE_UNKNOWN = 0 , TYPE_6LOWPAN = 1 , TYPE_ETHERNET = 2 , TYPE_PPP = 3 , TYPE_6LPWAN = 4 } |
enum | State_t { STATE_NONE = 0 , STATE_BECOMING_HOST = 1 , STATE_DUPLICATE = 2 , STATE_HOST = 3 , STATE_BECOMING_ROUTER = 4 , STATE_ROUTER = 5 } |
Static Public Member Functions inherited from IPv6Interface | |
static const char * | GetStateString (State_t) |
Protected Member Functions inherited from IPv6Interface | |
bool | hasIID (const uint8_t *iid) |
virtual uint8_t | addNeighbor (const IPv6Address &addr) |
void | removeNeighbor (uint8_t n) |
IPv6Neighbor * | getNeighbor (const IPv6Address &addr) |
uint8_t | getNeighborIndex (const IPv6Address &addr) |
Protected Attributes inherited from IPv6Interface | |
bool | ll_dad_passed |
uint8_t | def_hop_limit |
const uint16_t | MTU |
uint16_t | pmtu |
Type_t | dev_type |
IPv6Prefix ** | prefix = NULL |
const uint8_t | MAX_NUM_PREFIX |
uint8_t | num_valid_prefix |
IPv6Neighbor ** | neighbor = NULL |
const uint8_t | MAX_NUM_NEIGH |
State_t | state |
void(* | notify )(IPv6Interface &, State_t) = NULL |
IPv6Interface * | next = NULL |
IPv6 over Low-power WPAN (6LoWPAN)
IPv6LoWPAN::IPv6LoWPAN | ( | IEEE802_15_4Mac & | mac | ) |
IPv6LoWPAN 인스턴스를 생성합니다.
mac | 6LoWPAN에서 사용할 IEEE 802.15.4 MAC |