StaticcheckChecks if the ESP device supports challenge-response authentication flow. Challenge-response is indicated by "ch_resp" in the device's rmaker_extra.cap array
The version info object from the ESP device
true if challenge-response is supported, false otherwise
StaticcreateStaticparseParses the device response from challenge-response protocol and validates format (success, nodeId, signedChallenge present, signedChallenge is valid hex).
StaticvalidateValidates challenge response format (success, nodeId, signedChallenge as hex).
Challenge-response helper for ESP RainMaker provisioning flow. Handles protobuf creation, device communication, and response parsing.