How to build the minimal thread device (MTD) for Lopy4 mesh networking?
-
I would like to build a minimal thread device (MTD) for Lopy4. The mesh announcement says "The MTD (Minimal Thread Device) can be obtained with an additional build (recompile)". So how does it work in detail?
-
hi @iotGeek,
The pycom-esp-idf needs to be recompiled with
CXXFLAGS += -DOPENTHREAD_MTD=1:
https://github.com/pycom/pycom-esp-idf/blob/50d06df25679c98be05d1cb7ba945717de9726e3/components/openthread/component.mk#L21Why do you need MTD?
You could also disable Router Role, at run-time, using CLI command: https://github.com/openthread/openthread/blob/master/src/cli/README.md#routerrole
A note, the sleep of Lopy4 while the MTD has nothing to do, it's not ported (or I didn't tested it). -
hi @catalin,
thank you very much! This answers my question. I would like to evaluate the mesh networking functions for a project at our university. The devices are energy constrained and expected to consume as little energy as possible. For this usecase I would like to use a Sleepy End Device or at least a Minimal End Device.
I will use the CLI in combination with disabling the router role for a first evaluation.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login