Commit Graph

53 Commits

Author SHA1 Message Date
Donghoon Park
c0b7cfc787 revert stm32 CMakeLists due to check ci test sucess 2024-12-15 05:37:26 +00:00
Donghoon Park
09f1f9dd0d manual revision to pass clang-format 2024-12-15 03:37:01 +00:00
Donghoon Park
c321e53391 refined stm32 example to pass clang format checker 2024-12-15 03:30:40 +00:00
Donghoon Park
3c23889d47 refined stm32 example to pass clang format checker 2024-12-15 03:17:00 +00:00
Donghoon Park
18a90a0a3e removed manual library handling in stm32 cmake example 2024-12-15 02:25:19 +00:00
Valerio De Benedetto
c660369a43 Fixes after STM32 example merge 2024-12-08 11:38:45 +01:00
donghoonpark
3bf5ed37c8 Add working dma example 2024-12-08 11:30:10 +01:00
donghoonpark
a1ee35dca3 Add working rtu example again (currently no dma) 2024-12-08 11:30:10 +01:00
donghoonpark
fbe94cf0b7 Fully renew the example with cmake integration. ioc deleted 2024-12-08 11:30:10 +01:00
Donghoon Park
c94da49b12 add client example 2024-12-08 11:30:10 +01:00
Donghoon Park
dc95d04fc9 Only single server is supported from nanomodbus. Change multi-server example to single server 2024-12-08 11:30:10 +01:00
Donghoon Park
1af4409ea9 add simple readme as a compile guide 2024-12-08 11:30:10 +01:00
Donghoon Park
0b665fd844 rename porting implementation 2024-12-08 11:30:10 +01:00
Donghoon Park
45afdcd07b add vscode setting to example folder 2024-12-08 11:30:10 +01:00
Donghoon Park
5a1d2f3adf Changed target mcu spec (blackpill board) 2024-12-08 11:30:10 +01:00
Donghoon Park
6d4af86974 Add main.c for implementation to executable link 2024-12-08 11:30:10 +01:00
Donghoon Park
896828f391 Improve server object to be multi-server spec available, add handler implementations 2024-12-08 11:30:10 +01:00
Donghoon Park
f7649300a4 Add handler prototypes and server data object 2024-12-08 11:30:10 +01:00
Donghoon Park
6248a24789 Add stm32 executable cmake example f401 blackpill 2024-12-08 11:30:10 +01:00
Stefan Becker
d4521b5973 Small fixes to TCP example
- don't write more data to socket than is left in buffer
- add missing LF in client printf()
2024-12-08 11:08:49 +01:00
Valerio De Benedetto
b8d247f329 Fixes to REGS_ADDR_MAX in server examples 2024-11-25 13:23:47 +01:00
Valerio De Benedetto
af44ba067a Fixes to rp2040 example 2024-09-20 15:43:16 +02:00
Valerio De Benedetto
7e4ef3e97e Fixes to rp2040 example 2024-09-20 15:32:03 +02:00
FranCDoc
2d37d6bb13 push rtu pico port 2024-09-20 14:18:07 +02:00
Valerio De Benedetto
6c5ff15b5e Fixes after merge 2024-09-20 14:02:42 +02:00
Hang Zhou
2def1aa693 resolve segment fault and Error on modbus connection 2024-09-20 14:00:54 +02:00
Valerio De Benedetto
8fafaa3bfe New *_create() APIs 2024-07-24 17:48:17 +02:00
M. Rashvand
e5d720c55d
Fix a bug where a HANDLE pointer is used instead of HANDLE. 2024-03-16 14:31:29 +03:30
Valerio De Benedetto
a25ee5781a FC 43 / 14 Read Device Identification 2024-02-10 03:13:28 +01:00
Valerio De Benedetto
dba38fc917 Fixes to linux TCP server example 2024-02-07 15:53:54 +01:00
Valerio De Benedetto
92b95be241 Updated arduino examples 2023-07-02 16:43:44 +02:00
Valerio De Benedetto
2e36f024bc Various fixes 2023-06-30 10:49:05 +02:00
Vyacheslav Verkhovin
e5b51cc4e7 Add File Records functions
Add both File Records functions (0x14 Read and 0x15 Write) for Client
and Server roles. Also, add a little tests and example.

Resolves: [#1] and [#24]
2023-06-30 10:11:32 +07:00
Jan Weiß
f7dfbd94ab Fix Clang static analyser nit: zero out nmbs_bitfield structs. 2023-04-17 18:44:59 +02:00
Valerio De Benedetto
f70fbd5260 Endianness-independent code 2023-03-13 12:30:32 +01:00
Valerio De Benedetto
2feb8b639e Fix to server-tcp linux example 2023-03-13 12:19:47 +01:00
benjamin pritchard
b2b91cc35f fixed x64 project settings to target console subsystem 2023-01-23 11:52:55 -05:00
benjamin pritchard
8c0fafaf70 initial commit; add win32 example 2023-01-17 19:40:16 -05:00
Valerio De Benedetto
98814d2a66 Formatting 2022-12-28 15:05:56 +01:00
Valerio De Benedetto
c654babb52 clang-tidy 2022-12-28 15:02:51 +01:00
Valerio De Benedetto
074cdf3d86 Merge branch 'ci-arduino' 2022-07-25 15:34:37 +02:00
jonath.re@gmail.com
80fa8ef4ae Send platform argument to nmbs_callbacks
This is useful for the same reasons as the arg is useful in the platform callbacks.
2022-07-22 19:19:04 +02:00
jonath.re@gmail.com
949cad80cf Compile Arduino examples in CI 2022-07-22 18:46:37 +02:00
Valerio De Benedetto
7045813f8b Fixes to arduino examples 2022-06-04 14:16:43 +02:00
Valerio De Benedetto
2a149a93ec Initial arduino examples 2022-06-02 22:49:30 +02:00
Valerio De Benedetto
494e1a385b Refactoring of examples 2022-06-02 22:48:54 +02:00
Valerio De Benedetto
83fb04392b Fixes to integer types 2022-06-02 11:52:10 +02:00
Valerio De Benedetto
76f28fefb9 Updated examples 2022-06-02 11:10:42 +02:00
Valerio De Benedetto
271f689771 Added NMBS_ERROR_CRC and NMBS_ERROR_INVALID_TCP_MBAP nmbs_error 2022-05-12 19:28:50 +02:00
Valerio De Benedetto
1d0321b285 Project rename 2022-01-25 00:37:54 +01:00