Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeviceMethodCallback being called multiple times #21

Closed
AltusBaard opened this issue Mar 27, 2020 · 1 comment
Closed

DeviceMethodCallback being called multiple times #21

AltusBaard opened this issue Mar 27, 2020 · 1 comment

Comments

@AltusBaard
Copy link

When calling a device method from Azure IoT Central, the device method gets called 4 times and never responds correctly to IoT Central.

Error on IoT Central: Unexpected response occurred while attempting to execute method Start on device

I am using the esp32-iot-devkit-get-started/Device/device.ino sample.

Messages to IoT hub seem to work correct.

@AltusBaard
Copy link
Author

So got this sorted by using a different response message: { "Response": "Successful" }

Not sure if this is because of an IoT Central requirement, but found this in one of the IoT workbench examples

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

No branches or pull requests

1 participant