Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

onData/onError callbacks are not called in the example code. #4

Open
thanakritlee opened this issue May 27, 2019 · 2 comments
Open

Comments

@thanakritlee
Copy link

Hello Bert,

I'm trying to run the example code given with my device/WiFi setup. I'm able to connect to the WiFi, and when readHoldingRegisters() is called I get a positive packetId back (as expected). However, the onError() and onData() callbacks are never called.

Do you have any idea what the problem might be?

Regards,
Thanakrit Lee

@bertmelis
Copy link
Owner

could you try with logging enabled?

@ghost
Copy link

ghost commented Aug 16, 2019

Hello Bert,
I'm trying to read data from 3 eastron sdm220 energy meters with slave ID 1,2,3 with your sample code. Wifi is connected. Al the displayed values are zero.
It's not clear for me if this must be possible.

Rgards,
Joop

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants