hacker-cb / modbus-dart

BSD 3-Clause "New" or "Revised" License
37 stars 22 forks source link

How about the rtu mode without tcp? #3

Closed VesperHan closed 2 years ago

hacker-cb commented 4 years ago

You mean RTU with Serial? Serial is not implemented yet. Contributions are welcome

doudouaixiaoyu commented 4 years ago

请问接受和发送都能实现吗?

hacker-cb commented 4 years ago

MR welcome

doudouaixiaoyu commented 4 years ago

I saw your example,I do not see the sent code, I see 'var slaveIdResponse = await client.reportslaveid ();'Is the send performed here

Exquemelin commented 3 years ago

With this version of the code I only read data, but can I write data to a device?

hacker-cb commented 3 years ago

@Exquemelin yes, you can write. Something like client.writeMultipleRegisters(), client.writeSingleCoil(), etc

Exquemelin commented 3 years ago

Ah, ok. Thank you for your fast support. I will try it.