Commit graph

43 commits

Author SHA1 Message Date
076ee11c92 Make receiver work
Switch from mutex to bin-semaphore (thread overarching) & Proper failure handling
2023-03-30 17:53:27 +02:00
f97ab5f58b Fix circular buffer index
Index was previously not being increased as statement could not be reached
2023-03-30 17:49:40 +02:00
503c452674 Implement BinarySemaphore freertos wrapper 2023-03-30 17:48:53 +02:00
1c0a3917fc Implement serial interaction 2023-03-25 18:10:25 +01:00
e76f9e8d93 Implement custom barebones circular buffer 2023-03-25 18:09:47 +01:00
3ff75471f6 Implement freertos mutex wrapper 2023-03-25 18:09:28 +01:00
27ed5d0663 Accept T as copy instead of referende
xQueueSend() copies the value, so accepting a reference is misleading
2023-03-25 18:09:11 +01:00
415c5a04b1 Add sleepForever() function 2023-03-25 18:07:57 +01:00
909ca16fd7 Enable clangtidy checking 2023-03-24 17:23:09 +01:00
c25eb340b1 Clangtidy improvements (const & noexcept) 2023-03-24 17:19:03 +01:00
b6fbafba76 Enable -Wall build flag 2023-03-24 16:51:25 +01:00
83454e1f38 Make pinmode for-loop typing more declarative 2023-03-24 16:42:13 +01:00
e61ebc390d Remove unused function declaration 2023-03-24 14:10:28 +01:00
3b553ecb39 Add sleep function 2023-03-24 14:09:00 +01:00
9f4fd4e143 Implement basic light controller logic 2023-03-24 14:08:42 +01:00
da9c24c339 Fully implement callback logic 2023-03-13 13:34:45 +01:00
fac5ec5e83 Add callback function calls to parser 2023-03-11 17:38:23 +01:00
e8ec695273 Implement functional skeleton of message protocol handling 2023-03-11 16:52:25 +01:00
93ff6c8f2e Create FreeRTOS C++ wrappers 2023-03-11 16:35:44 +01:00
dd40b09dc3 Update platformio.ini 2023-03-11 16:35:18 +01:00
8250bbb8f0 Move files from /include to /src 2023-03-11 16:35:06 +01:00
c68dfed3eb Initialize modern C++ rewrite 2023-03-11 14:16:55 +01:00
35c41d131f Add safe clearBuffer websocket method 2022-04-13 19:09:03 +02:00
5c41e066e0 Implement websocket receive 2022-04-13 18:42:39 +02:00
545818b4de Change hostname 2022-04-11 21:52:26 +02:00
e8d16b35e2 Make code more readable 2022-04-11 16:33:27 +02:00
090b14e38e Update com port 2022-04-10 22:14:02 +02:00
71bff35130 Fix pincommit not working after setup 2022-04-10 22:13:39 +02:00
11a511e2ee Fix pinmapping 2022-04-10 22:12:40 +02:00
13a0a1b20c Set hostname 2022-04-10 18:21:11 +02:00
c06fe57358 Fix CI Build fail due to missing credentials 2022-04-10 18:12:58 +02:00
e84896f12e Remove unused script 2022-04-10 17:57:18 +02:00
9f7e20c807 Implement WiFi connection timeout 2022-04-10 17:56:23 +02:00
baa19d730b Make loop more readable 2022-04-10 17:47:07 +02:00
57c4c3236e Fix 'Too many messages queued' 2022-04-10 17:20:40 +02:00
e9b3402f27 Fix gitignore credentials header file 2022-04-10 17:16:00 +02:00
c764a7cdee First rough implementation of websockets 2022-04-10 17:12:44 +02:00
c842e1a1e7 Remove duplicate code 2022-04-10 16:20:26 +02:00
49f120b656 Break apart StreamCommunicator into subclass 2022-04-10 11:50:44 +02:00
5d6aa75ea8 Implement Bluetooth 2022-04-10 10:27:35 +02:00
87b51e55b1 Fix eeprom on esp32 2022-04-10 10:10:56 +02:00
e8d042091e Port to esp32 2022-04-09 21:31:18 +02:00
c43e0d926a Improve repo directory structure 2022-04-09 20:07:19 +02:00