static int getElinkCmdSum(List<int> payload) { return payload.fold(0, (prev, element) => prev + element) & 0xFF; }