Reinder Feenstra
9fcded9cc9
fix: use static storage
2023-05-15 20:52:33 +02:00
Reinder Feenstra
7770fe967c
wlanmaus: fix: signals were not disconnected when stopping kernel
...
see #47
see #58
2023-05-13 23:42:18 +02:00
Reinder Feenstra
c1129a26b7
outputmap: fix: signals were disconnected on object destroy
...
see #47
see #58
2023-05-13 23:41:27 +02:00
Reinder Feenstra
a980e9e7db
wlanmaus: fix: signal was not disconnected when going offline
...
see #47
see #58
2023-05-13 16:55:45 +02:00
Reinder Feenstra
bfd7dc102b
blockinputmapitem: fix: signals were not disconnected on object destroy
...
see #47
see #58
2023-05-13 16:33:10 +02:00
Reinder Feenstra
b014ed6054
sensorrail: fix: signals were not disconnected on object destroy
...
see #47
see #58
2023-05-13 13:20:06 +02:00
Reinder Feenstra
95169b4d8f
session: fix: signals were not disconnected on object release
...
see #47
see #58
2023-05-13 09:25:59 +02:00
Reinder Feenstra
0629249ebe
connection: moved object creation to seperate function
2023-05-13 09:25:59 +02:00
Reinder Feenstra
71a49a2953
Merge pull request #61 from gfgit/work/wireshark_z21
...
Wireshark update Z21 protocol script
2023-05-12 23:30:29 +02:00
Reinder Feenstra
122abefe5b
Merge pull request #62 from gfgit/work/fix_py_utils
...
Utils: fix python scripts on Windows
2023-05-12 23:30:11 +02:00
Filippo Gentile
f9e2cf1bd1
Wireshark: update Z21 protocol
...
- Add a bunch of new messages
- Parse LAN_X_LOCO_INFO in detail
2023-05-12 23:21:34 +02:00
Reinder Feenstra
d4d71f135e
block: on destroy, the block must be removed from the block trains
2023-05-12 00:09:22 +02:00
Reinder Feenstra
578166fdf9
board: block now display their name if free/unknown
2023-05-11 00:11:40 +02:00
Filippo Gentile
f83d8356ef
Utils: fix python scripts on Windows
2023-05-11 00:08:40 +02:00
Reinder Feenstra
519fe44adb
corrected: unsigned int -> uint32_t
2023-05-10 23:24:58 +02:00
Reinder Feenstra
08639fb371
xpressnet: added error handling to iohandlers
...
on error the interface is now put in error state
2023-05-07 23:08:11 +02:00
Reinder Feenstra
b3dc358e24
fix: typo in filename
2023-05-07 22:51:43 +02:00
Reinder Feenstra
8636b23b04
loconet: added error handling to iohandlers
...
on error the interface is now put in error state
2023-05-07 22:03:05 +02:00
Reinder Feenstra
2db7952d6f
board: added direction triagle to signals
2023-05-07 10:40:19 +02:00
Reinder Feenstra
d0f7b3699d
added trains/boards to toolbar
2023-05-07 00:10:21 +02:00
Reinder Feenstra
f32ec4072f
added train/board icons
...
icon improvents are welcome :)
2023-05-07 00:09:48 +02:00
Reinder Feenstra
735eadcc29
train: added blocks property
2023-05-06 17:21:43 +02:00
Reinder Feenstra
1c0066ab6f
objectvectorproperty: moved methods to tpp, to make forward declaration possible
2023-05-06 17:21:43 +02:00
Reinder Feenstra
e0b3eba685
objectvectorproperty: added reverse iterators
2023-05-06 17:21:43 +02:00
Reinder Feenstra
4719c550fa
Merge pull request #51 from gfgit/work/z21_bc_flag
...
server: Z21 fix bradcast flags and other small fixes
2023-05-05 10:47:24 +02:00
Reinder Feenstra
9ae3d764eb
block: activate train when assigned to block
...
if activation fails it will not be assigned
2023-05-02 22:09:48 +02:00
Reinder Feenstra
4cbc5ac8eb
loconet: fix: OPC_INPUT_REP control bit must be 1
2023-05-01 23:58:01 +02:00
Reinder Feenstra
845c0ddc85
trainlist: added active column
2023-05-01 23:56:49 +02:00
Reinder Feenstra
482683ee16
Added AUTHORS file
...
generated using: git authors -l --no-email (removed GitHub bot)
2023-05-01 23:37:06 +02:00
Reinder Feenstra
67c37c30ca
Added "and contributors" to copyright notice
2023-05-01 23:29:56 +02:00
Reinder Feenstra
b30bc55ea0
build fixes
2023-05-01 12:53:32 +02:00
Reinder Feenstra
37e808fdd5
loconet: added PCAP logging support (for developers)
...
currently using DLT_USER0, this should be changed if there is one for loconet
2023-04-30 23:50:35 +02:00
Reinder Feenstra
f60c889602
loconet: only pass valid messages to the kernel
...
see #55
2023-04-28 15:37:27 +02:00
Filippo Gentile
d26bcf5165
server: Z21 fixed LanXBCStopped checksum value
2023-04-25 23:34:53 +02:00
Filippo Gentile
890abfc8df
server: Z21 debug log also emergency stop reply
2023-04-25 23:34:53 +02:00
Filippo Gentile
c2c1b79c6b
server: Z21 add more message debugging
...
- Fix LAN_X_SET_TURNOUT deprecaded linearAddress()
- Use constants in switch/case
- Added some messages
- Use reference for iterating decoder functions
2023-04-25 23:34:52 +02:00
Filippo Gentile
6d903a519b
server: Z21 move TriState include where is used
...
It is only used in Kernel derived classes
2023-04-25 23:22:23 +02:00
Filippo Gentile
a6e59c7132
server: Z21 Utils, fix missing includes
...
This are not strictly needed but nice to have
2023-04-25 23:22:22 +02:00
Filippo Gentile
b019cd5caf
server: Z21 use constants in switch/case
...
Added some LAN_X_SET_STOP in:
- SimulationIOHandler
- ServerKernel
2023-04-25 23:22:21 +02:00
Filippo Gentile
f6b7d71290
server: Z21 fix some message not packed
...
- Fixed missing ATTRIBUTE_PACKET
- Fixed wrong comment for message
- Use constants instead of raw values for switch/case
2023-04-25 23:22:20 +02:00
Filippo Gentile
4af4390e82
server: Z21 maximum retry count for broadcast flags
...
- Retry for maximum of 10 times
- Log warning when broadcastFlags do not match
2023-04-25 23:22:20 +02:00
Filippo Gentile
0896408105
server: Z21 handle LAN_SYSTEMSTATE_DATACHANGED in ClientKernel
...
This checks track power state in case UDP skipped some packages
2023-04-25 23:22:19 +02:00
Filippo Gentile
a47fadbd3a
server: Z21 add LanGetBroadcastFlagsReply
...
Request BC flags as keep alive timer until we get a valid reply
2023-04-25 23:22:18 +02:00
Reinder Feenstra
7be15c5b12
Merge pull request #44 from gfgit/work/active_train
...
Train: new active property
2023-04-25 16:12:30 +02:00
Filippo Gentile
4a6b00c682
Train: propagate emergency stop only if active
...
- Sync emergency stop state when activating a Train
2023-04-25 11:47:00 +02:00
Filippo Gentile
fab21a4eec
Train: prevent running when not active
2023-04-25 11:47:00 +02:00
Filippo Gentile
a8b2e9a76e
Train: make "active" StoreState
...
Update RailVehicle "activeTrain"
2023-04-25 11:46:59 +02:00
Filippo Gentile
d471111947
Train: new active property
...
It is mirrored in RailVehicle activeTrain property.
Activating a Train is an atomic operation:
- Every contained vehicle must not be in other active train
- It also must be stopped
Train: setTrainActive() new function to activate Train
2023-04-25 11:46:59 +02:00
Reinder Feenstra
3088132afc
fix: added missing includes
2023-04-24 00:22:44 +02:00
Reinder Feenstra
46072d8198
interfacelist: re-implemented status column
2023-04-23 16:57:06 +02:00