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

Feat: Implementation of Function Code FC43 (Read Device Identification) #124

Closed
wants to merge 46 commits into from

Conversation

grewek
Copy link

@grewek grewek commented Aug 11, 2023

This pull request implements the MODBUS Read Device Identification function code as described in the "MODBUS Application Specification" (see page 43 - 46).

The implementation was conducted by Kay Grewe in the name of Iniationware GmbH and initialized by Klaus Landsdorf.

Client and Server now have support for the aforementioned Function Code. The functionality was tested with a new integration test and should work as expected.

If you have concerns, suggestions or questions about the code please let me know, i am pretty new to the rust language and pull requests in general.

Kay Grewe, trainee @Iniationware

@jadamcrain
Copy link
Member

Hey @grewek. I'll be able to review this late this week.

A quick heads up that we'll need to individually review the function code additions. So please keep the mask-write-register support separate from read-device-identification.

We'll want to get RDI reviewed and merged before looking at MWR.

@grewek
Copy link
Author

grewek commented Nov 13, 2023

Oh that wasn't actually intended my apologies i will fix that as soon as i get back to work.

@grewek
Copy link
Author

grewek commented Nov 14, 2023

I did a reset to the development branch i hope that this fixes the Issue at hand if this causes any other issues for you please let me know. Again my apologies.

@jadamcrain
Copy link
Member

Hey @grewek.

I've started a review branch here where I'll add additional commits:

https://github.com/stepfunc/rodbus/tree/iware/review

Nothing major yet, just fmt and clippy fixes. My overall impression is that this is well written and really appreciate the effort with the test cases.

@grewek
Copy link
Author

grewek commented Nov 22, 2023

Hi @jadamcrain

Thank you it's good to hear that there is nothing of major concern yet.
But if you find anything that needs fixing please don't hesitate to write me.

I also like to give you my corporate email so you can contact me for discussing further meetings.

kg@iniationware.com
My usual office hours are Monday - Wednesday 9:00AM - 5:30PM (UTC + 1/GMT + 1)

thr2240 and others added 24 commits December 6, 2023 21:46
feat: implement send/receive custom buffer
dkoehler-dev and others added 22 commits January 23, 2024 19:54
… the server-side request error (missing Copy trait)
Feat: Implementation of User-Defined Custom Function Code FC69 (0x45) - Write Custom Function Code
@grewek
Copy link
Author

grewek commented Feb 6, 2024

Hi @jadamcrain

Just as a heads up, i wanted to let you know that i will now fix the issues you mentioned in our meeting.

Also i found something i implemented a few months back in regards of the serial handler i don't know if it is working correctly but it can, at least in testing, receive a DeviceInfo message and consume it until it reaches the crc.

The commit is:
grewek@5ae788a

My apologies for not sending this earlier but things got a bit pushed back, and then i totally forgot about it.
I don't want to push it yet as i think i still need more testing.

@grewek
Copy link
Author

grewek commented Feb 19, 2024

I made a mess with my git repositories and accidentally force pulled this mess onto development which in turn landed here...my apologies, i will close this pull request for now and make a new one :(

@grewek grewek closed this Feb 19, 2024
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

Successfully merging this pull request may close these issues.

None yet

5 participants