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 能否设置为不可被发现,但能广播模式

Other Parts Discussed in Thread: CC2541

 求教一下各位,cc2541 能否设置为不可被发现,但能广播模式,手机只能接收到广播数据,但无法发现设备

  • Texas Instruments\BLE-CC254x-1.3.2\Projects\ble\SimpleBLEBroadcaster

    协议栈里有个广播者角色的例子,可参考。广告类型为如下

    #define GAP_ADTYPE_ADV_NONCONN_IND        0x03  //!< Non-Connectable undirected advertisement

    Non-connectable undirected--------no devices can initiate a connection with this advertiser; primarily used for general broadcast of data

  • 你好,TY,

          非常感谢你的解答,我的意思是,能不能有这样一种状态,在LightBlue 的peripheral列表里看不到设备,但是设备是在广播数据的,用usb-dongle可以捕获数据。我没有找到关于这一点的信息,感觉是不可以,想向你确认一下

  • 哦,首先TI的协议栈是通过了认证的,操作流程和数据包都是符合标准的,目的是为了互操作性。因此,你的要求只可能通过修改手机软件看是否能实现。

  • 你好,TY,

    谢谢你的回答