kopia lustrzana https://github.com/espressif/esp-idf
component/bt: Change the duration type from UINT8 to UINT32
rodzic
77a53e528a
commit
a42bf640bc
|
@ -2127,7 +2127,7 @@ void BTA_DmCloseACL(BD_ADDR bd_addr, BOOLEAN remove_dev, tBTA_TRANSPORT transpor
|
||||||
** Returns void.
|
** Returns void.
|
||||||
**
|
**
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
extern void BTA_DmBleObserve(BOOLEAN start, UINT8 duration,
|
extern void BTA_DmBleObserve(BOOLEAN start, UINT32 duration,
|
||||||
tBTA_DM_SEARCH_CBACK *p_results_cb,
|
tBTA_DM_SEARCH_CBACK *p_results_cb,
|
||||||
tBTA_START_STOP_SCAN_CMPL_CBACK *p_start_stop_scan_cb)
|
tBTA_START_STOP_SCAN_CMPL_CBACK *p_start_stop_scan_cb)
|
||||||
{
|
{
|
||||||
|
|
|
@ -478,7 +478,7 @@ typedef struct {
|
||||||
typedef struct {
|
typedef struct {
|
||||||
BT_HDR hdr;
|
BT_HDR hdr;
|
||||||
BOOLEAN start;
|
BOOLEAN start;
|
||||||
UINT16 duration;
|
UINT32 duration;
|
||||||
tBTA_DM_SEARCH_CBACK *p_cback;
|
tBTA_DM_SEARCH_CBACK *p_cback;
|
||||||
tBTA_START_STOP_SCAN_CMPL_CBACK *p_start_scan_cback;
|
tBTA_START_STOP_SCAN_CMPL_CBACK *p_start_scan_cback;
|
||||||
tBTA_START_STOP_SCAN_CMPL_CBACK *p_stop_scan_cback;
|
tBTA_START_STOP_SCAN_CMPL_CBACK *p_stop_scan_cback;
|
||||||
|
|
|
@ -2010,7 +2010,7 @@ extern void BTA_DmSetEncryption(BD_ADDR bd_addr, tBTA_TRANSPORT transport,
|
||||||
** Returns void
|
** Returns void
|
||||||
**
|
**
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
extern void BTA_DmBleObserve(BOOLEAN start, UINT8 duration,
|
extern void BTA_DmBleObserve(BOOLEAN start, UINT32 duration,
|
||||||
tBTA_DM_SEARCH_CBACK *p_results_cb,
|
tBTA_DM_SEARCH_CBACK *p_results_cb,
|
||||||
tBTA_START_STOP_SCAN_CMPL_CBACK *p_start_stop_scan_cb);
|
tBTA_START_STOP_SCAN_CMPL_CBACK *p_start_stop_scan_cb);
|
||||||
|
|
||||||
|
|
|
@ -580,7 +580,7 @@ static void btc_set_encryption_callback(BD_ADDR bd_addr, tBTA_TRANSPORT transpor
|
||||||
}
|
}
|
||||||
#endif ///SMP_INCLUDED == TRUE
|
#endif ///SMP_INCLUDED == TRUE
|
||||||
|
|
||||||
static void btc_ble_start_scanning(uint8_t duration,
|
static void btc_ble_start_scanning(uint32_t duration,
|
||||||
tBTA_DM_SEARCH_CBACK *results_cb,
|
tBTA_DM_SEARCH_CBACK *results_cb,
|
||||||
tBTA_START_STOP_SCAN_CMPL_CBACK *start_scan_cb)
|
tBTA_START_STOP_SCAN_CMPL_CBACK *start_scan_cb)
|
||||||
{
|
{
|
||||||
|
|
|
@ -341,7 +341,7 @@ BOOLEAN btm_ble_send_extended_scan_params(UINT8 scan_type, UINT32 scan_int,
|
||||||
** Returns void
|
** Returns void
|
||||||
**
|
**
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
tBTM_STATUS BTM_BleObserve(BOOLEAN start, UINT8 duration,
|
tBTM_STATUS BTM_BleObserve(BOOLEAN start, UINT32 duration,
|
||||||
tBTM_INQ_RESULTS_CB *p_results_cb, tBTM_CMPL_CB *p_cmpl_cb)
|
tBTM_INQ_RESULTS_CB *p_results_cb, tBTM_CMPL_CB *p_cmpl_cb)
|
||||||
{
|
{
|
||||||
tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var;
|
tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var;
|
||||||
|
|
|
@ -1191,7 +1191,7 @@ tBTM_STATUS BTM_BleWriteScanRspRaw(UINT8 *p_raw_scan_rsp, UINT32 raw_scan_rsp_le
|
||||||
**
|
**
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
//extern
|
//extern
|
||||||
tBTM_STATUS BTM_BleObserve(BOOLEAN start, UINT8 duration,
|
tBTM_STATUS BTM_BleObserve(BOOLEAN start, UINT32 duration,
|
||||||
tBTM_INQ_RESULTS_CB *p_results_cb, tBTM_CMPL_CB *p_cmpl_cb);
|
tBTM_INQ_RESULTS_CB *p_results_cb, tBTM_CMPL_CB *p_cmpl_cb);
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue