Hello I want to establish the connection between nrf51822(base station) and:
- the second nrf51822(transceiver)
- android smartphone(transceiver) It has to be possible without reflashing the base station. It uses NUS service. Base station is central node and the transceiver is peripheral. Actually I managed to do the first part (connection between 2x nrf51822. I read the Bluetooth MAC from the transceiver and save it in the base station. The base station looks for advertising devices and checks their MACs. But I have a problem with the second situation(smartphone with android). The MAC address changes periodically. I read that it is a private address and I have to use IRK to decrypt the original MAC address. But I don't know how to do this because at the same time it has to be possible to connect to the nrf51822 with static MAC address and to smartphone. I hope You will help me to solve this problem. Greetings