You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checked the issue tracker for similar issues to ensure this is not a duplicate
Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
with modbus ASCII support disabled in the Configuration editor, I expect a simple modbus implemention ( modbus rtu slave example project) to compile without error
Actual behavior (suspected bug)
if i disable ascii mode (which I don't want or need for my application) I cannot compile cleanly.
enabling ascii support causes the issue to go away, and I can get things to compile. seems like an issue with the library configuration cmake stuff to me.
Error logs or terminal output
/mnt/NAS1/DEVEL/Crypto/firefly/managed_components/espressif__esp-modbus/modbus/mb_objects/mb_slave.c: In function'mbs_ascii_create':
/mnt/NAS1/DEVEL/Crypto/firefly/managed_components/espressif__esp-modbus/modbus/mb_objects/mb_slave.c:148:11: error: implicit declaration of function'mbs_ascii_transp_create'; did you mean 'mbs_tcp_transp_create'? [-Werror=implicit-function-declaration]
148 | ret = mbs_ascii_transp_create(ser_opts, (void **)&transp_obj);| ^~~~~~~~~~~~~~~~~~~~~~~
| mbs_tcp_transp_create
/mnt/NAS1/DEVEL/Crypto/firefly/managed_components/espressif__esp-modbus/modbus/mb_objects/mb_slave.c:164:9: error: implicit declaration of function'mbs_ascii_transp_delete'; did you mean 'mbs_tcp_transp_delete'? [-Werror=implicit-function-declaration]
164 | mbs_ascii_transp_delete(transp_obj);| ^~~~~~~~~~~~~~~~~~~~~~~
| mbs_tcp_transp_delete
Steps to reproduce the behavior
configure modbus module parameters and then try to build
Project release version
2.0.0 beta
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
Fedora 40
Shell
Bash
Additional context
No response
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
strange behaviour when you disable ASCII serial support
strange behaviour when you disable ASCII serial support (IDFGH-13866)
Oct 11, 2024
Checklist
How often does this bug occurs?
always
Expected behavior
with modbus ASCII support disabled in the Configuration editor, I expect a simple modbus implemention ( modbus rtu slave example project) to compile without error
Actual behavior (suspected bug)
if i disable ascii mode (which I don't want or need for my application) I cannot compile cleanly.
enabling ascii support causes the issue to go away, and I can get things to compile. seems like an issue with the library configuration cmake stuff to me.
Error logs or terminal output
Steps to reproduce the behavior
configure modbus module parameters and then try to build
Project release version
2.0.0 beta
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
Fedora 40
Shell
Bash
Additional context
No response
The text was updated successfully, but these errors were encountered: