You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
device address and pgn request corrections (juergenH87#5)
* Correct device address
Add state check to the function send request
Correct a missing part at the remove timer function
* Addressclaim is allowed without an address.
PGN Addressclaim are allowed for nodes without a device address
* Adapt examples and Tests
Adapt the examples to wait for the device address
Adapt the tests to work with the current version of the library
* Start the controller application before subscribe.
* Subscribe accept now a function
* Revert some unneeded changes
# notify only the CA for which the message is intended
562
562
# each CA receives all broadcast messages
563
563
fordicinself._subscribers:
564
-
if (dic['dev_adr'] ==None) or (dest==j1939.ParameterGroupNumber.Address.GLOBAL) or (dest==dic['dev_adr']):
564
+
if (dic['dev_adr'] ==None) or (dest==j1939.ParameterGroupNumber.Address.GLOBAL) or (callable(dic['dev_adr']) anddic['dev_adr'](dest)) or (dest==dic['dev_adr']):
0 commit comments