Device Information
Each transport capability exposes device information and reset-flag queries, but data sources and prerequisites differ.
Query through BLE
const bleInfo = await device.bleCapability.getDeviceInfo(device);This connects to the device and reads module, MCU, and protocol version information.
await device.bleCapability.queryResetFlag(device);Query through LAN
const lanInfo = await device.lanCapability.getDeviceInfo(device);await device.lanCapability.queryResetFlag(device);Query through MQTT
The MQTT implementation reads version information from the bound-device profile:
const cloudInfo = await device.mqttCapability.getDeviceInfo(device);
// Equivalent: const cloudInfo = await GizMqttManager.getDeviceInfo(device);await device.mqttCapability.queryResetFlag(device);These Promises throw when the device is offline, its bound profile is missing, authentication fails, or an operation times out. The device-report flow handles the reset-flag response.