@espressif/rainmaker-base-cdf
    Preparing search index...

    Implements

    Index

    Constructors

    Properties

    __storeCallbacks?: GroupStoreCallbacks
    _raw: any
    customData?: Record<string, any>
    identifier: string
    userInfo: ESPCDFUserInfo

    Methods

    • Add a device that is already on the user's local network using the challenge-response flow (LAN HTTP). The device is identified by mDNS discovery and verified through a cloud-issued challenge that the device signs with its credentials.

      Parameters

      Returns Promise<ESPCDFNode | null>

      Provisioned ESPCDFNode or null if the active adaptor does not support on-network provisioning or the verification did not yield a fetchable node.

    • Parameters

      • name: string
      • transport: string
      • Optionalsecurity: number
      • OptionalproofOfPossession: string
      • OptionalsoftAPPassword: string
      • Optionalusername: string

      Returns Promise<any>

    • Parameters

      • groupId: string
      • options: Record<string, any>

      Returns Promise<any>

    • Fetches groups from all registered SDKs that support group fetching. This method mirrors the functionality of groupStore.syncGroupsList() but is accessible through the user entity and works through callback operations. Calls operations.getGroups() (implemented with access to rootStore), updates groupStore reactively through callbacks, and stores pagination context for on-demand loading.

      Returns Promise<ESPCDFPaginatedAPIResponse<ESPCDFGroup[]>>

      Promise resolving to batch operation result with successful and failed group fetches

    • Returns whether a user NOC is already stored for the given fabric id.

      Parameters

      • fabricId: string

        Matter fabric id

      Returns Promise<boolean>

    • Parameters

      • devicePrefix: string
      • transport: string

      Returns Promise<any[]>

    • Parameters

      • payload: { nodeId: string; payload: any }[]

      Returns Promise<any>

    • Parameters

      • event: string
      • callback: (data: any) => void

      Returns Promise<any>

    • Parameters

      • event: string
      • callback: (data: any) => void

      Returns Promise<any>