39 #include "contiki-conf.h" 50 uint8_t *location = (uint8_t *)BLE_ADDR_LOCATION;
52 for(i = 0; i < BLE_ADDR_SIZE; i++) {
53 dst[i] = location[BLE_ADDR_SIZE - 1 - i];
63 memcpy(&dst[5], &src[3], 3);
69 uint8_t ble_addr[BLE_ADDR_SIZE];
Header file for the link-layer address representation
void ble_addr_cpy_to(uint8_t *dst)
Copy the node's factory BLE address to a destination memory area.
void ble_eui64_addr_cpy_to(uint8_t *dst)
Copy the node's EUI64 address that is based on its factory BLE address to a destination memory area...
hardware abstraction for a BLE controller
void ble_addr_to_eui64(uint8_t *dst, uint8_t *src)
Copy the node's BLE address to a destination memory area and converts it into a EUI64 address in the ...
Driver for the retrieval of an BLE address from flash.