Commit Graph

14 Commits

Author SHA1 Message Date
H1ghBre4k3r 80cba23823 Format ens files and add .clang-format file 2021-05-25 18:06:15 +02:00
H1ghBre4k3r 522a2aab9d Use binary search in init_timerange 2021-05-25 18:06:15 +02:00
H1ghBre4k3r aa17d584b3 Implement ens_records_iterator_init_timerange via binary search 2021-05-25 18:06:15 +02:00
H1ghBre4k3r 9e52f3c3c4 Fix incompatible pointer in ens_fs and comment unneeded variables out 2021-05-25 18:06:15 +02:00
H1ghBre4k3r b2d89d5d03 Implement error codes and use them throughout ens_fs 2021-05-25 18:06:15 +02:00
H1ghBre4k3r c8607507b7 Use record_t for storing contacts 2021-05-25 18:06:15 +02:00
H1ghBre4k3r 9ae226d50b Implement correct read using crc and deleted flag and implement deletion 2021-05-25 18:06:15 +02:00
H1ghBre4k3r ca35b6a82c Delete page before incrementing sn 2021-05-25 18:06:15 +02:00
H1ghBre4k3r bf9ad9cbec Store CRC and 'not-deleted' flag in last byte of each entry 2021-05-25 18:06:15 +02:00
H1ghBre4k3r c4f035246b Store contacts in ens_fs 2021-05-25 18:06:15 +02:00
H1ghBre4k3r 30dc3c31eb Init ens_fs in storage.c 2021-05-25 18:06:15 +02:00
H1ghBre4k3r 725259cfce Use NVS to store storage information 2021-05-25 18:06:15 +02:00
H1ghBre4k3r cfa29284a3 Move sequence-number utils to ens folder aswell 2021-05-25 18:06:15 +02:00
H1ghBre4k3r d38996a021 Implement ens_fs and move ens stuff to ens directory 2021-05-25 18:06:15 +02:00