BC127 Melody 6.1.5 - Open BLE connection fails


#1

Hi there,

I’m stuck with the following problem: opening a BLE connection stucks in “CONNECTING”.

I want to use BLE with the bc127, configured as a central. BLE configuration:
BLE_CONFIG=1 OFF 40 ON<\r>
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 64 400 400<\r>

I can scan for advertising BLE devices and find them:
//sending: scan 5
PENDING<\r>
SCAN 00078071E842 0 06 -38db<\r>
SCAN_OK<\r>

When I try to connect to a BLE device, the module seems to stuck in a “CONNECTING” BLE state (which is not discribed in the manual):
//sending: open 00078071E842 ble
PENDING<\r>
//sending: status
STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[CONNECTING]<\r>
OK<\r>

I don’t even get a Pair_erorr. It’s stuck forever in this state, unless i reset the device or the reset the BLE config.
Also at the advertising device (not bc127) I don’t receive any connection request of the bc127.

I know that a colleague of mine was able to open BLE connections with the bc127. This was at least 1 year ago with older Melody version 5.X so we can’t reproduce this because I only find firmware version 6.1.2 and 6.1.5 online.

Does anyone successfully established a BLE connection (bc127 as central) with Melody 6.1.5? What might be the error I’m doing?

Thanks and regards,
Alex


#2

…I guess I found the missing part. I didn’t use “optional” [type] value in the OPEN command, whether it is a public address or a random address.
As it is described optional, I didn’t think about it. If I use it, known from the scan result, I’m able to connect. Maybe it isn’t so much optional?