Check if challenge-response support is available
Promise resolving to boolean indicating support
OptionalcheckCheck whether this device represents an "on-network" target (already on
the user's Wi-Fi, discovered via mDNS). Used by useProvision to pick
the LAN-HTTP challenge-response flow vs. the BLE/SoftAP Wi-Fi flow —
same dispatch pattern as checkChallengeResponseSupport for chal-resp
vs. MQTT.
Optional: adaptors / device transformers that don't construct on-network
provisioning devices may omit this method; the entity wrapper defaults
to false.
Promise resolving to true for on-network devices, false otherwise.
Connect to the device
Promise resolving to connection status
Disconnect from the device
Promise resolving when disconnected
Get device capabilities
Promise resolving to array of capability strings
Get device version information
Promise resolving to version info object
Initialize session with the device
Promise resolving to boolean indicating success
Initiate user-node mapping (challenge-response flow)
Optionalparams: Record<string, any>Optional parameters
Promise resolving to mapping response with challenge
Provision device with WiFi credentials (traditional flow)
WiFi SSID
WiFi password
OptionalonProgress: ESPCDFProvisionProgressCallbackOptional progress callback
OptionalhomeId: stringOptional home/group ID for node association
OptionalprovisionType: stringOptional provision type (challenge-response or mqtt)
Optionaloptions: Record<string, any>Promise resolving when provisioning completes
Scan for available WiFi networks
Promise resolving to array of WiFi networks
Send data to the device
End point
Data to send
Promise resolving to the response
Set network credentials directly (for challenge-response flow)
WiFi SSID
WiFi password
Promise resolving to status code (0 = success)
Set proof of possession (POP) code
The POP code string
Promise resolving to boolean indicating success
Start assisted claiming
OptionalonProgress: FunctionOptional progress callback
OptionalclaimCapability: stringOptional claim capability
Promise resolving when claiming completes
Verify user-node mapping (challenge-response flow)
Verification parameters including requestId, challengeResponse, nodeId
Promise resolving to verification response
Provisioning device operations interface Defines all methods available on a provisioning device