Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
a3a0755
Rtop 82 create modbus master model (#20)
marconetsf Oct 16, 2025
7ed1070
Merge branch 'development' into RTOP-55-Plugin-Modbus-Mstr
marconetsf Oct 20, 2025
8eb441a
Rtop 83 create master plugin init (#23)
marconetsf Oct 20, 2025
e45ecd9
adding iec conversion class and function
marconetsf Oct 20, 2025
568a1f1
adjusting model class to handle multiple devices
marconetsf Oct 20, 2025
1553c89
Now manage_plugin_venvs.sh only install and check venvs of listed and…
marconetsf Oct 20, 2025
de40f2b
updating plugins.conf with modbus_master plugin
marconetsf Oct 20, 2025
6325dff
returning pyEval implementation to give python permission
marconetsf Oct 22, 2025
b09dfbb
adding script slave modbus 4test
marconetsf Oct 22, 2025
1e488cd
moving IEC dataclass to shared folder
marconetsf Oct 22, 2025
0a4d4b4
Merge branch 'development' into RTOP-55-Plugin-Modbus-Mstr
marconetsf Oct 23, 2025
6e89856
improving mutex taking and releasing logic
marconetsf Oct 23, 2025
dbb75c5
adding proper convertion from hex string to int
marconetsf Oct 27, 2025
e8de7cf
updating modbus master plugin config file
marconetsf Oct 27, 2025
df7912b
Merge branch 'development' into RTOP-85-Create-Master-Plugin-Start
marconetsf Oct 29, 2025
16f2fe1
Merge branch 'development' into RTOP-55-Plugin-Modbus-Mstr
marconetsf Oct 29, 2025
1b48fdd
Merge branch 'RTOP-55-Plugin-Modbus-Mstr' into RTOP-85-Create-Master-…
marconetsf Oct 29, 2025
e5bdaa0
avoiding manipulate python GIL when no plugins
marconetsf Oct 29, 2025
8a0a7c2
avoiding python GIL manipulation when no plugins
marconetsf Oct 29, 2025
985f075
adjusting wrong buffer association
marconetsf Oct 29, 2025
d4556c0
retry connection
marconetsf Oct 29, 2025
d57db55
forcing requirements commit
marconetsf Oct 29, 2025
ee53f58
Merge branch 'development' into RTOP-55-Plugin-Modbus-Mstr
lucasbutzke Oct 29, 2025
eed20ad
Merge branch 'development' into RTOP-55-Plugin-Modbus-Mstr
marconetsf Oct 31, 2025
c9cacd5
Rtop 85 create master plugin start (#29)
marconetsf Nov 4, 2025
c96d312
adjusting modbus settings file to match blink example
marconetsf Nov 5, 2025
7f9be94
Merge branch 'RTOP-55-Plugin-Modbus-Mstr' of https://github.com/Auton…
marconetsf Nov 5, 2025
0b9f45f
[RTOP-84] Fix tests and init master unit tests
lucasbutzke Nov 6, 2025
a3751bd
[RTOP-85] Pytest conf and read/write integration
lucasbutzke Nov 6, 2025
691fdd8
[RTOP-84] Pytest conftest and mock
lucasbutzke Nov 7, 2025
e774afb
[RTOP-84] IOs config test and renaming files files
lucasbutzke Nov 7, 2025
44cc723
[RTOP-84] Modbus config tests
lucasbutzke Nov 7, 2025
ced0954
[RTOP-84] Mock server for clients tests
lucasbutzke Nov 7, 2025
cee0315
[RTOP-84] conftest and modbus slave test
lucasbutzke Nov 11, 2025
4cd7fbb
[RTOP-84] Moving test script
lucasbutzke Nov 11, 2025
48318d1
[RTOP-84] Test modbus master plugin
lucasbutzke Nov 11, 2025
08ac7fd
[RTOP-84] Fix tests assertions
lucasbutzke Nov 12, 2025
065b1b8
[RTOP-84] Fix read and write on mock slave device
lucasbutzke Nov 12, 2025
923ca91
[RTOP-84] Modbus slave SBA moxk fix
lucasbutzke Nov 12, 2025
06fee5a
Merge branch 'RTOP-55-Plugin-Modbus-Mstr' into RTOP-84-Master-Plugin-…
lucasbutzke Nov 12, 2025
4d5feb5
Fix merge error on modbus master plugin
lucasbutzke Nov 12, 2025
4596202
[RTOP-60] Script for Linux and Docker image running tests
lucasbutzke Nov 14, 2025
cdb0c51
[RTOP-60] Modbus slave tests and setup config
lucasbutzke Nov 14, 2025
216c984
Rtop 84 master plugin tests (#32)
lucasbutzke Nov 14, 2025
a9a3701
[RTOP-60] Fix conftest for input read
lucasbutzke Nov 14, 2025
09764a9
[RTOP-60] Fix datablock read
lucasbutzke Nov 14, 2025
1cce70b
Remove invalid chary
lucasbutzke Nov 14, 2025
26dcf80
Merge branch 'RTOP-55-Plugin-Modbus-Mstr' into RTOP-60-Modbus-Slave-T…
lucasbutzke Nov 14, 2025
b0c96a3
Merge branch 'RTOP-55-Plugin-Modbus-Mstr' into RTOP-60-Modbus-Slave-T…
lucasbutzke Nov 14, 2025
3944d23
Native plugins load symbols (#31)
marconetsf Nov 17, 2025
a1c4836
[RTOP-60] Removing comments
lucasbutzke Nov 17, 2025
bf2cd23
Rtop 60 modbus slave tests (#33)
lucasbutzke Nov 17, 2025
93c44ef
adding modbus master config description md
marconetsf Nov 18, 2025
a6002da
Quick fix on 32bit and 64bit buffer writing routine
marconetsf Nov 18, 2025
45255fb
Update core/src/drivers/plugins/python/shared/__init__.py
marconetsf Nov 18, 2025
31c9cb1
Update core/src/drivers/plugins/python/modbus_master/modbus_master_pl…
marconetsf Nov 18, 2025
052e163
removing emojis
marconetsf Nov 19, 2025
bf1dfbb
Merge branch 'development' into RTOP-55-Plugin-Modbus-Mstr
marconetsf Nov 19, 2025
9c4b73c
[RTOP-55] Move drivers pytest to correct folder
lucasbutzke Nov 19, 2025
3a1a2d6
Merge branch 'RTOP-60-Modbus-Slave-Tests' into RTOP-55-Plugin-Modbus-…
lucasbutzke Nov 19, 2025
b35b91c
Refactor Modbus master plugin to calculate GCD of cycle times and opt…
marconetsf Dec 4, 2025
712067c
Add Modbus Master plugin types and utility functions
marconetsf Dec 4, 2025
64acf85
Implement plugin restart functionality and update configurations from…
marconetsf Dec 4, 2025
2b6976e
Enhance plugin configuration management:
marconetsf Dec 4, 2025
3e8e509
Refactor plugin virtual environment setup to include all plugins rega…
marconetsf Dec 4, 2025
ac4a22d
Setup plugin venvs during installation
thiagoralves Dec 4, 2025
79882c7
Add missing functions on install.sh
thiagoralves Dec 4, 2025
0487ba0
Enhance plugin logging capabilities and configuration parsing
marconetsf Dec 5, 2025
edd068f
Add safe logging access to Modbus Master plugin for improved logging
marconetsf Dec 5, 2025
5512720
Add NULL pointer management for image tables
devin-ai-integration[bot] Dec 5, 2025
1510b8a
Simplify image_tables_clear_null_pointers to clear ALL pointers
devin-ai-integration[bot] Dec 5, 2025
4021181
Merge pull request #40 from Autonomy-Logic/devin/1764944990-null-poin…
thiagoralves Dec 5, 2025
9310319
feat(logging): Add SafeLoggingAccess for safe logging operations
marconetsf Dec 5, 2025
3b79a0c
Fix pymodbus 3.x API compatibility and pylint issues
devin-ai-integration[bot] Dec 5, 2025
972bfc7
Merge pull request #41 from Autonomy-Logic/devin/1764964800-fix-pymod…
thiagoralves Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ RUN ./install.sh

EXPOSE 8443

CMD ["bash", "./scripts/setup-tests-env.sh"]
CMD ["bash", "./scripts/run-pytest.sh"]
26 changes: 17 additions & 9 deletions core/src/drivers/plugin_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,24 @@ int parse_plugin_config(const char *config_file, plugin_config_t *configs, int m
continue;
configs[config_count].type = atoi(token);

// parsing plugin_related_config_path
// parsing plugin_related_config_path (optional field)
token = strtok(NULL, ",");
if (!token)
continue;
strncpy(configs[config_count].plugin_related_config_path, token,
sizeof(configs[config_count].plugin_related_config_path) - 1);
configs[config_count]
.plugin_related_config_path[sizeof(configs[config_count].plugin_related_config_path) -
1] = '\0';
remove_newline(configs[config_count].plugin_related_config_path);
if (token && strlen(token) > 0)
{
printf("[PLUGIN_CONFIG]: Found config_path: '%s'\n", token);
strncpy(configs[config_count].plugin_related_config_path, token,
sizeof(configs[config_count].plugin_related_config_path) - 1);
configs[config_count]
.plugin_related_config_path[sizeof(configs[config_count].plugin_related_config_path) -
1] = '\0';
remove_newline(configs[config_count].plugin_related_config_path);
}
else
{
printf("[PLUGIN_CONFIG]: No config_path found, using empty string\n");
// No config path specified, use empty string
configs[config_count].plugin_related_config_path[0] = '\0';
}

// parsing venv_path (optional field)
token = strtok(NULL, ",\n\r");
Expand Down
Loading