This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Undefined function nrf_mesh_unique_token_get() in nRF5_SDK_for_Mesh

I added the Generic OnOff Model from the thingy52-mesh-provisioning-demo to the Light Switch Proxy Client example from the nRF5_SDK_for_Mesh and get a linker error for the function nrf_mesh_unique_token_get() as follows:

build/light_switch_proxy_client_nrf52840_xxAA_s140_6.0.0_Debug/obj/generic_on_off_client.o: In function `send_reliable_message':

undefined reference to `nrf_mesh_unique_token_get'

Question: where is the function nrf_mesh_unique_token_get() defined?

Parents
  • Hi Armin, 

     

    The access_token is something we are implementing in SDK v2.0.3, it can be removed for now. Please just simply comment out the  reliable.message.access_token = nrf_mesh_unique_token_get(); in send_reliable_message in genedic_on_off_client.c

     

    Please be aware that what implemented in the repo was just a demo application, it's not the proper implementation of the generic on off model. 

Reply
  • Hi Armin, 

     

    The access_token is something we are implementing in SDK v2.0.3, it can be removed for now. Please just simply comment out the  reliable.message.access_token = nrf_mesh_unique_token_get(); in send_reliable_message in genedic_on_off_client.c

     

    Please be aware that what implemented in the repo was just a demo application, it's not the proper implementation of the generic on off model. 

Children
Related