Commit Graph

79 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 68ed7371cc Rename storage partition 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 f56a2dca54 Add DS_Store to .gitignore 2021-05-25 18:06:15 +02:00
H1ghBre4k3r 8583a3c9b0 Enable flash in prj conf 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
H1ghBre4k3r c554a89711 Add device tree overlay and ini entry for nrf52840_mdk 2021-05-25 18:06:15 +02:00
Patrick Rathje 3bb569ccf4 Use development platformio version
https://github.com/platformio/platformio-core/issues/3901
2021-04-24 22:41:36 +02:00
Patrick Rathje e4a24a3dd0 Use new BLE scan parameter option to filter 2021-04-24 22:41:36 +02:00
Patrick Rathje 45de4666c8
Merge pull request #9 from CovidBraceletPrj/feature/io-component
Move IO initialization and handling to separate files
2020-12-22 19:47:04 +01:00
Patrick Rathje 021c8fbc9f Move IO initialization and handling to separate files 2020-12-22 19:43:56 +01:00
Patrick Rathje 4950d5ebb4
Merge pull request #7 from CovidBraceletPrj/feature/fix-missing-period-identififer-key
Derive period identifier key
2020-12-09 11:18:53 +01:00
Patrick Rathje d451e6a131 Derive period identifier key 2020-12-09 11:13:51 +01:00
Patrick Rathje 53196288d6
Merge pull request #6 from CovidBraceletPrj/feature/measure_performance
Performance measurements
2020-11-19 16:59:49 +01:00
Patrick Rathje 69952363f5 Formatting and performance measurements 2020-11-19 16:56:33 +01:00
Patrick Rathje b211d716e3
Restructure README 2020-11-10 21:48:29 +01:00
Patrick Rathje 5fea4b55e7
Merge pull request #5 from CovidBraceletPrj/feature/exposure-notification-lib
Use PlatformIO Exposure Notification Library
2020-11-10 21:19:37 +01:00
Patrick Rathje 44505aa591 Ignore correct lib 2020-11-10 21:16:13 +01:00
Patrick Rathje a822326131 Fix build 2020-11-10 21:12:30 +01:00
Patrick Rathje 8dc0dd74e4 Use PlatformIO Exposure Notification Library 2020-11-10 17:31:39 +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 b99f373de1 Add default environment and restrict desktop to test target #4 2020-08-20 21:32:42 +02:00
Olaf Landsiedel cfe5d56aae
Merge pull request #3 from CovidBraceletPrj/feature/platformio
Feature: PlatformIO Support
2020-08-19 07:55:21 +02:00
Patrick Rathje c4c586c024 Adapt workflow names to correct urls 2020-08-18 23:32:23 +02:00
Patrick Rathje abe6a44ac5 Move workflows status to the top 2020-08-18 23:27:16 +02:00
Patrick Rathje 274b155534 Separate build and test workflows to show them independently 2020-08-18 23:24:35 +02:00
Patrick Rathje c6d3b41a4b
Update main.yaml
Another indent error...
2020-08-18 23:18:53 +02:00
Patrick Rathje 54d7be6af8
Update main.yaml
Fix wrong indent
2020-08-18 23:17:53 +02:00
Patrick Rathje 5c479d51ab Add main Github Actions workflow 2020-08-18 23:16:02 +02:00