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.

CC2540 的SimpleBLEPeripheral 如何与三星 ble 通信?

Other Parts Discussed in Thread: CC2540

你好!我是在读本科生,最近在做三星s4和 CC2540的通信,但是 CC2540里的simpleProfilechar1UUID 是2字符,而三星提供的ANPServer例程里 uuid是16字符 ,想让两者通信 ,要怎么设置好呢? 非常感谢!

  • 这两个是不同的profile, 无法通信.

    你需要使用两边相对应的profile. 

  • hi Yan ,

       请问该如何修改两边的profile呢 主要修改对应UUID和handler么

    三星用的uuid 如:IMMEDIATE_ALERT_UUID =UUID.fromString("00001802-0000-1000-8000-00805f9b34fb") 

    SimpleBLEPeripheral里的uuid如:#define SIMPLEPROFILE_CHAR1_UUID            0xFFF1

    UUID位数不对,如何让两边UUID一致?对CC2540的认识不深,还望指点下~