le_avc_common.h
Go to the documentation of this file.
31 //--------------------------------------------------------------------------------------------------35 //--------------------------------------------------------------------------------------------------38 //--------------------------------------------------------------------------------------------------42 //--------------------------------------------------------------------------------------------------45 //--------------------------------------------------------------------------------------------------49 //--------------------------------------------------------------------------------------------------52 //--------------------------------------------------------------------------------------------------56 //--------------------------------------------------------------------------------------------------59 //--------------------------------------------------------------------------------------------------63 //--------------------------------------------------------------------------------------------------66 //--------------------------------------------------------------------------------------------------70 //--------------------------------------------------------------------------------------------------73 //--------------------------------------------------------------------------------------------------77 //--------------------------------------------------------------------------------------------------80 //--------------------------------------------------------------------------------------------------84 //--------------------------------------------------------------------------------------------------87 //--------------------------------------------------------------------------------------------------90 //--------------------------------------------------------------------------------------------------93 //--------------------------------------------------------------------------------------------------97 //--------------------------------------------------------------------------------------------------100 //--------------------------------------------------------------------------------------------------103 //--------------------------------------------------------------------------------------------------106 //--------------------------------------------------------------------------------------------------110 //--------------------------------------------------------------------------------------------------113 //--------------------------------------------------------------------------------------------------117 //--------------------------------------------------------------------------------------------------120 //--------------------------------------------------------------------------------------------------124 //--------------------------------------------------------------------------------------------------127 //--------------------------------------------------------------------------------------------------131 //--------------------------------------------------------------------------------------------------134 //--------------------------------------------------------------------------------------------------138 //--------------------------------------------------------------------------------------------------141 //--------------------------------------------------------------------------------------------------144 //--------------------------------------------------------------------------------------------------147 //--------------------------------------------------------------------------------------------------150 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------159 //--------------------------------------------------------------------------------------------------162 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------168 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------174 //--------------------------------------------------------------------------------------------------177 //--------------------------------------------------------------------------------------------------180 //--------------------------------------------------------------------------------------------------183 //--------------------------------------------------------------------------------------------------186 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------198 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------207 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------213 //--------------------------------------------------------------------------------------------------216 //--------------------------------------------------------------------------------------------------219 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------225 //--------------------------------------------------------------------------------------------------228 //--------------------------------------------------------------------------------------------------231 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------237 //--------------------------------------------------------------------------------------------------240 //--------------------------------------------------------------------------------------------------243 //--------------------------------------------------------------------------------------------------246 //--------------------------------------------------------------------------------------------------249 //--------------------------------------------------------------------------------------------------252 //--------------------------------------------------------------------------------------------------255 //--------------------------------------------------------------------------------------------------258 //--------------------------------------------------------------------------------------------------261 //--------------------------------------------------------------------------------------------------264 //--------------------------------------------------------------------------------------------------267 //--------------------------------------------------------------------------------------------------270 //--------------------------------------------------------------------------------------------------273 //--------------------------------------------------------------------------------------------------276 //--------------------------------------------------------------------------------------------------279 //--------------------------------------------------------------------------------------------------282 //--------------------------------------------------------------------------------------------------285 //--------------------------------------------------------------------------------------------------288 //--------------------------------------------------------------------------------------------------291 //--------------------------------------------------------------------------------------------------295 //--------------------------------------------------------------------------------------------------298 //--------------------------------------------------------------------------------------------------302 //--------------------------------------------------------------------------------------------------305 //--------------------------------------------------------------------------------------------------309 //--------------------------------------------------------------------------------------------------312 //--------------------------------------------------------------------------------------------------316 //--------------------------------------------------------------------------------------------------319 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------326 //--------------------------------------------------------------------------------------------------332 //--------------------------------------------------------------------------------------------------394 //--------------------------------------------------------------------------------------------------398 //--------------------------------------------------------------------------------------------------415 //--------------------------------------------------------------------------------------------------419 //--------------------------------------------------------------------------------------------------430 //--------------------------------------------------------------------------------------------------434 //--------------------------------------------------------------------------------------------------449 //--------------------------------------------------------------------------------------------------457 //--------------------------------------------------------------------------------------------------486 //--------------------------------------------------------------------------------------------------491 //--------------------------------------------------------------------------------------------------504 //--------------------------------------------------------------------------------------------------508 //--------------------------------------------------------------------------------------------------523 //--------------------------------------------------------------------------------------------------527 //--------------------------------------------------------------------------------------------------536 //--------------------------------------------------------------------------------------------------540 //--------------------------------------------------------------------------------------------------544 //--------------------------------------------------------------------------------------------------548 //--------------------------------------------------------------------------------------------------552 //--------------------------------------------------------------------------------------------------556 //--------------------------------------------------------------------------------------------------560 //--------------------------------------------------------------------------------------------------564 //--------------------------------------------------------------------------------------------------568 //--------------------------------------------------------------------------------------------------572 //--------------------------------------------------------------------------------------------------574 (591 //--------------------------------------------------------------------------------------------------595 //--------------------------------------------------------------------------------------------------597 (604 //--------------------------------------------------------------------------------------------------608 //--------------------------------------------------------------------------------------------------610 (620 //--------------------------------------------------------------------------------------------------624 //--------------------------------------------------------------------------------------------------631 //--------------------------------------------------------------------------------------------------635 //--------------------------------------------------------------------------------------------------642 //--------------------------------------------------------------------------------------------------646 //--------------------------------------------------------------------------------------------------653 //--------------------------------------------------------------------------------------------------659 //--------------------------------------------------------------------------------------------------669 //--------------------------------------------------------------------------------------------------673 //--------------------------------------------------------------------------------------------------681 //--------------------------------------------------------------------------------------------------687 //--------------------------------------------------------------------------------------------------697 //--------------------------------------------------------------------------------------------------701 //--------------------------------------------------------------------------------------------------709 //--------------------------------------------------------------------------------------------------715 //--------------------------------------------------------------------------------------------------725 //--------------------------------------------------------------------------------------------------729 //--------------------------------------------------------------------------------------------------737 //--------------------------------------------------------------------------------------------------748 //--------------------------------------------------------------------------------------------------754 //--------------------------------------------------------------------------------------------------770 * @note DM servers may have different capabilities in terms of which LWM2M objects they support.774 * @note To initiate a session with AirVantage server, it's preferable to use le_avc_StartSession()785 //--------------------------------------------------------------------------------------------------796 //--------------------------------------------------------------------------------------------------801 * otherwise if the user agreement is disabled, a new connection is automatically initiated in order809 //--------------------------------------------------------------------------------------------------815 //--------------------------------------------------------------------------------------------------817 * Send a specific message to the server to be sure that the route between the device and the server819 * This API needs to be called when any package download is over (successfully or not) and before828 //--------------------------------------------------------------------------------------------------834 //--------------------------------------------------------------------------------------------------842 //--------------------------------------------------------------------------------------------------850 //--------------------------------------------------------------------------------------------------858 //--------------------------------------------------------------------------------------------------864 //--------------------------------------------------------------------------------------------------872 //--------------------------------------------------------------------------------------------------880 //--------------------------------------------------------------------------------------------------888 //--------------------------------------------------------------------------------------------------894 //--------------------------------------------------------------------------------------------------902 //--------------------------------------------------------------------------------------------------910 //--------------------------------------------------------------------------------------------------918 //--------------------------------------------------------------------------------------------------924 //--------------------------------------------------------------------------------------------------932 //--------------------------------------------------------------------------------------------------940 //--------------------------------------------------------------------------------------------------951 //--------------------------------------------------------------------------------------------------957 //--------------------------------------------------------------------------------------------------965 //--------------------------------------------------------------------------------------------------973 //--------------------------------------------------------------------------------------------------981 //--------------------------------------------------------------------------------------------------989 //--------------------------------------------------------------------------------------------------997 //--------------------------------------------------------------------------------------------------1007 //--------------------------------------------------------------------------------------------------1015 //--------------------------------------------------------------------------------------------------1021 //--------------------------------------------------------------------------------------------------1025 //--------------------------------------------------------------------------------------------------1033 //--------------------------------------------------------------------------------------------------1041 //--------------------------------------------------------------------------------------------------1047 //--------------------------------------------------------------------------------------------------1055 //--------------------------------------------------------------------------------------------------1061 //--------------------------------------------------------------------------------------------------1068 //--------------------------------------------------------------------------------------------------1074 //--------------------------------------------------------------------------------------------------1083 //--------------------------------------------------------------------------------------------------1091 //--------------------------------------------------------------------------------------------------1100 //--------------------------------------------------------------------------------------------------1110 //--------------------------------------------------------------------------------------------------1119 //--------------------------------------------------------------------------------------------------1137 //--------------------------------------------------------------------------------------------------1145 //--------------------------------------------------------------------------------------------------1157 //--------------------------------------------------------------------------------------------------1165 //--------------------------------------------------------------------------------------------------1173 //--------------------------------------------------------------------------------------------------1182 //--------------------------------------------------------------------------------------------------1192 //--------------------------------------------------------------------------------------------------1205 //--------------------------------------------------------------------------------------------------1211 //--------------------------------------------------------------------------------------------------1219 //--------------------------------------------------------------------------------------------------1229 //--------------------------------------------------------------------------------------------------1237 //--------------------------------------------------------------------------------------------------1247 //--------------------------------------------------------------------------------------------------1256 //--------------------------------------------------------------------------------------------------1274 //--------------------------------------------------------------------------------------------------1279 * When data need to be sent by the client, a check is made between this NAT timeout value and the1286 //--------------------------------------------------------------------------------------------------1294 //--------------------------------------------------------------------------------------------------1302 //--------------------------------------------------------------------------------------------------Definition: le_avc_common.h:462Definition: le_avc_common.h:365Package is not certified sent by a trusted server.Definition: le_avc_common.h:386Definition: le_avc_common.h:474Definition: le_avc_common.h:465Device Management credential is provisioned.Definition: le_avc_common.h:517Definition: le_avc_common.h:373struct le_avc_CommInfoHandler * le_avc_CommInfoHandlerRef_tDefinition: le_avc_common.h:557Package is certified sent by a trusted server.Definition: le_avc_common.h:384Not enough space in flash to store the package.Definition: le_avc_common.h:480void(* le_avc_CommInfoHandlerFunc_t)(uint8_t code, const char *LE_NONNULL str, void *contextPtr)Definition: le_avc_common.h:610Definition: le_avc_common.h:378Definition: le_avc_common.h:511struct le_avc_BlockRequest * le_avc_BlockRequestRef_tDefinition: le_avc_common.h:565Definition: le_avc_common.h:514void(* le_avc_StatusHandlerFunc_t)(le_avc_Status_t updateStatus, int32_t totalNumBytes, int32_t progress, void *contextPtr)Definition: le_avc_common.h:574void(* le_avc_SessionRequestHandlerFunc_t)(le_avc_SessionRequest_t request, void *contextPtr)Definition: le_avc_common.h:597Definition: le_avc_common.h:471Definition: le_avc_common.h:477Definition: le_avc_common.h:468Definition: le_avc_common.h:368struct le_avc_SessionRequestEventHandler * le_avc_SessionRequestEventHandlerRef_tDefinition: le_avc_common.h:549Definition: le_avc_common.h:381Install is pending (implies download complete)Definition: le_avc_common.h:345struct le_avc_StatusEventHandler * le_avc_StatusEventHandlerRef_tDefinition: le_avc_common.h:541Session with AirVantage device management server started.Definition: le_avc_common.h:361