nRF5340 BLE DFU from NET core

Hello! 
Introduction. Responsibilities of the cores in my device:
1. app core. 
1.1. data processing from a stereo microphone
1.2. data sending to net core.
2. net core. 
2.1. ble communication, services supporting. 
2.2. data receiving from app core.

Everything works fine :)
But now I want to add BLE DFU )

As I understood from examples, I should use app core for smp server, so I should use ble communication support on app core, which changes my whole architecture.

Could please anyone help me with that situation? :)

Parents Reply Children
  • 3730.throughput_test.zip

    1. Connect to it with the Android app nRF Connect and enable notifications.

    2. Press button 1

    3. Watch logs

  •   could you please specify which version of sdk should I use to build your project?  

  • I tested with v3.0.0 yesterday, if I remember correctly

  • I tested with my phone (nrf Connect).
    I got about 300kbps. 

    00> [00:00:58.365,325] <inf> app: att MTU updated to 23 bytes
    00> [00:00:58.365,417] <inf> app: Connected
    00> [00:00:58.504,089] <inf> app: att MTU updated to 498 bytes
    00> [00:00:59.089,263] <inf> app: Connection paramaters updated.
    00>  - Interval: 7.50 ms
    00>  - Latency: 0
    00>  - Timeout: 5000 ms
    00> [00:00:59.299,133] <inf> app: att MTU updated to 498 bytes
    00> [00:00:59.344,207] <inf> app: Connection paramaters updated.
    00>  - Interval: 48.75 ms
    00>  - Latency: 0
    00>  - Timeout: 5000 ms
    00> [00:01:03.788,055] <inf> app: Connection paramaters updated.
    00>  - Interval: 30.0 ms
    00>  - Latency: 0
    00>  - Timeout: 4000 ms
    00> [00:01:07.991,790] <inf> app: Notifications enabled
    00> [00:02:23.094,390] <inf> app: Notification size : 495
    00> [00:02:23.094,451] <inf> app: Starting file transfer
    00> [00:02:26.066,711] <inf> app: Sent 102400 bytes (100 KB) in 2972 ms at 275 kbps
    00> [00:03:09.662,048] <inf> app: Notification size : 495
    00> [00:03:09.662,109] <inf> app: Starting file transfer
    00> [00:03:12.376,342] <inf> app: Sent 102400 bytes (100 KB) in 2714 ms at 301 kbps
    00> [00:03:26.161,773] <inf> app: Notification size : 495
    00> [00:03:26.161,834] <inf> app: Starting file transfer
    00> [00:03:29.299,591] <inf> app: Sent 102400 bytes (100 KB) in 3138 ms at 261 kbps
    00> [00:03:33.407,867] <inf> app: Notification size : 495
    00> [00:03:33.407,928] <inf> app: Starting file transfer
    00> [00:03:36.275,268] <inf> app: Sent 102400 bytes (100 KB) in 2868 ms at 285 kbps
    00> [00:04:59.489,074] <inf> app: Notification size : 495
    00> [00:04:59.489,135] <inf> app: Starting file transfer
    00> [00:05:02.423,004] <inf> app: Sent 102400 bytes (100 KB) in 2933 ms at 279 kbps
    00> [00:05:10.600,555] <inf> app: Notification size : 495
    00> [00:05:10.600,616] <inf> app: Starting file transfer
    00> [00:05:13.646,728] <inf> app: Sent 102400 bytes (100 KB) in 3046 ms at 268 kbps
     

Related