BC127 Mel 6.1.5 update to 7.1 SEND Error 0x1005 and Discoverable Problem


#1

Hello,

we updated melody of our bc127 module from v6.1.5 to v7.1.

Now we have 2 problems that we cant seem to solve by our own. Maybe one of you guys could help us out!

Our BC127 config on 7.1.5:

AUDIO=1 0<CR>
AUDIO_ANALOG=15 15 1 OFF<CR>
AUDIO_DIGITAL=0 48000 48 180300 OFF<CR>
AUTOCONN=0<CR>
AUTO_DATA=OFF OFF<CR>
BALANCE=100 100<CR>
BATT_CONFIG=OFF 145 4250 1500 150<CR>
BC_SMART_CONFIG=68E3 28F0 89F7 D93C ON<CR>
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE<CR>
BLE_CONFIG=0 ON 80 ON<CR>
BLE_CONN_PARAMS=128 12 24 40 0 400 100 400 400 64 400 400<CR>
BT_STATE_CONFIG=2 0<CR>
BT_VOL_CONFIG=A 60 10 1<CR>
CLASS_1=OFF<CR>
CMD_TO=20<CR>
COD=240404<CR>
CODEC=0 OFF<CR>
DEEP_SLEEP=OFF<CR>
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008<CR>
ENABLE_BATT_IND=ON<CR>
ENABLE_LED=ON<CR>
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0<CR>
GPIO_CONFIG=ON 0<CR>
HFP_CONFIG=OFF ON OFF OFF OFF OFF<CR>
HIGH_SPEED=OFF OFF<CR>
LOCAL_ADDR=20FABB0A4C7F 506C5285D1EE<CR>
MAX_REC=2<CR>
MM=OFF OFF 0 OFF OFF OFF OFF OFF<CR>
MUSIC_META_DATA=OFF<CR>
MUSIC_OLD_AVRCP=OFF<CR>
NAME=XXX-99<CR>
NAME_SHORT=XXX-99<CR>
PIN=0000<CR>
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0<CR>
REMOTE_ADDR=000000000000<CR>
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB <CR>
SSP_CAPS=3<CR>
TWS_CONFIG=OFF 1 2<CR>
UART_CONFIG=9600 OFF 0<CR>
USB_HOST=OFF<CR>
VREG_ROLE=0<CR>

First problem is when we are tryting to use the SEND command. The error message is 0x1005 (Ble request failed) In 6.1.5 it worked correctly.

is there a more detailed documentation about error codes? we cant seem to find a solution or have any clue what the message does tell us.

The second problem, we are setting all configs on start up of the bc127. (afterwards we WRITE and RESET so all configs are loaded correctly) Strangely “SET BLE_CONFIG=0 ON 80 ON” needs to be called after power up of the bc127 again or we dont find the BLE device with our android test devices. But as the config shows above the SET command should have worked? In 6.1.5 we did not use ADVERTISING_ON and it seemed to work correctly, might this be the problem? Already tried different settings of BT_STATE_CONFIG, which should have replaced DISCOVERABLE from 6.1.5.

Any help is very much appreciate!
Thank you
Manuel

ps: i figured i would also upload our old config of the 6.1.5 module which works as intendend!


#2

@ManuelS,

Re the error codes, no there isn’t any more information, it could be any one of a million different things that could cause that one so more detail you have to look at the config of the unit.

Tested the below (yes I know its 7.2) and the SEND command generically works. To use the send command you do need to have an active link up, without this it will fail and you have not said whether you have one or not, the advertising thing should not make a difference i.e. my unit is set to stop advertising (as is the default) when it connects.

version
Sierra Wireless Copyright 2018
Melody Audio V7.2
Build: 1534785311
        Bluetooth addresses: 20FABB075DD3 700A267E7E29
        Profiles: A2DP AVRCP HFP BLE SPP PBAP MAP TWS
        Codecs: SBC
OK
status
STATE CONNECTED[0] CONNECTABLE[OFF] DISCOVERABLE[OFF] BLE[IDLE]
OK
advertising on
OK
status
STATE CONNECTED[0] CONNECTABLE[OFF] DISCOVERABLE[OFF] BLE[ADVERTISING]
OK
OPEN_OK 14 BLE 53C97201279E
BLE_INDICATION 14 0003 4 0100FFFF
send 14 12345
OK

Regards

Matt