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

Error log

Hello,

My NUS services work fine i can transmit and receive  data over UART , but i still get this error in my nRF Toolbox (UART) . Any help will apreciated 

 

Parents
  • Hi, 

    Which version of SDK are you using? 

    What did you modify the example project?

    Could you enable the RTT log in the sdk_config.h and provide the log?

    #ifndef NRF_LOG_BACKEND_RTT_ENABLED
    #define NRF_LOG_BACKEND_RTT_ENABLED 1
    #endif

    Could you also provide the sniff log?

    This post might help. 

    -Amanda H.

  • Hello Amanda,

    im using zephyr rtos  and here the to creat GATT service 

    BT_GATT_SERVICE_DEFINE(nus_svc,
    		       BT_GATT_PRIMARY_SERVICE(&nus_base_uuid),
    		       BT_GATT_CHARACTERISTIC(&nus_tx_uuid.uuid,  // TX from the point of view of the central
    					      BT_GATT_CHRC_WRITE,   			              // central is allowed to write to tx
    					      BT_GATT_PERM_WRITE,
    					      NULL, bt_tx_callback, NULL),
    		       BT_GATT_CHARACTERISTIC(&nus_rx_uuid.uuid,  // RX from point of view of central
    					      BT_GATT_CHRC_READ | BT_GATT_CHRC_NOTIFY,
    					      BT_GATT_PERM_READ,
    					      bt_rx_callback, NULL, NULL),
    		       BT_GATT_CCC(bt_uart_ccc_changed,
    				   BT_GATT_PERM_READ | BT_GATT_PERM_WRITE));

Reply
  • Hello Amanda,

    im using zephyr rtos  and here the to creat GATT service 

    BT_GATT_SERVICE_DEFINE(nus_svc,
    		       BT_GATT_PRIMARY_SERVICE(&nus_base_uuid),
    		       BT_GATT_CHARACTERISTIC(&nus_tx_uuid.uuid,  // TX from the point of view of the central
    					      BT_GATT_CHRC_WRITE,   			              // central is allowed to write to tx
    					      BT_GATT_PERM_WRITE,
    					      NULL, bt_tx_callback, NULL),
    		       BT_GATT_CHARACTERISTIC(&nus_rx_uuid.uuid,  // RX from point of view of central
    					      BT_GATT_CHRC_READ | BT_GATT_CHRC_NOTIFY,
    					      BT_GATT_PERM_READ,
    					      bt_rx_callback, NULL, NULL),
    		       BT_GATT_CCC(bt_uart_ccc_changed,
    				   BT_GATT_PERM_READ | BT_GATT_PERM_WRITE));

Children
Related