def _setDeviceID(self, value, device, message):
        """
        Set the hardware device number. This is only needed if more that one
        device is on the same serial buss.

        :Parameters:
          value : `int`
            The device ID to set in the range of 0 - 127.
          device : `int`
            The device is the integer number of the hardware devices ID and
            is only used with the Pololu Protocol.
          message : `bool`
            If set to `True` a text message will be returned, if set to `False`
            the integer stored in the Qik will be returned.

        :Returns:
          A text message or an int. See the `message` parameter above. If
          `value` and `device` are the same `OK` or `0` will be returned
          depending on the value of `message`.
        """
        if value != device:
            result = self._setConfig(self.DEVICE_ID, value, device, message)
            self._deviceConfig[value] = self._deviceConfig.pop(device)
        elif message:
            result = self._CONFIG_RETURN.get(0)
        elif not message:
            result = 0

        return result