Hello once again everyone!
I’ve made considerable progress on my thesis thanks in part to you guys answering my previous post here. I’m already writing up the report, and have pretty much the entire system programmed through the Arduino.
However, I am still having difficulties figuring out how to initiate/force a disconnect of all BT devices connected to the HM-10 module (this is the one I got). You can refer to the post I made on the arduino forums (link in post) where I also searched for the solution but had no luck, but sadly its been almost 2 weeks and still no answer.
To cut a long story short, I have all the pins of the HM-10 wired except the BRK pin currently, even though I wired that up previously and tried sending LOW-HIGH-LOW and HIGH-LOW-HIGH pulses to try to disconnect. As far as I understand it, what I have is not exactly the HM-10 but an HM-10 mounted on a breakout board(?).
The data sheet on the website I got it from seems to be for the bare HM-10 so its a bit confusing for me. It talks about a specific pin (PIO0) which looks to be wired to a switch, but there is no switch or button on the actual module and that doesn’t help me anyway as I want to initiate a disconnect from code.
So how can I make it disconnect from all devices when the user for example selects a certain option from the menu of my system?
As always, I will greatly appreciate any help, and of course if you need any more info let me know and I’ll try to provide it.