Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peer to Peer msgs are not received without ControllerApplications #11

Closed
hubsik opened this issue Dec 14, 2021 · 1 comment
Closed

Peer to Peer msgs are not received without ControllerApplications #11

hubsik opened this issue Dec 14, 2021 · 1 comment

Comments

@hubsik
Copy link

hubsik commented Dec 14, 2021

def receive_messages():

ecu = j1939.ElectronicControlUnit()

ecu.connect(bustype='pcan', channel='PCAN_USBBUS1', bitrate=250000)

ecu.subscribe(on_message, 0xFA)

time.sleep(0.5)

ecu.disconnect()

return received_messages

With code above only global messages will be received. Messages with destination address 0xFA will not be received.

@juergenH87
Copy link
Owner

i have added support for simple peer-to-peer reception, see eb2e4e2
normally peer-to-peer reception is done by controller-applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants