| EDGESEC
    0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
    Secure router - reference implementation | 
File containing the definition of the supervisor service. More...
#include "supervisor_config.h"Go to the source code of this file.
| Functions | |
| struct mac_conn_info | get_mac_conn_cmd (uint8_t mac_addr[], void *mac_conn_arg) | 
| Return a mac_conn_info for a given MAC address.  More... | |
| void | ap_service_callback (struct supervisor_context *context, uint8_t mac_addr[], enum AP_CONNECTION_STATUS status) | 
| The AP service callback.  More... | |
| int | run_supervisor (char *server_path, unsigned int port, struct supervisor_context *context) | 
| Executes the supervisor service.  More... | |
| void | close_supervisor (struct supervisor_context *context) | 
| Closes the supervisor service.  More... | |
File containing the definition of the supervisor service.
| void ap_service_callback | ( | struct supervisor_context * | context, | 
| uint8_t | mac_addr[], | ||
| enum AP_CONNECTION_STATUS | status | ||
| ) | 
The AP service callback.
| context | The supervisor context | 
| mac_addr | The STA mac address | 
| status | The STA connection status | 
| void close_supervisor | ( | struct supervisor_context * | context | ) | 
Closes the supervisor service.
| context | The supervisor structure | 
| struct mac_conn_info get_mac_conn_cmd | ( | uint8_t | mac_addr[], | 
| void * | mac_conn_arg | ||
| ) | 
Return a mac_conn_info for a given MAC address.
| mac_addr | The input MAC adderss | 
| mac_conn_arg | The supervisor_context pointer | 
| int run_supervisor | ( | char * | server_path, | 
| unsigned int | port, | ||
| struct supervisor_context * | context | ||
| ) | 
Executes the supervisor service.
| server_path | The domain socket path | 
| port | The UDP port | 
| context | The supervisor structure |