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

Errors while building nrf52 sdk v15.0.0 with mesh v2.0.1( Coexistence of nrf5 and mesh)

Hello,

I am trying to merge ble_app_uart with light switch server example by following this link. But while building I am getting the following errors.

I am using SES to build it.

Any help would be appreciated.

Parents
  • The structures are defined in nrf_uarte.h

    Have you made sure path to nrf_uarte.h is included in the User directories ? 

    How did you integrate Mesh and BLE ? You add Mesh into BLE project or vice versa ? 

    Have you made sure you enable NRFX_UARTE inside sdk_config.h ?

  • I have solved that issue was with adding the user directory... I have integrated mesh into BLE but now I am getting errors like undefined reference to some functions. I have added all the files as mentioned in the documentation made appropriate changes as well. Please look into my code and the errors as well.

     

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /**
    * Copyright (c) 2016 - 2018, Nordic Semiconductor ASA
    *
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without modification,
    * are permitted provided that the following conditions are met:
    *
    * 1. Redistributions of source code must retain the above copyright notice, this
    * list of conditions and the following disclaimer.
    *
    * 2. Redistributions in binary form, except as embedded into a Nordic
    * Semiconductor ASA integrated circuit in a product or a software update for
    * such product, must reproduce the above copyright notice, this list of
    * conditions and the following disclaimer in the documentation and/or other
    * materials provided with the distribution.
    *
    * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
    * contributors may be used to endorse or promote products derived from this
    * software without specific prior written permission.
    *
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Have you included simple_on_off_server.h in your main.c ?


    When you see a description of a function missing, you can go to the original mesh project and look for that function to see where it described and include that into your project. 

Reply
  • Have you included simple_on_off_server.h in your main.c ?


    When you see a description of a function missing, you can go to the original mesh project and look for that function to see where it described and include that into your project. 

Children