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

Facing issue with example #1

Open
ngoyal16 opened this issue Apr 4, 2022 · 10 comments
Open

Facing issue with example #1

ngoyal16 opened this issue Apr 4, 2022 · 10 comments

Comments

@ngoyal16
Copy link

ngoyal16 commented Apr 4, 2022

Not able to get data when using NewSettingsWithLowAuthentication or NewSettingsWithLowAuthenticationAndCiphering

panic: error sending AARQ: error sending: read failed: EOF

@jduranf
Copy link

jduranf commented Apr 8, 2022

@ngoyal16 seems the device isn't replying the AARQ.

The issue is in this line, when the library expects the device reply, but doesn't have any reply. You should check why the device doesn't reply.

@jduranf jduranf closed this as completed Apr 8, 2022
@ngoyal16
Copy link
Author

ngoyal16 commented Apr 8, 2022

@jduranf device is replying when there is no auth. but as soon as auth added it start thorwing the error.

@ngoyal16
Copy link
Author

ngoyal16 commented Apr 8, 2022

/reopen

@jduranf
Copy link

jduranf commented Apr 8, 2022

@ngoyal16 the device isn't replying, for any reason. Can you attach the sent frame using gosem library, and the expected frame by the device?

@jduranf jduranf reopened this Apr 8, 2022
@ngoyal16
Copy link
Author

ngoyal16 commented Apr 8, 2022

how would i know what would be the expected frame?

@jduranf
Copy link

jduranf commented Apr 8, 2022

how would I know why the device doesn't reply? you can use another DLMS software and capture the frames

@ngoyal16
Copy link
Author

ngoyal16 commented Apr 12, 2022

@jduranf

sent frame using lib: 000100200001005F605DA109060760857405080103A60A040848504C37323939388A0207808B0760857405080201AC12801031313131313131313131313131313131BE230421211F2000003C8D3B9BB4B244668FB489D7C2823D474292D6DC41E224872D1F7024

expected frame for meter: 00010020000100536051a109060760857405080103a60a040848504c37323939388a0207808b0760857405080201ac12801031313131313131313131313131313131be 170415 2113200000 0f1b 023efd292ccf1ee3209cd2363622

@ngoyal16
Copy link
Author

Also do we have plan to add Release request feature? while disconnect

@jduranf
Copy link

jduranf commented Apr 19, 2022

@ngoyal16 what do you mean with Release request feature? After disconnect there is nothing else to do...

Regarding the attached frames, can you send the frames using NewSettingsWithLowAuthentication?

Using NewSettingsWithLowAuthenticationAndCiphering the frames aren't the same probably due Ciphering settings. If you want, you can check generateUserInformation function, specially getInitiateRequest function to see if there is something wrong, or just review you Ciphering settings.

@ngoyal16
Copy link
Author

@jduranf release request mean RLRQ and RLRE

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