This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2541



GATT_DiscPrimaryServiceByUUID和

GAP_DeviceDiscoveryRequest

有什么区别??

  • 可以用BTOOL来发送不同的命令获得答案.一个是服务发现,一个是启动扫描

    参考链接

    www.deyisupport.com/.../13244.aspx

    GATT_DiscPrimaryServiceByUUID------

    This sub-procedure is used by a client to discover a specific

    *          primary service on a server when only the Service UUID is

    *          known. The primary specific service may exist multiple times

    *          on a server. The primary service being discovered is identified

    *          by the service UUID.

    GAP_DeviceDiscoveryRequest  ----- Start a device discovery scan.