On this page

openDeviceGWSubSearchConfigure(params?: GwIdParams)

Requires:
@ray-js/ray≥1.7.60

Description

Open the gateway panel’s pairing search page to search for and add sub-devices

Parameters

ParameterTypeRequiredDescription
NoGateway parameters

Return Value

Type: Promise<void>
void

Examples

import { openDeviceGWSubSearchConfigure } from '@ray-js/ray';

const openSearchPage = async () => {
  try {
    await openDeviceGWSubSearchConfigure({ gwId: 'gateway_001' });
    console.log('Opened the pairing search page');
  } catch (err) {
    console.error('Open failed:', err);
  }
};

Notes

  • IDE simulator and real device debugging environments are currently not supported