-
Notifications
You must be signed in to change notification settings - Fork 34
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
v2 user specified TxID / RxID possible ? #67
Comments
Hi Sergey, Assuming you're working with UDS, this region might be of interest on the transmit side:
You might be able to achieve that by modifying the active protocol's I did not design this with the consideration that the IDs might be changed on the fly, so there'll be issues that come with that. For example the J2534 filters might also need to be reconfigured to allow the messages from the new ID. |
since monaco can use j2534 for multiple connections it must be possible. Point is not to stop active connection but send and receive couple more messages from/to other can ID |
I don't doubt that it is possible, though the implementation of the receive side is rather tricky: The "correct" way to do that is to open another J2534 channel on the same device, which should allow for a different set of filters when it comes to receiving messages. This method is simpler, when you send a message and the ecu is available, you'll get the expected message from your target, and only from your target. In practice, some vendors don't implement this well and the underlying hardware/dll expects only one channel/session to be used. This could also be emulated by sharing the same J2534 channel, but you will need to configure the filter mask by bitwise-ORing all the expected receive IDs, then manually check the IDs on every received frame, and dispatch them into their parent emulated channels. This method should not run into compatibility issues, but will be more complicated to implement correctly. |
this can be done by modifying cbf CP_REQUEST_CANIDENTIFIER / CP_RESPONSE_CANIDENTIFIER and its also mets a task. |
I'm having difficulty understanding this, as far as I know, the application does not send anything like that. |
Hi @jglim, im trying to send single frame over user specified txID but its just uses cbf specified channel to transmission.
I have specified rxID and txID in combobox, some code below show my implementation.
Due lack of knowledge i cant handle that.
Is it possible to make this happen?
it gaves result of sending data with cbf opened channel eg:
7E1 8 10 10 + request part 1
7E1 8 03 + request part 2
The text was updated successfully, but these errors were encountered: