Skip to main content

Module app_frame

Module app_frame 

Source
Expand description

Selected call-app task framing. Only the explicitly negotiated crypto0 app session is supported. Host transport authentication and media AEAD are separate. These functions prepare/parse bytes; they do not send or retry an operation.

Structs§

AppFrameParameters
Selected SDK/device and host configuration. The app’s cloud-device string is distinct from its fresh 32-byte auth device and the host account device ID.
TaskFrame
A decoded app task header. Values may contain private identities, so no Debug.

Functions§

decode_transfer_reply
Parse an authenticated successful host11421 CommonResponse body. Every inner result remains independently checked, including delegate/task/app/Cloud. Return the Cloud operation body only after successful complete framing.
lz4_decode
lz4_literal
Raw LZ4 literal block. This is legal block syntax, not a framed LZ4 file.
prepare_transfer
Build the Cloud app request, selected AppInstance task frame, then host11421 delegate. The full accepted app UIN goes into header2 and22. It is not the host UIN, a request counter or a value to narrow through JavaScript floats.