How to enter Data mode in BLE profile

Hi all,

I have a BC127 which works great. I have a data link and an audio link up and running with an iOS device and a host Microcontroller connected to the BC127 via serial port.

I now need to transfer data at high rates between an iOS app and the MCU via the BC127 module. The problem is that the connection with the iOS device is stablished over the BLE profile which doesn’t allow using the ENTER_DATA command. This means that I have to use the “SEND \r” command each time I want to send some data from the MCU to the iOS app. This is really slow as I need to wait for the “OK” acknowledge from the module each time I send data to it.

Is there any way I can enter the Data mode when using the BLE profile (maybe through a firmware update)?

Alternatively, is there any way I can connect to an iOS device via the SPP profile (which does seem to allow using the Data mode)?

On another matter, I can’t seem to find any place to download the Melody DFU firmware upgrade utility. I have found this page:
https://source.sierrawireless.com/resources/airprime/software/bc127-firmware-upgrade-tool/ but it leads nowhere…

Thank you all in advance for any detail that can be provided.

Manuel

Hi all,

I have found the DFU utility in this website csrsupport.com/ as BlueSuite.

However, I still can’t enter Data mode under BLE so any insight will be very much appreciated.

Regards.

Manuel

Manuel,

You can use the ENTER_DATA_MODE command with a BLE link. As stated in thr user manual ‘The parameter link can be any active BLE, iAP or SPP link.’ I have shown an example below against Android.

BlueCreation Copyright 2017
Melody Audio V6.1.8 RC3
Build: 1509623096
Ready
advertising on
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=0 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=20FABB075DD3
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-075DD3
NAME_SHORT=BC75DD3
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 13 HFP 04C23E048A70
ROLE_OK 04C23E048A70 S
OPEN_OK 10 A2DP 04C23E048A70
ROLE_OK 04C23E048A70 S
ROLE_OK 04C23E048A70 S
OPEN_OK 11 AVRCP 04C23E048A70
OPEN_OK 24 BLE 70FCCB69D938      //Started a BLE link with melody smart app
ENTER_DATA_MODE 24
OK
sfgsfhjsfhjsfjsfjsfhjsfjsyyjetyfghffngfvg#

The updater tool is no longer on the site because not all of the code was ours.

Re the SPP on iOS, the answer is no, they have barred the use of SPP require you to use the iAP profile, unfortunately to use the iAP profile you need to be running their authentication chip in your application and go through the MFi program to get the application approved nd be running an MFi release from us which we are not allowed to give customers without checking you are on the MFi program.

Regards

Matt