Maybe this is the wrong place for this since its essentially a hardware question but its a B4X Android project question too.
I've started a BLE project - basically a nightmare in short.
Before getting to work on the B4X project itself, I began to test the equipment, to get oriented to what I am trying to do -> Using Erel's example code from this posting (unaltered from original) :
b4x-ble-2-bluetooth-low-energy
Hardware is a DFROBOT BLUNO BEETLE.
Phone Device Samsung A30s.
The example, when running, shows :
BLE State : POWERED ON (so the phone's BT is actively detected.)
Pressing Scan and Connect just produces the tumbling discs - endlessly looping. Device status is "Not connected". Stepping through the code breakpoints it never connected from the start.
When configuring the BEETLE (AT+ commands) I did notice that some settings were at the default for IOS - changed those for Android). Neither configs have shown any interest in working.
The BEETLE shows no activity at all. The Pairing LED and the LINK LED are off. The BEETLE will pair with the phone and then the LINK LED lights up - but not the PAIR LED.
Using the APP from github (BlunoBasicDemo.apk) the same thing happens - pressing Scan button invokes the scanning panel but it just sits there staring blankly at me.
At this point I have read so many web pages, most of which don't address the issue of why BLE just isn't starting up on the BEETLE. That is what appears to be happening, anyway..
What I have found is some information saying that BLE and Android IS NOT SIMPLE. IOS appears to be not half as difficult. [Don't have an IOS device to test it on.]
My feeling at this stage is that this is just one of those incredibly simple dumbass things that I haven't done to get the hardware to wake up - or - these devices are just basically a waste of money bricks (not indicated by the number of applications using them "out there").
I just can't believe, given that BLE is pretty well a standard thing (versus classic bluetooth), that this is could be such an arcane thing to get right.
So, here's the question :
Has anyone used the DFROBOT BLUNO BEETLE?
If so have you managed to get it to work?
And, how?
My guess : its all to do with the hardware since there are certainly members who have used the BLE2 library (and Erel's example code) to get things to work. There are a few postings here but none deal with just stony silence from the BLE device - all show that members have gone past that stage. My alternative is to go to classic bluetooth with an HC05 but that won't give me the comms range I need.
Thanks in anticipation.
I've started a BLE project - basically a nightmare in short.
Before getting to work on the B4X project itself, I began to test the equipment, to get oriented to what I am trying to do -> Using Erel's example code from this posting (unaltered from original) :
b4x-ble-2-bluetooth-low-energy
Hardware is a DFROBOT BLUNO BEETLE.
Phone Device Samsung A30s.
The example, when running, shows :
BLE State : POWERED ON (so the phone's BT is actively detected.)
Pressing Scan and Connect just produces the tumbling discs - endlessly looping. Device status is "Not connected". Stepping through the code breakpoints it never connected from the start.
When configuring the BEETLE (AT+ commands) I did notice that some settings were at the default for IOS - changed those for Android). Neither configs have shown any interest in working.
The BEETLE shows no activity at all. The Pairing LED and the LINK LED are off. The BEETLE will pair with the phone and then the LINK LED lights up - but not the PAIR LED.
Using the APP from github (BlunoBasicDemo.apk) the same thing happens - pressing Scan button invokes the scanning panel but it just sits there staring blankly at me.
At this point I have read so many web pages, most of which don't address the issue of why BLE just isn't starting up on the BEETLE. That is what appears to be happening, anyway..
What I have found is some information saying that BLE and Android IS NOT SIMPLE. IOS appears to be not half as difficult. [Don't have an IOS device to test it on.]
My feeling at this stage is that this is just one of those incredibly simple dumbass things that I haven't done to get the hardware to wake up - or - these devices are just basically a waste of money bricks (not indicated by the number of applications using them "out there").
I just can't believe, given that BLE is pretty well a standard thing (versus classic bluetooth), that this is could be such an arcane thing to get right.
So, here's the question :
Has anyone used the DFROBOT BLUNO BEETLE?
If so have you managed to get it to work?
And, how?
My guess : its all to do with the hardware since there are certainly members who have used the BLE2 library (and Erel's example code) to get things to work. There are a few postings here but none deal with just stony silence from the BLE device - all show that members have gone past that stage. My alternative is to go to classic bluetooth with an HC05 but that won't give me the comms range I need.
Thanks in anticipation.