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

UART Implementation connection issue

Hi, I am learning how to implement Long Range on the UART central and peripheral examples using SDK 17.0.0. The error I am facing is that the debug terminal shows

[ app_timer: RTC:initialized

app: Debug logging for UART over RTT started.

app: Connected

app: Disconnected ]

The connection state switched immediately. The issue I think I face is about the high packet error rate : here

Will changing the dbm to 8 (max dBm for nRF52840) resolve this? And how to apply sd_ble_gap_tx_power_set() to the codes because I cannot find the function in the UART despite searching the whole file, any place I can learn to do this and if doing so will resolve the issue I am facing? Thank you.

Parents
  • I am also facing the same iisue with nrf52833. I am using segger embedded studio for building and flashing.

    info> app_timer: RTC: initialized.

    <info> app: Debug logging for UART over RTT started.

    <info> app: Connected

    <info> app: Disconnected

    <info> app: Connected

    <info> app: Disconnected

    <info> app: Connected

    <info> app: Disconnected

    <info> app: Connected

Reply
  • I am also facing the same iisue with nrf52833. I am using segger embedded studio for building and flashing.

    info> app_timer: RTC: initialized.

    <info> app: Debug logging for UART over RTT started.

    <info> app: Connected

    <info> app: Disconnected

    <info> app: Connected

    <info> app: Disconnected

    <info> app: Connected

    <info> app: Disconnected

    <info> app: Connected

Children
No Data
Related