52832 slaver connected by android app but not find service

Hi

  I am using 52832 peripheral role.

  sdk16.0

  ble_uart add one character 0xff03 which have notify attribute

  have these function

 1. Use connectable broadcast on no connection, use unconnectable broadcast on connection.

 2. When turn on notify to send a few bytes of data to the host.

 3. When received data from ff03 send notify to app 0x11,0x11

app

when app connect this device, app will open notify.

Operate

I use android app to connect this device, app send some data to device and disconnect this device.

Problem

Repeat the operation several times and the following situation occurs,connected but can't find services characters.

Can you give me some advices,thanks

Parents Reply
  • The peer response to not finding the attribute in the given range seems like a proper response within the discovery service when the attribute in given range is not found. Attribute not found can sometimes be used to know that the end of discovery procedure has been achieved and the app does not need to see to find more attributes after that range.

    It seems to me that the service/characteristics are not properly initialized or something else went wrong in the server side. It is still not clear to me why you suspect that the highlighted sniffer packet is wrong?

Children
Related