api.h 277 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef DOOR_CONTROLLER_MAIN_API_H_
#define DOOR_CONTROLLER_MAIN_API_H_

#include <stdbool.h>

// Requires door_wifi to be initialized

/**
 * @param code MUST be null terminated
 * @return
 */
bool door_api_verify_code(const char* code);

#endif //DOOR_CONTROLLER_MAIN_API_H_