diff --git a/cpu/nrf5x_common/include/nrfmin.h b/cpu/nrf5x_common/include/nrfmin.h index 7aa02e30855d26056f1321e5cbf4caefb86997e0..0ec1e4f97b9ce03d42ce6dc38ec7bbbc4b24efd9 100644 --- a/cpu/nrf5x_common/include/nrfmin.h +++ b/cpu/nrf5x_common/include/nrfmin.h @@ -162,16 +162,6 @@ uint16_t nrfmin_get_addr(void); */ void nrfmin_set_addr(uint16_t addr); -/** - * @brief Get a pseudo 64-bit long address (needed by IPv6 and 6LoWPAN) - * - * As we do not support 64-bit addresses, we just make one up, for this we - * simply return 4 times concatenated the 16-bit address. - * - * @param[out] addr 64-bit pseudo long address, as array of 4 * 16-bit - */ -void nrfmin_get_pseudo_long_addr(uint16_t *addr); - /** * @brief Get the IID build from the 16-bit node address * diff --git a/cpu/nrf5x_common/radio/nrfmin/nrfmin.c b/cpu/nrf5x_common/radio/nrfmin/nrfmin.c index c473594572b3f66fe685a26a1ed340f0247a0266..39d07922b4e349853167a54c0b26a96d720e9acd 100644 --- a/cpu/nrf5x_common/radio/nrfmin/nrfmin.c +++ b/cpu/nrf5x_common/radio/nrfmin/nrfmin.c @@ -188,13 +188,6 @@ uint16_t nrfmin_get_addr(void) return my_addr; } -void nrfmin_get_pseudo_long_addr(uint16_t *addr) -{ - for (int i = 0; i < 4; i++) { - addr[i] = my_addr; - } -} - void nrfmin_get_iid(uint16_t *iid) { iid[0] = 0; @@ -487,10 +480,6 @@ static int nrfmin_get(netdev_t *dev, netopt_t opt, void *val, size_t max_len) assert(max_len >= sizeof(uint16_t)); *((uint16_t *)val) = NRFMIN_PAYLOAD_MAX; return sizeof(uint16_t); - case NETOPT_ADDRESS_LONG: - assert(max_len >= sizeof(uint64_t)); - nrfmin_get_pseudo_long_addr((uint16_t *)val); - return sizeof(uint64_t); case NETOPT_ADDR_LEN: assert(max_len >= sizeof(uint16_t)); *((uint16_t *)val) = 2;