Commit 0c4272c
committed
simulator: make simulator the server side in socket connection
In the first implementation of socket connection in simulator, it was acting
as a client in the communication, trying to connect to a specific network host
and port. It was done like this because `send_message.py` running in host
machine was having problems connecting to a simulator
But actually, now that we do not need to connect BitBox02 device physically
while running the simulator, we also do not need to run `send_message.py` in
the host machine. Also ideally simulator should be a server hosting the
firmware to the clients.
Signed-off-by: asi345 <inanata15@gmail.com>1 parent 1c5491d commit 0c4272c
File tree
14 files changed
+33
-235
lines changed- py
- src/rust/bitbox02-rust-c
- test
- simulator
- framework
- includes
- unit-test
- framework
14 files changed
+33
-235
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1573 | 1573 | | |
1574 | 1574 | | |
1575 | 1575 | | |
1576 | | - | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | | - | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
1581 | 1579 | | |
1582 | 1580 | | |
1583 | | - | |
| 1581 | + | |
1584 | 1582 | | |
1585 | 1583 | | |
1586 | 1584 | | |
1587 | 1585 | | |
1588 | | - | |
| 1586 | + | |
1589 | 1587 | | |
1590 | 1588 | | |
1591 | 1589 | | |
1592 | 1590 | | |
1593 | 1591 | | |
1594 | 1592 | | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
| 1593 | + | |
1598 | 1594 | | |
1599 | 1595 | | |
1600 | 1596 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | | - | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
130 | | - | |
| 129 | + | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
| |||
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | 171 | | |
178 | 172 | | |
179 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
27 | 18 | | |
28 | 19 | | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 74 | + | |
0 commit comments