Skip to content

read Characteristic value max length is 20 ? #19

@torretorich

Description

@torretorich

hello @Ficat
i am calling this function in notify call back to read the data that come from my BLE device

@Override
        public void onCharacteristicChanged(byte[] data, BleDevice device) {
          readValue = new String(data);
          System.out.println(data.length);
        }

and i get length of data is 20 and my ble device send data of 50 to 60 character string.
how can i increase the size of the data to read all value that come from my BLE device?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions