I am trying to create an nRF8001 based application that will broadcast battery levels (pipes broadcast, set), and give out temperature data (pipe indicate - TX_ACK) to connected peers.
I am a little confused about using lib_aci_broadcast() vs lib_aci_connect(). When I called both, I got an error.
In my scenario, which method should I use? If I use lib_aci_broadcast(), will a peer be able to read the data without connecting? But I have both broadcasted data and other data for connected peers, what should I use?
Sorry if the question is ill formed - I am new to BLE.
Thanks