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

Cannot discover characteristic

Hi all,

I am new to nordic. I have two pca10031 dongle. First of all I had programmed example codes (one as peripheral and other one as central) and tested, it works fine. But as per my end requirements, I have to scan and connect to iphone. So, i was testing with my custom iOS app with nordic(as a central). I am able to discover the Service successfully, but not able to get the characteristics.

Here are the results what i am getting while debugging the code.

in static void db_discovery_evt_handler(ble_db_discovery_evt_t * p_evt) function, i am getting p_characteristic->characteristic.uuid.uuid = 0x00; p_characteristic->characteristic.uuid.type = 0x00;

Can any one help me?

Am i missing anything on nordic side or iOS side.

Please help me.

Thanks in advance.

Parents
  • Thank you for replying. Issue is resolved. Actual problem was at iPhone side. UUID of service and characteristic was causing the problem. UUID of service : E20A39F4-73F5-4BC4-A12F-17D1AD07A961 UUID of characteristic : 08590F7E-DB05-467E-8757-72F6FAEB13D4

    after changing the UUID of characteristic to E20A39F5-73F5-4BC4-A12F-17D1AD07A961, everything works fine.

Reply
  • Thank you for replying. Issue is resolved. Actual problem was at iPhone side. UUID of service and characteristic was causing the problem. UUID of service : E20A39F4-73F5-4BC4-A12F-17D1AD07A961 UUID of characteristic : 08590F7E-DB05-467E-8757-72F6FAEB13D4

    after changing the UUID of characteristic to E20A39F5-73F5-4BC4-A12F-17D1AD07A961, everything works fine.

Children
No Data
Related