nn::boss::TaskActionConfig Structure

Syntax

struct TaskActionConfig
{
   Action action;
   u8 privateRootCA;
   u8 privateClientCert;
   ApInfoType infoAP;
   FileDescriptor fDesc;
   CfgInfoType infoCfg;
   u32 execSerialId;
   u32 offset;
   nn::os::Event * event;
   nn::Handle fileHandle;
   char url[MAX_URL_LENGTH];
   struct nn::boss::TaskActionConfig::HhttpRequestHeader httpRequestHeader[MAX_HTTP_HEADER];
   u32 rootCA[MAX_ROOT_CA];
   u32 clientCert[MAX_CLIENT_CERT];
   u32 rootCANum;
   u32 clientCertNum;
   char lastModified[MAX_LASTMODIFIED_LENGTH];
};

Description

Definition of an internal structure that maintains attribute information for the TaskAction class.

Member Variables

action Action Code for the task type.
privateRootCA u8 Flag for enabling a private root certificate.
privateClientCert u8 Flag for enabling a private client certificate.
infoAP ApInfoType Type for access point information for attaching AP information to an HTTP query.
fDesc FileDescriptor File descriptor type.
infoCfg CfgInfoType Type for access point information for attaching system settings to an HTTP query.
execSerialId u32 Event for startup tasks. (This is provided for future extensibility and cannot be used.)
offset u32 The offset from the starting position of the data specified by the URL.
event nn::os::Event * Event for startup tasks. (This is provided for future extensibility and cannot be used.)
fileHandle nn::Handle The file handle targeted by the task.
url char Target URL.
httpRequestHeader struct nn::boss::TaskActionConfig::HhttpRequestHeader Structure for URL option request headers.
rootCA u32 The internal root certificate for HTTPS communication.
clientCert u32 The built-in client certificate for HTTPS communication.
rootCANum u32 The number of built-in root certificates to specify.
clientCertNum u32 Number of configured built-in client certificates.
lastModified char The "Last-Modified" date and time to set in the HTTP request header.

CONFIDENTIAL