building background :
SDK : 15.0
Development Kit: nrf52832 DK
IDE: Keil C
Softdevice: S132
----------------------------------------------------------------------------------------------------------------------
Problem Description:
When NUS is added to blinky project , I could find the UART service and characteristics on nRF_connect interface.
But , When I sent message to DK, there is something wrong....
----------------------------------------------------------------------------------------------------------------------
Actions:
As title, I'd like to add NUS to ble_app_blinky. So, I took actions below :
1.Add ble_nus.c , include related paths and enable related sdk_configs.
2.Copy " part of " ble_app_uart / main.c code to blinky project.
Copy part is shown below:
Header file and define part:
uart init / uart Handler / gatt handler / nus handler part:
service_init() part:
Also, I set the NRF_SDH_BLE_GATT_MAX_MTU_SIZE to 247 , just like ble_app_uart project:
----------------------------------------------------------------------------------------------------------------------
I have surveyed on Nordic-devZone for a while, but got nothing.
I will be appreciate if someone could give me a hand .
UPDATE 2018/06/08 PM 9:00
I have tried using RTT viewer for recording logs. Here shows the result.
I sent "eee" strings to DK but only the first "e" showed up .
UPDATE 2018/06/09 PM 5:00
Uploaded my test project - ble_app_blinky_add_NUS.rar