cc2541 协议栈:
------------------------------------------------------------------------------------------
/** @defgroup GAP_ADVERTISEMENT_REPORT_TYPE_DEFINES GAP Advertising Report Event Types
* for eventType field in gapDevRec_t and gapDeviceInfoEvent_t* @{
*/
#define GAP_ADRPT_ADV_IND 0x00 //!< Connectable undirected advertisement
#define GAP_ADRPT_ADV_DIRECT_IND 0x01 //!< Connectable directed advertisement
#define GAP_ADRPT_ADV_SCAN_IND 0x02 //!< Scannable undirected advertisement
#define GAP_ADRPT_ADV_NONCONN_IND 0x03 //!< Non-Connectable undirected advertisement
#define GAP_ADRPT_SCAN_RSP 0x04 //!< Scan Response
------------------------------------------------------------------------------------------
非定向可连接广播包
定向可连接广播包
非定向可连接广播包
非定向不可连接广播包
扫描响应广播包