azureeyemodule/app/iot/iot_update.cpp
static void update_model(const secure::SecureAIParams &params)
{
    if (update_cb == nullptr)
    {
        util::log_info("Attempting to update the model with the secure AI functions before a callback function is set.");
        return;
    }

    // Update the model
    (*update_cb)(params.to_string(), true);
}
/** Update via the secure AI lifecycle pathway. */
Update via the secure AI lifecycle pathway.
Update via the secure AI lifecycle pathway .
static void update_model(const secure::SecureAIParams &params)
{
    if (update_cb == nullptr)
    {
        util::log_info("Attempting to update the model with the secure AI functions before a callback function is set.");
        return;
    }
    (*update_cb)(params.to_string(), true);
}
static void update_model ( const secure :: SecureAIParams & params ) { if ( update_cb == nullptr ) { util :: log_info ( " " ) ; return ; } ( * update_cb ) ( params . to_string ( ) , true ) ; }
Update via the secure AI lifecycle pathway.
Update via the secure AI lifecycle pathway .
// Update the model