[in] | scan_intvl | Scan interval in units of 0.625ms. Valid range: 0x4 - 0xFFFF; can be 0. |
[in] | scan_win | Scan window in units of 0.625ms. Valid range: 0x4 - 0xFFFF; can be 0. |
[in] | type | Type to scan for: ACL connection or broadcaster. |
[in] | name | Name to search for. Depending on type of search, device name or broadcast name. Can be max BLE_SEARCH_NAME_MAX_LEN long; everything beyond that value will be cropped. Can be NULL. Shall be '\0' terminated. |
[in] | brdcast_id | Broadcast ID to search for. Only valid if type is BT_MGMT_SCAN_TYPE_BROADCAST. If both name and brdcast_id are provided, then brdcast_id will be used. Set to BRDCAST_ID_NOT_USED if not in use. |