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

ble_app_uart_coexist

hi

I'm trying to add to the example ble_app_uart_coexist GATT provisioning bearer and the Proxy feature enabled.

when i'm calling the function void advertising_init(void) the mesh mobile app not recognizing the device but when i remove the calling it's work fine but the uart not working.

SEGGER Embedded Studio version  4.12

nRF5 SDK version       15.2.0

nRF5 SDK for Mesh version   3.1.0

Hardware            BMD-300 Evaluation Board

i want to use the uart to send data over the ble mesh.

can someone help me with this

thanks

Parents Reply
  • Hi,

    The uart_event_handle() is the callback function that is called when the nRF receives a physical UART message via the pins on the chip.

    The nus_data_handler() is the callback function that is called when the nRF receives a message over BLE (through the Nordic UART Service - NUS).

    Typically in our examples, the uart_event_handle() will pass on the data to NUS (ble_nus_data_send()), and the nus_data_handler() will pass on the data to the UART (app_uart_put()), which may be what confuses you. 

    Best regards,

    Edvin

Children
Related