The nrf8001 datasheet seems to mention that there should be no connections when sleep command is sent. So I wanted to call aci_disconnect first. But what reason do I use? There is only 2 you can send: remote user terminated connection and unacceptable connection timing. Neither really makes sense. I am using ported adafruit code to atmel gcc toolchain and I try to catch disconnect event in poll function. If I get a generic disconnect then I want to advertise again just like default adafruit code. But if I get specific event then I want to disable bluetooth by sleeping. And the Disconnect Event info didn't coincide with anything related to reason mentioned above. So then:
Can you sleep the nrf8001 while it is connected or advertising?
If not (which is what I thought) then what reason should I use and more importantly what will be in the acistatus and btlestatus parameters of the disconnected event?
Thanks
Edited to change "since" to sense above.