How to send more than 20 bytes data over ble in android?

后端 未结 4 531
终归单人心
终归单人心 2020-12-16 23:15

I am trying to send more than 33 bytes using simple loops, Is anybody has idea how to send more than 20 bytes data over android ble.

if(!mConnected) return;
         


        
4条回答
  •  忘掉有多难
    2020-12-16 23:42

    Some embedded bluetooth LE implementations limit the size of a characteristic to be 20 bytes. I know that the Laird BL600 series does this. This is limitation of the Laird module, even though the BLE spec calls for the max length to be longer. Other embedded BLE solutions have similar limits. I suspect this is the limitation that you are encountering.

提交回复
热议问题