diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-09-07 17:04:34 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-09-07 17:04:34 +0800 |
| commit | 276856de6c63bbbf3e56cc08dcca00ba10080b7e (patch) | |
| tree | c68484bc312cc3a8abcea4fa9f4948a6f1f65cc6 /lock/fpm.h | |
| parent | f4b0b734a595919cf451ab9448b06274c8e609a4 (diff) | |
| download | smart-home-master.tar.gz | |
Diffstat (limited to 'lock/fpm.h')
| -rw-r--r-- | lock/fpm.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/lock/fpm.h b/lock/fpm.h deleted file mode 100644 index 31f53eb..0000000 --- a/lock/fpm.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef FPM_R503_H -#define FPM_R503_H - -#include <stdint.h> - -struct fpm_cfg { - uint16_t status; - uint16_t sysid; - uint16_t cap; - uint16_t sec_level; - uint8_t addr[4]; - uint16_t pkt_size; - uint16_t baud; -}; - -typedef enum { - RED = 0x01, - BLUE = 0x02, - PURPLE = 0x03 -} COLOR; - -uint8_t fpm_init(void); - -uint8_t fpm_get_cfg(struct fpm_cfg *cfg); - -uint8_t fpm_set_pwd(uint32_t pwd); - -void fpm_led_on(COLOR color); - -void fpm_led_off(void); - -uint16_t fpm_get_count(void); - -uint8_t fpm_enroll(void); - -uint16_t fpm_match(void); - -#endif /* FPM_R50_H */ |
