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

modbus_tcp: Add NFC tag injection. #359

Open
rtrbt opened this issue Jul 29, 2024 · 1 comment
Open

modbus_tcp: Add NFC tag injection. #359

rtrbt opened this issue Jul 29, 2024 · 1 comment
Labels
charger This issue is _only_ relevant for the WARP Charger enhancement New feature or request

Comments

@rtrbt
Copy link
Member

rtrbt commented Jul 29, 2024

This is difficult(TM) at the moment, because we don't know which registers were written. If the user sends a tag ID byte for byte, we would have to use some timing magic to know when to inject the current register content. (i.e. "inject if no tag ID register was written for a second" or something similar). This is made even more difficult by the fact that we don't know which registers were written, because ESP-Modbus just writes the memory block in an interrupt and does not notify us of anything.

@rtrbt rtrbt added enhancement New feature or request charger This issue is _only_ relevant for the WARP Charger labels Jul 29, 2024
@borg42
Copy link
Member

borg42 commented Jul 29, 2024

Wouldn't it be possible to have a tag id buffer that can be written at any time and does nothing and then have a "inject now" coil that injects the tag id currently in the buffer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
charger This issue is _only_ relevant for the WARP Charger enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants