I'm developing a multi module scenario using IoTEdge and I need to test Direct Methods Communication using the development environment (Debugging/Simulator).
I've tested the following scenario:
Scenario:
- Device1
- Module1 - Subscribes SetMethodHandlerAsync (Method1)
- Module2 - Calls InvokeMethodAsync (Device1, Module1, Method1)
Results:
It was impossible to reach the destination module due the missing device registration
{"message":"Client rramalho-device not found"} not registered
There is any way to debug direct methods communication without pushing modules to Cloud and having the device running directly in the device ?