Skip to main content
Version: Dev (main)

QarOnboardCodeExt Struct

Extension: onboard with a short pairing code minted for the hub's operators. More...

Declaration​

struct QarOnboardCodeExt { ... }

Included Headers​

Public Member Attributes Index​

const char *code
QarStructureHeaderheader

Description​

Extension: onboard with a short pairing code minted for the hub's operators.

Deprecated

Join with QarOnboardLocalAppExt (a source app on the QAROS PC), as a co-process with QarOnboardInviteExt and the invite of qar_session_request_onboarding_invite, or through a member hub. Kept working for applications that already use it.

Without QarOnboardHostExt it finds this user's hub: first through the hub-endpoint.json file the hub writes to the QAROS data root, then through a discovery beacon whose owner is this user, listening up to 6 s. When neither answers, onboarding fails with QAR_STATUS_ONBOARDING_HUB_UNREACHABLE asking for the hub's host:port. To reach a specific hub, chain QarOnboardHostExt.

Definition at line 1878 of file qar_streaming.h.

Public Member Attributes​

code​

const char* QarOnboardCodeExt::code

Required; short pairing code minted for the hub's operators (the QAROS Visualizer shows none: its hub join code is for another hub only), or an addressed code (qar-code:...) an app is given by hand. Copied before the call returns. QAROS hands an app it launches a full invite instead: use qar_onboarding_invite_deserialize and QarOnboardInviteExt for that.

Definition at line 1888 of file qar_streaming.h.

header​

QarStructureHeader QarOnboardCodeExt::header

QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_CODE_EXT

Definition at line 1881 of file qar_streaming.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.