1
0
mirror of https://github.com/CovidBraceletPrj/CovidBracelet.git synced 2024-05-29 08:48:15 +02:00
Commit Graph

34 Commits

Author SHA1 Message Date
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
H1ghBre4k3r
f367e22db6 Automatically increment sequence number 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
da234280b8 Add mutex for entire NVS 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
b8eb13f634 Increase NVS to 192 sectors, 16.384 byte each 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
9ddbe15170 Add support for external onboard-storage 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
f1bee6fbe2 Handle contact deletion for contact_information 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
09ac58c30b Rename sequence number functions to fit pattern 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
e74b58aab5 Correctly increase sequence number and save storage information to flash 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
de21af38f2 Add sn_mask to mask a sequence number 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
b98eea970c Add records api, move sequence numbers into own file, adjust storage api 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
0a5323674a Add storage changes 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
9b55b3c8fd Implement api for storage 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
d48245657e get_contacts_for_period 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
a78bc828fc Add store_period_contacts 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
917f103999 Move type declarations in contacts.h 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
fa8d82c496 Move period_contact_t to header file 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
a9cfe53c10 Add 0 as success return value for init_storage 2021-05-25 18:06:15 +02:00
H1ghBre4k3r
ae76b43ae0 Add storage initialization 2021-05-25 18:06:15 +02:00
Patrick Rathje
e4a24a3dd0 Use new BLE scan parameter option to filter 2021-04-24 22:41:36 +02:00
Patrick Rathje
021c8fbc9f Move IO initialization and handling to separate files 2020-12-22 19:43:56 +01:00
Patrick Rathje
d451e6a131 Derive period identifier key 2020-12-09 11:13:51 +01:00
Patrick Rathje
69952363f5 Formatting and performance measurements 2020-11-19 16:56:33 +01:00
Patrick Rathje
af833f58d2 Generate PeriodMetadataIdentifierKey 2020-11-04 11:31:08 +01:00
Patrick Rathje
4a7fcafdbb Add fixture test to nrf code and fix heap allocation 2020-09-13 20:42:20 +02:00
Patrick Rathje
760ceca785 Add platformIO files and adapt file structure 2020-08-18 22:46:49 +02:00
pinkit-cwa
e73c45dca8
added missing #include
random/rand32.h is needed for sys_csrand_get()
2020-08-15 17:26:49 +02:00
olafland
900089112e Adding some documentation to defines and making them ifndef 2020-06-15 12:10:59 +02:00
olafland
2639b39faf move to from u32_t to uint32_t and so one to make all compilers happy 2020-06-12 12:25:31 +02:00
olafland
c66f9d8c9b initial code release
initial code release
2020-06-08 11:15:05 +02:00