public int getBatchIndex() {
                return batchIndex;
            }
Get the batch index of the failed write request

@return the zero-based batch index
rxandroidble/src/main/java/com/polidea/rxandroidble2/RxBleConnection.java