Mistake on this page? Email us
edge_server_customer_code.h File Reference

Edge server customer code. More...

#include "edge-client/edge_client.h"

Go to the source code of this file.

Functions

bool edgeserver_execute_rfs_customer_code (edgeclient_request_context_t *request_ctx)
 Called when reset factory settings is requested from Cloud. More...
 

Detailed Description

Edge server customer code.

This file contains hooks for a customer implementation. For example, when factory reset is called from Device Management, edgeserver_execute_rfs_customer_code is called.
The customers may implement their own implementation for reset factory settings.
This function should always return within a reasonable time, ideally within a few seconds.
If the settings are reset successfully the Edge server will gracefully shutdown to be restarted.