function readOnlineValue(online) {
  return online ? '1' : '0';
}
@description Convert online state.
@param {boolean} online - Online device state.
@returns {string} Return the prefix, the device ID and the channel count.
@example
readOnlineValue(true);