This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Use of ESB with S110

Hi

I am trying to run an application that needs to use ESB and BLE. For that I am using the ble_app_template (SDK 6.1.0) in which I have a included the esb_sd_resources_arm.lib (I am using Keil 4.73.0.0). The first time I compiled it I got the errors in the build log 1, then I removed the compiler control string (--enum_is_int), and now I am getting the errors on the build log 2.

What am I missing? There is another library esb_arm.lib, but since I will use the sd for BLE, the right one is esb_sd_resources_arm.lib ?

Thanks!

The build logs:

Build Log 1.txt

build log 2.txt

  • " There are 4 callback functions that are hard-coded with the ESB library, which needs to be declared in your project. If you look at the ESB example projects located in the SDK (esb_ptx_prx), you can see how they're implemented. "

    -- Håkon Alseth

    The callback functions needed to be added in the code are:

    void nrf_esb_tx_failed(uint32_t tx_pipe) { }

    void nrf_esb_rx_data_ready(uint32_t rx_pipe, int32_t rssi) { }

    void nrf_esb_tx_success(uint32_t tx_pipe, int32_t rssi) { }

    void nrf_esb_disabled(void) { }

Related