getSerialId method

int getSerialId()

Returns the sensor serial ID.

Implementation

int getSerialId() {
  var response =
      _command(cmdGetSerialId, cmdGetSerialIdWords, cmdGetSerialDelayMs);

  return (response[0] << 32) | (response[1] << 16) | response[2];
}