-
Notifications
You must be signed in to change notification settings - Fork 0
/
knx-conn.asd
70 lines (68 loc) · 2.33 KB
/
knx-conn.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
(defsystem "knx-conn"
:version "0.2.1"
:author "Manfred Bergmann"
:license "GNU GPL, version 3"
:description "KNXnet/IP implementation in Common Lisp"
:depends-on ("alexandria"
"usocket"
"babel"
"log4cl"
"binding-arrows"
"sento"
"local-time")
:components ((:module "src"
:serial t
:components
((:file "utils")
(:module "knx-model"
:serial t
:components
((:file "knx-obj")
(:file "address")
(:file "dpt")
(:file "hpai")
(:file "dib")
(:file "cri")
(:file "crd")
(:file "cemi")))
(:module "knx-msg"
:serial t
:components
((:file "descr-info")
(:file "connect")
(:file "tunneling")))
(:file "ip-client")
(:file "knx-client")
(:file "knx-connect")
)))
:in-order-to ((test-op (test-op "knx-conn/tests"))))
(defsystem "knx-conn/tests"
:author "Manfred Bergmann"
:depends-on ("knx-conn"
"fiveam"
"cl-mock"
)
:components ((:module "test"
:components
((:file "test-all")
(:file "address-test")
(:file "cemi-test")
(:file "dpt-test")
(:file "descr-info-test")
(:file "connect-test")
(:file "tunnelling-test")
(:file "knx-client-test")
(:file "knx-connect-test")
)))
:description "Test system for knx"
:perform (test-op (op c) (symbol-call :fiveam :run!
(uiop:find-symbol* '#:test-suite
'#:knx-conn.tests))))
#|
TODOs:
=> - tests for parsing tunnel-request
- connstate (heartbeat): check for 3 failed requests
- allow hooks to be registered for value updates on certain group-addresses
- make nice DSL for the supported dpt types
? - register awaiting response before sending (!), or the response can be received before wait
|#