Commit Graph

621 Commits

Author SHA1 Message Date
Stefan Allius
5dc890dde0 Merge branch 'refactoring-async-stream' of https://github.com/s-allius/tsun-gen3-proxy into titan-scan 2024-10-11 20:30:09 +02:00
Stefan Allius
0c10cc32dc update changelog 2024-10-11 20:29:20 +02:00
Stefan Allius
71f581eb0b add more unittests 2024-10-10 22:41:13 +02:00
Stefan Allius
a4acddd769 remove obsolete tx_get method 2024-10-10 00:30:10 +02:00
Stefan Allius
724f6f3b22 simplify heartbeat handler 2024-10-10 00:00:32 +02:00
Stefan Allius
18c3020282 increase tes coverage 2024-10-09 23:59:56 +02:00
Stefan Allius
e127716317 increase test coverage 2024-10-08 23:48:49 +02:00
Stefan Allius
5790b657d0 update start-REG 2024-10-07 23:20:21 +02:00
Stefan Allius
5d4ff9051d Merge branch 'refactoring-async-stream' of https://github.com/s-allius/tsun-gen3-proxy into titan-scan 2024-10-06 21:28:12 +02:00
Stefan Allius
595b68ba03 reduce cognitive complexity 2024-10-06 21:20:53 +02:00
Stefan Allius
d7628689f0 icrease test coverage 2024-10-06 21:15:46 +02:00
Stefan Allius
e074a39f5a add unit tests for AsyncStream class 2024-10-06 17:43:40 +02:00
Stefan Allius
9852f44dfa use ProtocolIfc class 2024-10-05 21:11:42 +02:00
Stefan Allius
c7d0a91371 add more testcases 2024-10-05 01:35:04 +02:00
Stefan Allius
5b68610f78 move class InverterIfc into a separate file 2024-10-05 01:34:03 +02:00
Stefan Allius
0b79a37fe7 fix typo 2024-10-05 01:33:05 +02:00
Stefan Allius
00e9a4534d rename class Inverter into Proxy 2024-10-04 23:37:05 +02:00
Stefan Allius
3a94afb48d fix sonar qube warnings 2024-10-04 01:50:24 +02:00
Stefan Allius
949f3c9608 initial commit 2024-10-04 01:41:25 +02:00
Stefan Allius
cd2f41a713 add abstract inverter interface class 2024-10-04 01:35:44 +02:00
Stefan Allius
84034127e3 remove test_inverter_base.py 2024-10-03 15:11:22 +02:00
Stefan Allius
22d59ed659 move more code into InverterBase class 2024-10-03 15:08:07 +02:00
Stefan Allius
cfe2c9cb9d remove connection classes 2024-10-02 23:40:42 +02:00
Stefan Allius
39aba31bbd refactor close handling 2024-10-01 19:50:42 +02:00
Stefan Allius
a1441fb4fd add close callback 2024-09-30 19:17:06 +02:00
Stefan Allius
f2ade43410 fixes
- fixes null pointer accesses
- initalize AsyncStreamClient with proper
  StreamPtr instance
2024-09-30 19:14:50 +02:00
Stefan Allius
8f695518bd update class diagramm 2024-09-30 19:13:29 +02:00
Stefan Allius
b3068a256c don't overwrite self.remote in constructor 2024-09-30 19:12:49 +02:00
Stefan Allius
2336955bb8 fix client loop closing 2024-09-29 21:11:53 +02:00
Stefan Allius
8a745b2d10 Merge branch 'refactoring-async-stream' of https://github.com/s-allius/tsun-gen3-proxy into titan-scan 2024-09-29 20:52:08 +02:00
Stefan Allius
518375e8a8 fix server connections 2024-09-29 20:49:08 +02:00
Stefan Allius
b57ded1a73 Merge branch 'refactoring-async-stream' of https://github.com/s-allius/tsun-gen3-proxy into titan-scan 2024-09-29 20:27:28 +02:00
Stefan Allius
41aeac4168 resolution of connection classes
- remove ConnectionG3Client
- remove ConnectionG3Server
- remove ConnectionG3PClient
- remove ConnectionG3PServer
2024-09-29 20:08:04 +02:00
Stefan Allius
5a0ef30ceb move StremPtr instances into Inverter class 2024-09-29 15:31:14 +02:00
Stefan Allius
4c15495670 update start register 2024-09-29 14:30:33 +02:00
Stefan Allius
ca610b15ff Merge branch 'refactoring-async-stream' of https://github.com/s-allius/tsun-gen3-proxy into titan-scan 2024-09-29 10:23:04 +02:00
Stefan Allius
0c824b4a2a reduce code duplication 2024-09-29 10:15:38 +02:00
Stefan Allius
95f817a92b Merge branch 'refactoring-async-stream' of https://github.com/s-allius/tsun-gen3-proxy into titan-scan 2024-09-28 23:31:02 +02:00
Stefan Allius
2ef7a7e201 remove duplicated imports 2024-09-28 23:30:23 +02:00
Stefan Allius
2be0ef67af refactor server creation 2024-09-28 22:43:29 +02:00
Stefan Allius
43700b3da8 Merge branch 'refactoring-async-stream' of https://github.com/s-allius/tsun-gen3-proxy into titan-scan 2024-09-27 19:28:39 +02:00
Stefan Allius
7b6810cb46 update class diagramm 2024-09-27 19:25:40 +02:00
Stefan Allius
aa7c1832ef split ConnectionG3(P) in server and client class 2024-09-27 00:47:44 +02:00
Stefan Allius
73526b7dc6 split AsyncStream in two classes 2024-09-26 23:04:11 +02:00
Stefan Allius
b6761e7517 FIX update_header_cb handling 2024-09-26 00:14:51 +02:00
Stefan Allius
209956865b add two more callbacks 2024-09-26 00:11:11 +02:00
Stefan Allius
bc54944077 add two more callbacks 2024-09-25 22:41:01 +02:00
Stefan Allius
37c977c2fe avoid mqtt handling for invalid serial numbers 2024-09-25 00:11:39 +02:00
Stefan Allius
d5c369e5fe refactoring 2024-09-24 21:12:51 +02:00
Stefan Allius
89c2c11ed9 refactoring 2024-09-24 21:10:58 +02:00