hacker-cb / modbus-dart

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

Error when I have access to the internet #27

Closed damedomey closed 1 year ago

damedomey commented 1 year ago

Hello, I am working on an application that talks to a connected object via modbus. Since I also need to access the internet to retrieve some information from my api, my phone connects to my connected object (via wifi) and accesses the internet via mobile data. I have a fairly simple code that just tries to connect to my object. It only succeeds if my mobile data connection is not active.

image

damedomey commented 1 year ago

Sorry, the problem was not with the modbus package but with my connection mode. Because my application establishes the wifi connection, the system doesn't consider it as a connection established by the user which implies all my complications.