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
The public function on_request on the ControllerApplication class here does nothing and is never called.
def on_request(self, src_address, dest_address, pgn):
"""Callback for PGN requests
:param int src_address:
The address the request comes from
:param int dest_address:
The address the request was sent to; normally ours, but can also be GLOBAL
:param int pgn:
Parameter Group Number requested
"""
pass
It seems like in the times gone by, a consumer was expected to subclass the ControllerApplication class and then override this function. You can see that in this line in the original benkfra project. The new way is instead to inject a subscriber using subscribe_request, but the on_request function missed out on deletion when that changed.
The text was updated successfully, but these errors were encountered:
The public function
on_request
on theControllerApplication
class here does nothing and is never called.It seems like in the times gone by, a consumer was expected to subclass the
ControllerApplication
class and then override this function. You can see that in this line in the original benkfra project. The new way is instead to inject a subscriber usingsubscribe_request
, but theon_request
function missed out on deletion when that changed.The text was updated successfully, but these errors were encountered: