This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ble_app_uart + dfu ,receive and send data can not work.

sdk : v8.1.0 os : ios tool : nrf tool uart

use the ble_app_uart, it worked normaly. and add duf fuction in the application by the notice

[http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00087.html]

it can olso connect and disconnect. but receive and send data can nor work. modify the define

#define IS_SRVC_CHANGED_CHARACT_PRESENT 1

as

#define IS_SRVC_CHANGED_CHARACT_PRESENT 0

0 can work and 1 can not work.

debug in it i find there be wrong in fileble_nuc.c and the functionon_write(ble_nus_t * p_nus, ble_evt_t * p_ble_evt)

p_evt_write->handle is not equal to p_nus->rx_handles.cccd_handle

what kind of compatibility problem would I have?

Parents
  • I have added DFU support to the S110 ble_app_uart example from SDK v8.1.0 and it is working without any problems, i.e. I can send and receive data using the UART tool in the nRF Toolbox iOS app and a Termite terminal on my computer. I have attached the project below, just extract it in SDK_v8.1.0-folder/examples/ble_peripheral. I have also verified that it is possible to perform firmware updates using the attached firmware image.

    You may have to turn off Hardware Flow Control(HWFC) by setting the HWFC define to false in pca10028.h (SDK_v8.1.0-folder/examples/bsp).

    Attachments:

    Keil Project: ble_app_uart_dfu.zip

    DFU Firmware Image: ble_app_uart_dfu_image.zip

    -Bjørn

  • it worked. my application also. problely my question is not clear. but i find the point. thanks for waste of your time.

Reply Children
No Data
Related