docs updated

This commit is contained in:
Bram Barbieri
2024-04-04 21:38:06 +02:00
parent 060b2edc92
commit eac2d891e8

View File

@@ -1,4 +1,4 @@
# Original Database - Websocket connection Version (by bram)
# Original Database - Websocket connection(by bram)
For our project, we needed to establish an efficient and functional connection between a live data collector and a database where this data would be stored.
The data we collected originated from live "nodes" which were small boxes equipped with various types of sensors to gather specific data from their surroundings.
@@ -132,6 +132,8 @@ asyncio.run(main())
```
As a summary, this code is meant to establish connections both to the database and the WebSocket to enable a data connection between them. When new data arrives, it will be pushed to the database, and if a new MAC address is encountered, it will be added to the list of addresses.
(The link to the code https://gitlab.fdmci.hva.nl/propedeuse-hbo-ict/onderwijs/2023-2024/out-a-se-ti/blok-3/qaajeeqiinii59/-/blob/main/server/web-data-connection/data.py?ref_type=heads)
# New Version (by sietse)
## Changes made