Hello, I'm trying to make two nRF52832 connect to each other on their own. Currently, it seems that the ble addresses are reversed when printed by ble_gap_addr_print in different parts of the program.
What would cause this?
Hello, I'm trying to make two nRF52832 connect to each other on their own. Currently, it seems that the ble addresses are reversed when printed by ble_gap_addr_print in different parts of the program.
What would cause this?
Where do you find the ble_gap_addr_print()
function? The addr
field in the ble_gap_addr_t struct is stored with LSB first. So If you are printing this from index 0->5 it will appear reversed.
The print function is run at the same place by both instances; the switch case of BLE_GAP_EVT_CONNECTED in ble-core.c
github.com/.../contiki I pushed everything just so that it's what I'm currently running. It's not cleaned in any way and not well commented but I hope you can understand most of it as i'm trying to follow most code conventions.
The print function is run at the same place by both instances; the switch case of BLE_GAP_EVT_CONNECTED in ble-core.c
github.com/.../contiki I pushed everything just so that it's what I'm currently running. It's not cleaned in any way and not well commented but I hope you can understand most of it as i'm trying to follow most code conventions.