Cannot find peripheral when scanning for specific service CBUUID

前端 未结 1 1565
长发绾君心
长发绾君心 2021-01-06 13:25

When I use:

CBUUID * uuid = [CBUUID UUIDWithString:@\"1800\"]; // GAP
DEBUG_LOG(@\"CBUUID: %@\",uuid); // CBUUID: Generic Access Profile
_centralMan = [[CBCe         


        
相关标签:
1条回答
  • 2021-01-06 14:01

    Turns out our peripheral code was not advertising the UUIDs a la this Bluetooth spec.

    As soon as we dropped them into the advertising packet, iOS picked them up no sweat.

    0 讨论(0)
提交回复
热议问题