From 8b6b31695774ff8dd2d420d879bd22ffaf49f297 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 8 Nov 2022 16:37:28 +0100 Subject: update architecture --- assets/fig-architecture.svg | 2 +- fig.drawio | 2 +- readme.md | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/assets/fig-architecture.svg b/assets/fig-architecture.svg index 7196dd8..07b3b12 100644 --- a/assets/fig-architecture.svg +++ b/assets/fig-architecture.svg @@ -1,3 +1,3 @@ -
bluetooth mesh network
bluetooth mesh network
bluetooth
bluetooth
node
node
bluetooth
bluetooth
node
node
desktop computer
(on ip network)
desktop computer...
usb power source (no data)
usb power source (...
usb power source (no data)
usb power source (...
Border Transport Server
Border Transport Serv...
USB serial
USB serial
node (as border router)
node (as border router)
light
light
button
button
nRF528xx
nRF528xx
usb controller
usb controller
serial port communication
serial port commun...
TCP socket
TCP socket
TCP socket API
TCP socket API
Configuration UI / Action handler server

(Home Assistant or custom HTML/QT GUI)
Configuration UI / Ac...
Text is not SVG - cannot display
\ No newline at end of file +
bluetooth mesh network
bluetooth mesh network
bluetooth
bluetooth
node
node
bluetooth
bluetooth
node
node
desktop computer
(on ip network)
desktop computer...
usb power source (no data)
usb power source (...
usb power source (no data)
usb power source (...
Border Transport Server
Border Transport Serv...
node (as border router)
node (as border router)
light
light
button
button
nRF528xx
nRF528xx
usb controller
usb controller
serial port communication
serial port commun...
TCP socket
TCP socket
TCP socket API
TCP socket API
Configuration UI / Action handler server

(Home Assistant or custom HTML/QT GUI)
Configuration UI / Ac...
USB serial
USB serial
Text is not SVG - cannot display
\ No newline at end of file diff --git a/fig.drawio b/fig.drawio index be88a39..2262598 100644 --- a/fig.drawio +++ b/fig.drawio @@ -1 +1 @@ -3VrbcqM4EP0aV2UfNgXI18f4kkmqMjXZcVI7eZRBsTWRkUuI2N6v3xYIY5CNb9g444dEahohdZ8+ajXUUG+6+CbwbPKde4TVHMtb1FC/5jhty4a/SrCMBfVOPRaMBfVikZ0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SqF1+paTKGNtYtDw+hV4ljeZ3p8thk0lIhAbLFqgW6V8zFJFqXD0+nCkNHL2YjfSvKIcsmPjTiCt6NV5AuYZ8CijaVbIZDjyavFlQVe7yi8CKV4P3sGY5SRj6ocAxepicwo1CWbm0jPvn79/gQX8/Q/vu5WHPNxQ7V1Dnvucl6Y+qlGp3pCXUfOQXAadbOuI0LoYfrChq6W/bX56uE0DE0fr04sceAePjOGDvGgecvvklcaBrFM/sA7tk+0paT2vxpaAwsC8No+vYkNdavYHh9IuLbZoWl3nQrp92S1rRThCCbv4lezI8/3cANPoP \ No newline at end of file diff --git a/readme.md b/readme.md index 2e360fe..330b623 100644 --- a/readme.md +++ b/readme.md @@ -36,3 +36,9 @@ Above is a draft version of the system architecture. binary format to save on bandwidth. - The protocol used by the TCP socket API is text-based, as it's used to communicate between userspace services on desktop computers. +- Each node sends a button event to the border router when it's button is + pressed. +- Each node sets it's LED's status upon receiving an LED event. +- Each node has it's own ID (this is probably going to be it's bluetooth MAC + address for simplicity). + -- cgit v1.2.3