RIOT-OS / RIOT

RIOT - The friendly OS for IoT
https://riot-os.org
GNU Lesser General Public License v2.1
4.91k stars 1.98k forks source link

Simplify sixlowpan initialisation #165

Closed miri64 closed 10 years ago

miri64 commented 11 years ago

By now there are three functions to initialize a 6LoWPAN node

void sixlowpan_lowpan_init(transceiver_type_t trans, uint8_t r_addr,
                           int as_border);
void sixlowpan_lowpan_adhoc_init(transceiver_type_t trans,
                                 const ipv6_addr_t *prefix,
                                 uint8_t r_addr);
uint8_t sixlowpan_lowpan_border_init(transceiver_type_t trans,
                                     const ipv6_addr_t *border_router_addr);

The easiest way to simplify this would be to unify this into one function with flags to tell it what to do.

miri64 commented 10 years ago

Won't make it to next release? Reassign?

mehlis commented 10 years ago

part of #644

OlegHahm commented 10 years ago

644 is not yet merged.

miri64 commented 10 years ago

But now.