expectedResponseLength property

int? expectedResponseLength
final

How many bytes of response the command asks for, or null when it asks for none.

Null and zero are different, and only null can be sent: a short Le byte of 0x00 means 256 and an extended Le of 0x0000 means 65536, so nothing encodes "answer with no bytes". Zero is rejected rather than quietly turned into 256.

Implementation

final int? expectedResponseLength;