Problems with nrf Connect SDK App(BLE) and RTT Viewer

Hello,

hello, when I connect a BLE Application with the RTT Viewer, my device does not appear in the nrf Connect APP. I need to disconnect the RTT Viewer so that the device appears in the app and I can connect to it. 

Shouldn't it be able to connect if it is also connected to the RTT Viewer at the same time? In the following you can see my prj.conf file:

#RTT-UART
CONFIG_SERIAL=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_CONSOLE=y
#CONFIG_UART_CONSOLE=y


# CONFIG_USE_SEGGER_RTT=y
# CONFIG_CONSOLE=y
CONFIG_RTT_CONSOLE=y
# CONFIG_UART_CONSOLE=n


#NFCT Pins as GPIO
CONFIG_NFCT_PINS_AS_GPIOS=y

#Logging
CONFIG_LOG=y

#RTC
CONFIG_RTC=n

# Sensor
CONFIG_SENSOR=y

# Enable MPU
CONFIG_ARM_MPU=y

#GPIO
CONFIG_GPIO=y

# Button and LED library   
#CONFIG_DK_LIBRARY=y

# Bluetooth LE
CONFIG_BT=y

# Include the Peripheral Role support
CONFIG_BT_PERIPHERAL=y

#Change the Bluetooth LE device name to Nordic_Peripheral
CONFIG_BT_DEVICE_NAME="Nordic_HMI"

# Increase stack size for the main thread and System Workqueue 
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_MAIN_STACK_SIZE=2048

#BAS Service
#CONFIG_BT_BAS=n

#ADC
CONFIG_ADC=y

Parents Reply
  • hey, 

    thank you for your answer. But, I already have this lines in my prj.conf file.

    the problem with RTT is this: When I connect to the RTT Viewer, there is no scanning. My device does not appear in the nrf Connect APP.

    When I disconnect again with the RTT Viewer, my device appears in the nrf Connect app and I can connect to my custom board. Now when I reconnect to the RTT vIewer, the BLE connection is broken. The error message BLE timeoutr appears.

    It seems to me that I can not connect to the RTT Viewer and via BLE at the same time. With the DEV kits this works without problems and I can connect at the same time with the DEV kits. But not with my custom board. What could be the reason?

    And I use ncs 2.4.0

Children
Related