TI大神,我想一开始CC2640为可连接模式,手机与其连接改变其参数完了,后蓝牙切换为不可连接广播模式,怎莫搞,有相关例程吗。
Viki Shi:
可以对gap.h进行修改
GAP_ADTYPE_ADV_IND //!< Connectable undirected advertisement
GAP_ADTYPE_ADV_HDC_DIRECT_IND //!< Connectable high duty cycle directed advertisement
GAP_ADTYPE_ADV_SCAN_IND //!< Scannable undirected advertisement
GAP_ADTYPE_ADV_NONCONN_IND //!< Non-Connectable undirected advertisement
GAP_ADTYPE_ADV_LDC_DIRECT_IND //!< Connectable low duty cycle directed advertisement