This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC1310: Contiki NG - Using multiple metrics to optimize routing

Part Number: LAUNCHXL-CC1310

Hi,

I'm searching for an example of MRHOF using multiple metrics to find the best parent?

Are there any suggestions?

I need to implement an objective function, which uses ETX or link quality and energy to find the best path.

Thanks for your help.

  • Are you trying to re-implement this functionality in contiki? This should already be taken care of in the routing layer of contiki, you can take a look at the source code under the "routing" directory.
    If you want an example I think the best way is to take a look at how this is done in contiki probably as a starting point you should look at the file rpl-mrhofc.c in there there are some defines like MAX_LINK_METRIC and PARENT_SWITCH_THRESHOLD which should be related to what you are looking for