BC127 BLE read longer than MTU


#1

Hi,

I am using a custom BLE database with the BC127 module.

I would like to read a characteristic value longer than the MTU size of the current connection with a phone.

I tested a long read of 64 bytes (0x80 in ASCII format) with a Samsung Galaxy Core Android phone and BLE Scanner app. The MTU negotiated is 23.

I received only the first 20 bytes of the characteristic value and BLE_READ commands of the same handle are received again forever, but no new BLE read was requested.

Here is the result of the test :

BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready

ERROR 0x0012
RESTORE
SET UART_CONFIG=115200 ON 0


GET LOCAL_ADDR
LOCAL_ADDR=20FABB06EF3F
OK
SET NAME_SHORT=DFUEF3F
OK
SET PROFILES=0 0 0 0 0 1 0 0 0 0 0 0
OK
WRITE
OK
RESET
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready
ble_set_db 62
PENDING
0002 0118 3005
PENDING
2003 0005 2A00
PENDING
DC00 6C00 0002
PENDING
0A18 3005 0207
PENDING
0029 2A00 DC00
PENDING
3005 0209 0024
PENDING
2A00 DC00 3005
PENDING
020B 0027 2A00
PENDING
DC00 3005 020D
PENDING
0026 2A00 DC00
PENDING
3005 020F 0025
PENDING
2A00 DC00 3005
PENDING
0211 0028 2A00
PENDING
DC00 0010 8B71
PENDING
9FF8 D50E 67B4
PENDING
E811 F43B C4E5
PENDING
F2F7 3013 0414
PENDING
008B 719F F8D5
PENDING
0E67 B4E8 11F5
PENDING
3B1E AFED 0100
PENDING
CC00 3013 1816
PENDING
008B 719F F8D5
PENDING
0E67 B4E8 11F5
PENDING
3B76 F463 2A00
PENDING
CC00 6C00 3013
PENDING
0A19 00A2 24B7
PENDING
972B 0E5F B907
PENDING
4CA2 C09E C834
PENDING
7A00 CC00 3013
PENDING
0A1B 00BC BE1B
PENDING
E07A FA2D 9CE8
PENDING
1119 59A2 801B
PENDING
2400 CC00
OK
SET BLE_CONFIG=0 ON 131 ON
OK
GET UART_CONFIG
UART_CONFIG=115200 ON 0
OK
OPEN_OK 14 BLE B4EF39094082
STATUS 14
LINK 14 CONNECTED BLE B4EF39094082 23
OK
BLE_READ 14 0019
BLE_READ_RES 14 0019 80
PENDING
FB35C0649944FFBF84D207F277EF2E869F1E9EA605A3973D3C9DBA6C71691202E1A3FBF74733E266440A57D9538793902E4386C6386CBAB2BA30368016054C5BOK
BLE_READ 14 0019
BLE_READ_RES 14 0019 80
PENDING
FB35C0649944FFBF84D207F277EF2E869F1E9EA605A3973D3C9DBA6C71691202E1A3FBF74733E266440A57D9538793902E4386C6386CBAB2BA30368016054C5BOK
(BLE_READ repeats forever without send a new read request...)

Can you tell me how to do read a characteristic value with a length more than the MTU?
It is supposed to be supported as part of Bluetooth Low Energy standard.

Thank you