1
0
mirror of https://github.com/CovidBraceletPrj/CovidBracelet.git synced 2024-12-05 00:55:43 +01:00

Commit Graph

  • b98eea970c Add records api, move sequence numbers into own file, adjust storage api H1ghBre4k3r 2021-03-17 14:49:07 +0100
  • 0a5323674a Add storage changes H1ghBre4k3r 2021-03-11 00:32:36 +0100
  • 9b55b3c8fd Implement api for storage H1ghBre4k3r 2021-02-18 13:45:29 +0100
  • d48245657e get_contacts_for_period H1ghBre4k3r 2021-02-03 19:39:01 +0100
  • a78bc828fc Add store_period_contacts H1ghBre4k3r 2021-02-01 23:17:48 +0100
  • 917f103999 Move type declarations in contacts.h H1ghBre4k3r 2021-02-01 22:57:53 +0100
  • fa8d82c496 Move period_contact_t to header file H1ghBre4k3r 2021-01-28 00:24:22 +0100
  • f56a2dca54 Add DS_Store to .gitignore H1ghBre4k3r 2021-01-27 01:32:28 +0100
  • 8583a3c9b0 Enable flash in prj conf H1ghBre4k3r 2021-01-26 16:24:50 +0100
  • a9cfe53c10 Add 0 as success return value for init_storage H1ghBre4k3r 2021-01-26 16:16:17 +0100
  • ae76b43ae0 Add storage initialization H1ghBre4k3r 2021-01-26 16:14:58 +0100
  • c554a89711 Add device tree overlay and ini entry for nrf52840_mdk H1ghBre4k3r 2021-01-26 15:50:51 +0100
  • be790a9dea
    Update src/ens/sequencenumber.c Patrick Rathje 2021-05-25 17:50:11 +0200
  • 194dcf8239
    Records: Rewrite interator_init_timerange and binary_search to take care of invalid entries etc. H1ghBre4k3r 2021-05-18 22:30:59 +0200
  • a8e5e20f49
    SN: Finish impl of sn_get_middle_sn to cover case of older > newer H1ghBre4k3r 2021-05-18 21:28:12 +0200
  • 296d21b679
    Config: Introduce CONFIG_ENS_MAX_CONTACTS as possibility to configure the max amount of contacts stored in flash H1ghBre4k3r 2021-05-18 17:09:07 +0200
  • bb65c1d365
    ENS_FS: Fix wrong bitmask H1ghBre4k3r 2021-05-17 19:26:00 +0200
  • 1496ce3f3a
    Add TODOs for refactoring according to PR review and refactor ens_fs_write to return error, if entry is not only ones H1ghBre4k3r 2021-05-17 19:16:47 +0200
  • a47dba5a8e
    Config: Move parameters for MX25R64 into platformio.ini file H1ghBre4k3r 2021-05-17 15:23:53 +0200
  • 13cb7a2858
    ENS_FS: Fix all wrong usages of fs->entry_size H1ghBre4k3r 2021-05-14 00:38:32 +0200
  • 674d1a3561
    ENS_FS: Only copy memory if read entry is valid H1ghBre4k3r 2021-05-14 00:34:48 +0200
  • 23243862b2
    Fix multiple results of the PR: H1ghBre4k3r 2021-05-14 00:31:14 +0200
  • d8ded8c396
    Storage: Add 3 byte for metadata to record_t and use it in initialization for ens_fs H1ghBre4k3r 2021-05-03 23:52:56 +0200
  • 01d641f8c2
    Prj-Conf: Remove already defined config parameters H1ghBre4k3r 2021-05-03 23:38:08 +0200
  • d2489ecd81
    Storage: Use correct datatypes for storage information H1ghBre4k3r 2021-05-03 23:36:07 +0200
  • f4b6f9ff9b
    Storage: Adjust record_information correctly when erasing pages and deleting contacts H1ghBre4k3r 2021-05-03 23:31:51 +0200
  • e24ece123a
    Use record instead of contact as naming convention H1ghBre4k3r 2021-05-03 22:07:15 +0200
  • f87c0cebfc
    Storage: Remove comment in load_contact H1ghBre4k3r 2021-05-03 21:59:17 +0200
  • 595c1c261c
    Sequence Numbers: Introduce GET_MASKED_SN macro H1ghBre4k3r 2021-05-03 21:47:02 +0200
  • 2b8ade471e
    Records: In init_range, set finished to false, if there are contacts H1ghBre4k3r 2021-05-03 21:39:46 +0200
  • c42046eb96
    Records: In iterator_clear, also set sequence numbers to 0 H1ghBre4k3r 2021-05-03 21:37:22 +0200
  • 3605f96008
    Records: In iterator_next, use memcpy to next contact H1ghBre4k3r 2021-05-03 21:33:45 +0200
  • 2cafc6230e
    Records: In iterator_next, combine if-guard with while-loop H1ghBre4k3r 2021-05-03 21:28:12 +0200
  • a02425b9cc
    Records: In init_timerange, use init_range after finding start and end sn H1ghBre4k3r 2021-05-03 21:26:42 +0200
  • 87574d2a18
    Use lock for ens_fs H1ghBre4k3r 2021-05-02 22:09:02 +0200
  • 44c51c531a
    Apply suggestions for ens_fs H1ghBre4k3r 2021-05-02 21:50:13 +0200
  • b68ab0bffc
    Apply suggestions for covid.c H1ghBre4k3r 2021-05-02 21:35:58 +0200
  • e44579913e
    Use environment extension for platformio.ini H1ghBre4k3r 2021-04-28 23:20:10 +0200
  • 395049cade
    Remove unneeded text file H1ghBre4k3r 2021-04-28 23:02:35 +0200
  • c900098fec
    Add locks for the storage H1ghBre4k3r 2021-04-27 00:16:46 +0200
  • fbff4adaf6
    Format ens files and add .clang-format file H1ghBre4k3r 2021-04-26 15:56:00 +0200
  • b7bd2ed4ad
    Use binary search in init_timerange H1ghBre4k3r 2021-04-26 13:48:09 +0200
  • 726f33a6f3
    Implement ens_records_iterator_init_timerange via binary search H1ghBre4k3r 2021-04-25 21:59:12 +0200
  • 426b191777
    Fix incompatible pointer in ens_fs and comment unneeded variables out H1ghBre4k3r 2021-04-25 15:02:48 +0200
  • 142897f826
    Remove unneeded contacts code and cleanup gatt-service.h H1ghBre4k3r 2021-04-25 14:57:52 +0200
  • 4c4a457b8e
    Implement error codes and use them throughout ens_fs H1ghBre4k3r 2021-04-24 16:03:43 +0200
  • 7c4be5ad66
    Use record_t for storing contacts H1ghBre4k3r 2021-04-21 17:58:16 +0200
  • a2edce1f1a
    Implement correct read using crc and deleted flag and implement deletion H1ghBre4k3r 2021-04-14 18:47:55 +0200
  • 59b1a6bc39
    Delete page before incrementing sn H1ghBre4k3r 2021-04-13 14:29:07 +0200
  • a86c1cc461
    Store CRC and 'not-deleted' flag in last byte of each entry H1ghBre4k3r 2021-04-13 01:22:12 +0200
  • 5016f95a4a
    Store contacts in ens_fs H1ghBre4k3r 2021-04-12 19:52:06 +0200
  • f46cba0542
    Init ens_fs in storage.c H1ghBre4k3r 2021-04-12 19:31:15 +0200
  • 2258759bfe
    Use NVS to store storage information H1ghBre4k3r 2021-04-12 19:20:15 +0200
  • 5c50e47d05
    Rename storage partition H1ghBre4k3r 2021-04-12 19:12:15 +0200
  • bcfe6682e7
    Move sequence-number utils to ens folder aswell H1ghBre4k3r 2021-04-12 19:07:28 +0200
  • 2bd2e1500e
    Implement ens_fs and move ens stuff to ens directory H1ghBre4k3r 2021-04-12 19:04:46 +0200
  • c3d54d6a75
    Automatically increment sequence number H1ghBre4k3r 2021-03-31 17:06:38 +0200
  • 548b13c8d2
    Add mutex for entire NVS H1ghBre4k3r 2021-03-31 16:31:58 +0200
  • bfea34edbb
    Increase NVS to 192 sectors, 16.384 byte each H1ghBre4k3r 2021-03-31 16:01:39 +0200
  • 5037b0ae1a
    Add support for external onboard-storage H1ghBre4k3r 2021-03-31 15:57:12 +0200
  • c8f59073c4
    Handle contact deletion for contact_information H1ghBre4k3r 2021-03-24 16:18:04 +0100
  • 962b8daf00
    Rename sequence number functions to fit pattern H1ghBre4k3r 2021-03-24 15:52:02 +0100
  • 55b5a9d2ce
    Correctly increase sequence number and save storage information to flash H1ghBre4k3r 2021-03-24 15:44:35 +0100
  • fa24ae8fda
    Add sn_mask to mask a sequence number H1ghBre4k3r 2021-03-23 18:11:11 +0100
  • eb18a37c44
    Add records api, move sequence numbers into own file, adjust storage api H1ghBre4k3r 2021-03-17 14:49:07 +0100
  • 8baacb548d
    Add storage changes H1ghBre4k3r 2021-03-11 00:32:36 +0100
  • 6bd4b61eaa
    Implement api for storage H1ghBre4k3r 2021-02-18 13:45:29 +0100
  • 662d56fcd1
    get_contacts_for_period H1ghBre4k3r 2021-02-03 19:39:01 +0100
  • 4ab9bbe20e
    Add store_period_contacts H1ghBre4k3r 2021-02-01 23:17:48 +0100
  • 92f90bd325
    Move type declarations in contacts.h H1ghBre4k3r 2021-02-01 22:57:53 +0100
  • f6d47c3681
    Move period_contact_t to header file H1ghBre4k3r 2021-01-28 00:24:22 +0100
  • 0c656015f1
    Add DS_Store to .gitignore H1ghBre4k3r 2021-01-27 01:32:28 +0100
  • f55186fa6c
    Enable flash in prj conf H1ghBre4k3r 2021-01-26 16:24:50 +0100
  • 117ff484de
    Add 0 as success return value for init_storage H1ghBre4k3r 2021-01-26 16:16:17 +0100
  • ddce1195e6
    Add storage initialization H1ghBre4k3r 2021-01-26 16:14:58 +0100
  • b28710a842
    Add device tree overlay and ini entry for nrf52840_mdk H1ghBre4k3r 2021-01-26 15:50:51 +0100
  • 3bb569ccf4 Use development platformio version Patrick Rathje 2021-04-23 15:33:36 +0200
  • e4a24a3dd0 Use new BLE scan parameter option to filter Patrick Rathje 2021-04-23 15:23:56 +0200
  • bc8db22673 Use development platformio version fix/scan_options Patrick Rathje 2021-04-23 15:33:36 +0200
  • 2ba3ded232 Use new BLE scan parameter option to filter Patrick Rathje 2021-04-23 15:23:56 +0200
  • 70ac84f84a Add upload override for nrf recovery feature/pinetime Patrick Rathje 2021-02-19 11:07:52 +0100
  • a531147375 Let PIO handle u8g2 lib Patrick Rathje 2021-02-19 00:31:25 +0100
  • d69652f008 Restore original mbedtls heap size Tobias Schramm 2021-02-09 15:44:35 +0100
  • 83fb65cd44 Fix battery support ifdef guards Tobias Schramm 2021-02-09 15:32:16 +0100
  • afc476ff32 Use non-default Zephyr kernel config for pinetime Tobias Schramm 2021-02-09 15:29:48 +0100
  • d381015cd9 Check BATTERY_SOC_SUPPORTED flag Tobias Schramm 2021-02-09 14:50:40 +0100
  • dfdd703c8d Hack: define j-link as onboard Tobias Schramm 2021-02-09 14:39:38 +0100
  • a0bf2ba730 Add pintime_devkit0 board spec Tobias Schramm 2021-02-09 14:38:34 +0100
  • 17de4f2523 Use battery only if specified in devicetree Tobias Schramm 2021-02-09 14:34:35 +0100
  • 0dd0ddecec Add license headers Tobias Schramm 2021-02-09 14:20:57 +0100
  • 76a55726e8 Print SOC with constant length Tobias Schramm 2021-02-09 13:59:17 +0100
  • c8f40160bb Implement SOC estimation Tobias Schramm 2021-02-09 13:48:33 +0100
  • 83bec4997b Add simple-battery binding Tobias Schramm 2021-02-09 13:48:11 +0100
  • 5a66a00151 Clean up platformio.ini Tobias Schramm 2021-02-09 10:39:26 +0100
  • dbf0b8af2a Remove superfluous config options Tobias Schramm 2021-02-09 10:29:28 +0100
  • bf203ab6ce Fix typo Tobias Schramm 2021-02-09 10:19:08 +0100
  • a9963c4ca6 Add support for measuring battery voltage Tobias Schramm 2021-02-09 09:57:24 +0100
  • 1749cc2629 Show last seen identifiers on pinetime display Tobias Schramm 2021-02-08 22:07:32 +0100
  • e52b37d0d5 Add powersave and string drawing APIs Tobias Schramm 2021-02-08 21:03:52 +0100
  • d6270ffb3f Add display support Tobias Schramm 2021-02-08 20:50:53 +0100