Adafruit Feather M0 Bluefruit LE w/iPhone device not found

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Adafruit Feather M0 Bluefruit LE w/iPhone device not found

Post by jimk123 »

I am using this device https://www.adafruit.com/product/2995 Adafruit Feather M0 Bluefruit LE with a:
iPhone iOS 15.1
iPad 15.1

when I first loaded the sample sketch bleuart_cmdmode and opened the 'bluefruit connect' app on the iphone it prompted me to upgrade the firmware (as described here
https://learn.adafruit.com/bluefruit-le-connect/updates) which I selected yes, after a minute or so the firmware upgrade completed but then the entry 'adafruit bluefruit LE' disappeared from the list of devices.

I then tried the iPad and it connected fine, the blue LED on the board lit up and I was able to send and receive text

I have tried the following on the iPhone but 'adafruit bluefruit LE' still does not show up on the devices list when I open the app.

Cycle Bluetooth - Turned Bluetooth radio off and on again in the Settings app
Relaunch App - Quit the Bluetooth LE Connect app and restarted it
Cycle Power - Restarted the iPhone by powering it off and restarting.
Deleted the app and re-installed.

thoughts ?
thanks

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Adafruit Feather M0 Bluefruit LE w/iPhone device not fou

Post by mikeysklar »

Thank you for the clear summary of what you are using and have tried.

I would remove the M0 BLE device from the iOS devices Settings --> Bluetooth --> Adafruit BLE (i) --> tap the (i) and select "forget device". Then conenct to it again by doing a scan from the Bluefruit LE Connect App.

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: Adafruit Feather M0 Bluefruit LE w/iPhone device not fou

Post by jimk123 »

Thanks for the reply, when I go to settings, Bluetooth I don’t see the Adafruit device
74AC24B0-3120-4C80-9814-E2E70A85823E.jpeg
74AC24B0-3120-4C80-9814-E2E70A85823E.jpeg (278.47 KiB) Viewed 286 times

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: Adafruit Feather M0 Bluefruit LE w/iPhone device not fou

Post by jimk123 »

This is what I see on the iPhone Bluefruit connect app:
A5E722D1-35B2-4DA1-82CC-FA1FD40698CE.jpeg
A5E722D1-35B2-4DA1-82CC-FA1FD40698CE.jpeg (285.98 KiB) Viewed 285 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Adafruit Feather M0 Bluefruit LE w/iPhone device not fou

Post by mikeysklar »

DfuTarg is the M0 Bluefruit LE.

https://learn.adafruit.com/adafruit-fea ... e?view=all
You can perform a firmware update in DFU mode, although the Bluefruit board may appear as DfuTarg in the Bluefruit LE Connect app, and you will will need to select the right firmware 'family' for you board.
At this point it would be a good idea to only use one iOS device as using two will cause pairing confusion until you get things stabalized.

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: Adafruit Feather M0 Bluefruit LE w/iPhone device not fou

Post by jimk123 »

Lol never would have guessed that dfutarg was the Adafruit app. On the iPhone I just clicked connect on dfutarg, it connected fine and brought up the Bluefruit app, then I click disconnect and now it shows up as Adafruit Bluefruit LE now

THANK YOU !

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: Adafruit Feather M0 Bluefruit LE w/iPhone device not fou

Post by jimk123 »

Not sure if I should start a new post but I noticed the power level and range is very low between the iPhone and feather Bluetooth device. I noticed if I click on Adafruit Bluefruit it shows a TX power level of 0, but my iPad has a TX power level of 12 with much better range.

I saw this article https://learn.adafruit.com/adafruit-fea ... le-generic that kind of talked about power levels but I did not understand can I set the TX power level somewhere in the arduino code on the feather Bluetooth board to boost the TX power level ?

Thanks
EBEB18E4-3351-4673-B9C0-33F426E9AF87.jpeg
EBEB18E4-3351-4673-B9C0-33F426E9AF87.jpeg (285.6 KiB) Viewed 279 times

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: Adafruit Feather M0 Bluefruit LE w/iPhone device not fou

Post by jimk123 »

I ran the sample atcommand program and tested the range/connection with the default power level=0 and level=4 (max according to the doc)

distance was between the feather M0 bluetooth and the iPhone, the dBM value comes from the bluefruit iPhone app
TX power=0
10ft -78dBm
20ft -90dBm
30ft -97dBm lost connection

TXpower=4
10ft -73dBm
20ft -90dBm
30ft -95dBm connection ok

the problem is once I disconnect power from the feather it resets to TX power level=0. Is there a way to permanently save the setting ?

I noticed the iPad shows a TX level=12 but the max on the feather is 4, is that because of the adafruit feather bluetooth hardware only supports 4 ?
thanks

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: Adafruit Feather M0 Bluefruit LE w/iPhone device not fou

Post by jimk123 »

So I found by adding this line to in the void setup() function it sets the startup power level to 4
ble.println("AT+BLEPOWERLEVEL=4");

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Adafruit Feather M0 Bluefruit LE w/iPhone device not fou

Post by mikeysklar »

@jimk123,

It looks like you are up and running with a slightly better power level. If you have more questions about powerlevel please start a new thread.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”