                                                      MakeCommandCallback<HubFanControlResponse>(cb, client_data));
  return result;
}

livox_status HubGetFanState(HubGetFanStateRequest *req, 
                            uint16_t length, 
                            HubGetFanStateCallback cb, 
                            void *client_data) {
  if (device_manager().device_mode() != kDeviceModeHub) {
    return kStatusNotSupported;