mirror of
https://github.com/Lurkars/esp-ena.git
synced 2024-11-22 10:06:11 +01:00
update README, renaming
This commit is contained in:
parent
eaf1c74faa
commit
d7a728c498
20
README.md
20
README.md
@ -101,11 +101,27 @@ E (909164) BT_HCI: btu_hcif_hdl_command_complete opcode 0x2005 status 0xc
|
||||
|
||||
## Structure
|
||||
|
||||
The project is divided in different files
|
||||
* *ena-beacon* handles scanned data by storing temporary beacons, check for threshold and store beacons permanently
|
||||
The project is divided in different components
|
||||
|
||||
### ena
|
||||
|
||||
The ena module contains the main functions of eps-ena with bluetooth scanning and adverting, storing data and handle beacons.
|
||||
* *ena-beacons* handles scanned data by storing temporary beacons, check for threshold and store beacons permanently
|
||||
* *ena-crypto* covers cryptography part (key creation, encryption etc.)
|
||||
* *ena-storage* storage part to store own TEKs and beacons
|
||||
* *ena-bluetooth-scan* BLE scans for detecting other beacons
|
||||
* *ena-bluetooth-advertise* BLE advertising to send own beacons
|
||||
* *ena* run all together and timing for scanning and advertising
|
||||
* *main* start and run main program
|
||||
|
||||
### ena-interface
|
||||
|
||||
Adds interface functionality via touch pads for control and setup.
|
||||
|
||||
### i2c-main
|
||||
|
||||
Just start I2C driver for display and RTC.
|
||||
|
||||
### ssd1306
|
||||
|
||||
I2C driver for a SSD1306 display.
|
@ -1,8 +1,8 @@
|
||||
idf_component_register(
|
||||
SRCS
|
||||
"interface.c"
|
||||
"interface-datetime.c"
|
||||
"interface-menu.c"
|
||||
"ena-interface.c"
|
||||
"ena-interface-datetime.c"
|
||||
"ena-interface-menu.c"
|
||||
INCLUDE_DIRS "include"
|
||||
PRIV_REQUIRES
|
||||
ena
|
||||
|
@ -1,11 +1,11 @@
|
||||
idf_component_register(
|
||||
SRCS
|
||||
"beacons.c"
|
||||
"bluetooth-advertise.c"
|
||||
"bluetooth-scan.c"
|
||||
"crypto.c"
|
||||
"ena.c"
|
||||
"storage.c"
|
||||
"ena-beacons.c"
|
||||
"ena-bluetooth-advertise.c"
|
||||
"ena-bluetooth-scan.c"
|
||||
"ena-crypto.c"
|
||||
"ena-storage.c"
|
||||
INCLUDE_DIRS "include"
|
||||
PRIV_REQUIRES
|
||||
spi_flash
|
||||
|
Loading…
Reference in New Issue
Block a user