BC127HD to BC127HD Analog Voice/Audio


#1

I am trying to connect two BC127HD Discovery Boards so that I can pass analog voice/audio from board to board. Fig 4-1 in the BC127 Discovery Board Manual (Rev 1 March 17) appears to show this is possible and the Sierra Wireless FAE sent me instructions to set this up but so far I am unable to get analog voice/audio to pass from board to board. Stereo Mic In on one board and out Stereo Headphone Out on the second board. The two BC127HD discovery boards appear to be connected and the LEDs blink synchronously every 2.5 seconds but I am unable to inject analog audio in one board (Stereo Mic In) and get it to come out the second board (Stereo Headphone Out) and visa versa. . Below are the commands, config and status of the two boards. Any help would be appreciated.

BOARD 1 COM3
STATUS

STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK
INQUIRY

PENDING
INQUIRY 00150E5006D0 “UNKNOWN” 200404 -66db
INQUIRY 00150E5006D0 “UNKNOWN” 200404 -67db
INQUIRY 00150E5006D0 “UNKNOWN” 200404 -67db
INQUIRY 00150E5006D0 “UNKNOWN” 200404 -67db
INQUIRY 00150E5006D0 “UNKNOWN” 200404 -71db
INQUIRY 00150E5006D0 “UNKNOWN” 200404 -71db
INQUIRY 00150E5006D0 “UNKNOWN” 200404 -66db
INQUIRY 00150E5006D7 “UNKNOWN” 200404 -64db
INQUIRY 00150E5006D7 “UNKNOWN” 200404 -66db
INQUIRY 00150E5006D7 “UNKNOWN” 200404 -64db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -54db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -59db
INQUIRY 00150E5006D7 “UNKNOWN” 200404 -65db
INQUIRY 00150E5006D7 “UNKNOWN” 200404 -64db
INQUIRY 00150E5006D7 “UNKNOWN” 200404 -64db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -54db
INQU_OK
OPEN 20FABB09B606 A2DP

PENDING
OPEN_OK 10 A2DP 20FABB09B606
ROLE_OK 20FABB09B606 M
OPEN_OK 11 AVRCP 20FABB09B606
STATUS

STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[OFF] BLE[IDLE]
LINK 10 CONNECTED A2DP 20FABB09B606 SUSPENDED APTX_HD SNK 0
LINK 11 CONNECTED AVRCP 20FABB09B606 STOPPED
OK
CONFIG

AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=8 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB09B63B
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-09B63B
NAME_SHORT=BC9B63B
PIN=0000
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK

BOARD2 COM4
OPEN_OK 1A TWS 20FABB09B63B
ROLE_OK 20FABB09B63B S
OPEN_OK 11 AVRCP 20FABB09B63B
STATUS

STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[OFF] BLE[IDLE]
LINK 11 CONNECTED AVRCP 20FABB09B63B STOPPED
LINK 1A CONNECTED TWS 20FABB09B63B SUSPENDED APTX_HD SNK 0
OK
CONFIG

AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=8 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB09B606
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-09B606
NAME_SHORT=BC9B606
PIN=0000
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK


#2

Hi Jim,
One BC127 should be configured as an A2DP Source (transmitter) while the other BC127 should be configured as A2DP Sink (receiver). You have to update the PROFILES configuration for this. Then WRITE, RESET, UNPAIR and try again.


#3

SW-Ad

I really appreciate that you took the time to respond. I did try your suggestion but then I was not successful at pairing the two boards. I initiated the OPEN 20FABB09B606 A2DP command but got error 0012. Then i tried PAIR 20FABB09B606 and it return an OK to pairing but the LEDs on both boards continue to rapidly flash blue/green so they do not appear to be paired - and no audio is passing.

In the end i am looking to set up the boards so that voice goes both directions, not just from the source to a sink, like when playing music.

Board1
STATUS

STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK
GET PROFILES

PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
OK
SET PROFILES=2 0 0 2 2 1 2 1 0 0 1 0

OK
WRITE

OK
RESET

BlueCreation Copyright 2017
Melody Audio V6.1.5 HD
Build: 1496941831
Ready
GET PROFILES

PROFILES=2 0 0 2 2 1 2 1 0 0 1 0
OK
INQUIRY

PENDING
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -39db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -37db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -41db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -37db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -40db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -38db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -40db
INQU_OK
CONNECT 20FABB09B606 A2DP

ERROR 0x0012
PAIR 20FABB09B606

PENDING
PAIR_PENDING
PAIR_OK 20FABB09B606

Board2
GET PROFILES

PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
OK
STATUS

STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK


#4

Hi Jim,
The command is OPEN, not CONNECT (OPEN 20FABB09B606 A2DP).


#5

Very sorry about that fat finger. I did redo the procedure with the correct OPEN command and the boards pair but i still cannot get audio. I have tried multiple audio sources and sinks and directions just to make sure and the sources and sinks are working. I just cannot get the audio to pass from board to board. I have paired the boards with mobiles and passed audio so the boards and audio sources work.

Board 1 Com3
STATUS

STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK
INQUIRY

PENDING
INQUIRY 20FABB09B606 “BC-09B606” 240404 -46db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -43db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -44db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -43db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -43db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -46db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -43db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -44db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQU_OK
OPEN 20FABB09B606 A2DP

PENDING
OPEN_OK 10 A2DP 20FABB09B606
ROLE_OK 20FABB09B606 M
OPEN_OK 11 AVRCP 20FABB09B606
CONFIG

AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=8 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB09B63B
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-09B63B
NAME_SHORT=BC9B63B
PIN=0000
PROFILES=2 0 0 2 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK

STATUS

STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK
INQUIRY

PENDING
INQUIRY 20FABB09B606 “BC-09B606” 240404 -46db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -43db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -44db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -43db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -43db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -46db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -43db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -44db
INQUIRY 20FABB09B606 “BC-09B606” 240404 -45db
INQU_OK
OPEN 20FABB09B606 A2DP

PENDING
OPEN_OK 10 A2DP 20FABB09B606
ROLE_OK 20FABB09B606 M
OPEN_OK 11 AVRCP 20FABB09B606
CONFIG

AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=8 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB09B63B
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-09B63B
NAME_SHORT=BC9B63B
PIN=0000
PROFILES=2 0 0 2 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK

STATUS

STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[OFF] BLE[IDLE]
LINK 10 CONNECTED A2DP 20FABB09B606 SUSPENDED APTX_HD SRC 48000
LINK 11 CONNECTED AVRCP 20FABB09B606 STOPPED
OK

Board 2 Com4
OPEN_OK 10 A2DP 20FABB09B63B
ROLE_OK 20FABB09B63B S
OPEN_OK 11 AVRCP 20FABB09B63B
CONFIG

AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=8 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB09B606
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-09B606
NAME_SHORT=BC9B606
PIN=0000
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK
OPEN_OK 10 A2DP 20FABB09B63B
ROLE_OK 20FABB09B63B S
OPEN_OK 11 AVRCP 20FABB09B63B
CONFIG

AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=8 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB09B606
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-09B606
NAME_SHORT=BC9B606
PIN=0000
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK
STATUS

STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[OFF] BLE[IDLE]
LINK 10 CONNECTED A2DP 20FABB09B63B SUSPENDED APTX_HD SNK 48000
LINK 11 CONNECTED AVRCP 20FABB09B63B STOPPED
OK