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

Mtu Data Length Extension

Hi , I have also tried to user android device as  a peripheral to communicate with remote nrf52 device, but due to rx and tx octet mismatching of data symmetric issue , after mtu exchange communication not  able to continue like for notification enable , sending image information , but using nrf connect app it s working .

Will you please able to help fix this issue

Regards,

Shemin

Parents
  • Hi Shemin,

    What SDK are you using?

    Could you provide the debug and sniffer log?

    but using nrf connect app it s working .

    What cannot work on your android device? Is your app? Please elaborate more on the detail. 

    -Amanda H.

  • Hi Amanda,

    Sdk v 15 is using for ble nrf 52 series remote device , iam creating an android peripheral app for communicating with remote device.

    I had created services  and added it , then mtu accepting and negotiation ,then sending notifcations for enabling to remote device , then sending image data and image size, and display this image in remote device .

    But here its till mtu negotiation is occuring, then tx octet and rx octet from peripheral and remote sides are different , and data packet length also different , as ble soft devices supports only data symmetric communication transfer , is this  issue needs to be fixed from android app code of peripheral or c embedded code for remote ble soft device .

    I am also attaching debug log response while communicating peripheral android app with remote ble device .

     Response link : https://ibb.co/YbnpYD1

  • Hi Shemin, 

    From the debug log, I see the mtu exchange is completed and the data length is set to 244. Service UUID 0x1 not found.

    Regarding the error "Service UUID 0x1 Not found", please make sure that you also use the same UUID BASE on both central and peripheral. I.e. the CUSTOM_SERVICE_UUID_BASE that is used on the peripheral, is also the same as the UUID base used on the central side(originally named LBS_UUID_BASE on the multilink central example).

    -Amanda H. 

Reply
  • Hi Shemin, 

    From the debug log, I see the mtu exchange is completed and the data length is set to 244. Service UUID 0x1 not found.

    Regarding the error "Service UUID 0x1 Not found", please make sure that you also use the same UUID BASE on both central and peripheral. I.e. the CUSTOM_SERVICE_UUID_BASE that is used on the peripheral, is also the same as the UUID base used on the central side(originally named LBS_UUID_BASE on the multilink central example).

    -Amanda H. 

Children
Related