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

Strange case with Ble_app_uart

Hi everyone, I took the example Ble_app_uart and I modified the Nus service for send data in Indicate mode. With MCP I discover service and enable service (0x02->indicate) with success. Well, if I try to send data from my PCA10001 through a serial terminal connected to it (via usb cable), on MCP (connected with PCA10000), I don't receive nothing. BUT.....if I download the original fw BLE_app_uart (in notify mode, that I found in the Nordic folder) and then download again my new code, the send data works fine when I enable service. I attached my new Nus (renamed Crs) service and my main code for clarity. Another things, my project works with this method (download the original BLE_app_uart before), if in Keil "option for target", tab "Target", the flag "noInit" is checked in IRAM1 memory area; otherwise if this flag isn't checked it doesn't work, and send nothing, also I enable service. I don't know what's happening... Someone can help me? Tanks a lot

Paolo A. Indicate_ble_app_uart.zip

Parents Reply Children
No Data
Related