azureeyemodule/app/iot/iot_update.cpp
static void update_model(const std::string &data)
{
    if (update_cb == nullptr)
    {
        util::log_info("Attempting to update model before the model callback function is set.");
        return;
    }

    // Update the model
    (*update_cb)(data, false);
}
/** Update the neural network model using the callback */
Update the neural network model using the callback
Update the neural network model using the callback
static void update_model(const std::string &data)
{
    if (update_cb == nullptr)
    {
        util::log_info("Attempting to update model before the model callback function is set.");
        return;
    }
    (*update_cb)(data, false);
}
static void update_model ( const std :: string & data ) { if ( update_cb == nullptr ) { util :: log_info ( " " ) ; return ; } ( * update_cb ) ( data , false ) ; }
Update the neural network model using the callback
Update the neural network model using the callback
// Update the model