BC127 - Pairing problem

Hi,

With some phones, I have trouble pairing with a BC127 acting as peripheral with A2DP sink/BLE profiles activated. I tried with a Samsung Galaxy Core and a iPhone 5c, the pairing was unsuccessful. I also tried with a Samsung Galaxy S6 and it paired successfully.

If I activate the HFP profile on the BC127 (which I don’t want to activate for our application), the pairing process is successful with all phones. Once the BC127 is paired with the phone, I can connect to the BC127 even if keep only A2DP sink/BLE profiles activated.

Is there a way to make sure that the pairing process with BC127 is always successful with only A2DP sink and BLE profiles activated?

Thank you

Hi,

So can you give me the profile config you are trying to pair with the phones that is failing i.e. do you just disable HFP and leave SPP, etc?

GET PROFILES
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
OK

Regards

Matt

Here is the PROFILES register that I use (only A2DP sink and BLE activated) :
PROFILES=0 0 1 0 0 1 0 0 0 0 0 0

Here is a screenshot of how I used SET PROFILES:


When I try to pair this BC127 with my iPhone, a warning pops up :

My 2 cents:

I have used many modules: Sparkfun, DISKIT and have never had an issue with iPhone pairing…

Try these commands:

SET PROFILES=2 0 3 0 2 1 2 1 0 0 1 0

SET AUTOCONN=1

SET DISCOVERABLE=1 0

Write, Reset…

I just did it with an S8 (previously not paired) and no issues with the pairing

status
STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK
SET PROFILES=0 0 1 0 0 1 0 0 0 0 0 0
OK
write
OK
reset
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496942680
Ready
OPEN_OK 10 A2DP EC107BFCB572
ROLE_OK EC107BFCB572 S
CLOSE_OK 10 A2DP EC107BFCB572

I also tried it with an iPhone4 and it failed with the message you gave below, I suspect it is an Apple thing where it wants to connect to more profiles.

Regards

Matt

Shauno,

I only want to activate A2DP sink and BLE profiles. I don’t want to set AUTO_CONN register.

I tried SET DISCOVERABLE=1 0 and it didn’t change the problem.

Thanks,

Matt,

I will look into Apple Documentation, I’m not sure I will find what I’m looking for easily. I can’t keep the HFP profile activated, because I don’t want to stream a HFP call to BC127 when I stream a track on A2DP.

Thanks

I am observing the same issue as alupienbedard and this prompted me to reproduce their steps outlined in a previous post.
I believe the problem relates to previous paired devices stored by the BC127.

restore
BlueCreation Copyright 2017
Melody Audio V6.1.5 HD
Build: 1496941831
Ready
set profiles=0 0 1 0 0 1 0 0 0 0 0 0
OK
write
OK
resett
BlueCreation Copyright 2017
Melody Audio V6.1.5 HD
Build: 1496941831
Ready
get profiles
PROFILES=0 0 1 0 0 1 0 0 0 0 0 0
OK
status
STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK
<<<<

At this point I attempt to pair from a device (iPad Mini). Pairing is unsuccesful!

I then queried the list command and noticed that it was still populated, I wasn’t expecting that as the first command issued was a restore.
I then did an upair to empty the list and checked for an empty list.

list
LIST 88CB8791F5C3 HFP A2DP AVRCP
LIST 001583F0A564 A2DP
LIST 00F46F3AC34C A2DP AVRCP
OK
unpair
OK
list
OK
<<<<

I tried the same steps again, however this time pairing was successful.

restore
BlueCreation Copyright 2017
Melody Audio V6.1.5 HD
Build: 1496941831
Ready
set profiles=0 0 1 0 0 1 0 0 0 0 0 0
OK
write
OK
reset
BlueCreation Copyright 2017
Melody Audio V6.1.5 HD
Build: 1496941831
Ready
get profiles
PROFILES=0 0 1 0 0 1 0 0 0 0 0 0
OK
status
STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK
PAIR_PENDING
PAIR_OK 88CB8791F5C3
OPEN_OK 10 A2DP 88CB8791F5C3
ROLE_OK 88CB8791F5C3 S
CLOSE_OK 10 A2DP 88CB8791F5C3
<<<<