The SimpleLink Bluetooth low energy CC2640R2F device contains a 32-bit ARM® Cortex®-M3 core that runs at 48 MHz as the main processor,Bluetooth low energy controller and host libraries are embedded in ROM and run partly on an ARM® Cortex®-M0 processor…
如果您需要读取大于ATT_MTU大小的特征,则需要使用Real Long,例如,GATT_ReadLongCharValue和GATT_WriteLongCharValue
您需要修改ble_user_config.h内的 MAX_PDU_SIZE . 然后,您需要根据自己的蓝牙特性更改长度。直接在 simple profile 上进行修改感觉有些复杂。建议您最好创建一个自定义的custom Bluetooth Service.
// Maximum size in bytes of the…