Getting"Input size exceeds 20 bytes, maximum input size 20 byte"

3 ビュー (過去 30 日間)
Satyendra Gupta
Satyendra Gupta 2019 年 3 月 3 日
コメント済み: Walter Roberson 2019 年 3 月 4 日
I am getting this error when using BLE send block from Simulink SupportPackage for Android sensors. I am trying to compare the outpur of Camera block and pass a constant using a switch to the BLE send block
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 3 月 4 日
I would have thought a camera block would return a fair bit of data, and I would have thought that it would tend to have noise, and that therefore comparing two frames for equality is unlikely to work ?
Anyhow, it sounds like you have too much data for Bluetooth Low Energy.


回答 (1 件)

Sruthi Yenugula
Sruthi Yenugula 2019 年 3 月 4 日
Hi Satyendra,
Maximum no of bytes you can send through BLE Send block is 20 bytes i.e Input of BLE Send cannot exceed 20 bytes. Make sure Input is less than 20 bytes

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by