QN9080 cannot send more than 20 bytes through QPP service. Is there any way to increase it?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

QN9080 cannot send more than 20 bytes through QPP service. Is there any way to increase it?

859 次查看
cicerodomingosj
Contributor II

Hello everybody,


I would like to know how to increase QPP tx packet size. I tried to increase the value length in the characteristic declaration but does not affect the transmission: sending data with length above 20 bytes appears no arrives in the client.

Any idea?

标签 (1)
  • QN

3 回复数

752 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Could you please refer to this post ?

How to increase MTU size b/w qn9080 and Android 

Regards,
Estephania

752 次查看
cicerodomingosj
Contributor II

Hello Estephania,

Thanks.

The following steps were taken to resolve:

- Increased MTU size to 192 bytes in ble_constants.h, below to max ATT size found in Bluetooth 4.2 specification;

- Increased characteristic value size in gatt_db.h;

- Increased max payload size (CFG_MAX_MPS) to 192 bytes in qn_ble_config.h;

- On Android application, after BLE connect event, negotiate a new MTU size (mBluetoothGatt.requestMtu(MTUSIZE));

After these steps, exchange data with 192 bytes becomes possible.

 

 

Regards,

Cicero

0 项奖励

752 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

it is good that you solve it.

Regards ,

Estephania

0 项奖励