Kể từ ngày 27 tháng 3 năm 2025, bạn nên sử dụng android-latest-release
thay vì aosp-main
để xây dựng và đóng góp cho AOSP. Để biết thêm thông tin, hãy xem phần Thay đổi đối với AOSP.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tham chiếu cấu trúc btgatt_track_adv_info_t
#include <
bt_common_types.h
>
Định nghĩa tại dòng
27
của tệp
bt_common_types.h
.
uint8_t advertiser_info_present
|
Tài liệu cho cấu trúc này được tạo từ tệp sau:
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: btgatt_track_adv_info_t Struct Reference\n\nbtgatt_track_adv_info_t Struct Reference\n========================================\n\n[Data Fields](#pub-attribs) \nbtgatt_track_adv_info_t Struct Reference \n\n`\n#include \u003c\n`[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)`\n\u003e\n`\n\n|-------------|---------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| uint8_t | [client_if](/reference/hal/structbtgatt__track__adv__info__t#a9f81125937debc87be2fa41bf8beede8) |\n| ||\n| uint8_t | [filt_index](/reference/hal/structbtgatt__track__adv__info__t#a444fcfde64f3ebc5603573b728967eda) |\n| ||\n| uint8_t | [advertiser_state](/reference/hal/structbtgatt__track__adv__info__t#aaef8cef016ebee67e2ac99b68abfbe13) |\n| ||\n| uint8_t | [advertiser_info_present](/reference/hal/structbtgatt__track__adv__info__t#a570b92b9e2475730e2bb83007c37a1bf) |\n| ||\n| uint8_t | [addr_type](/reference/hal/structbtgatt__track__adv__info__t#aa098ac8ac7e4aa630912ffb67aeaa363) |\n| ||\n| uint8_t | [tx_power](/reference/hal/structbtgatt__track__adv__info__t#a933494b037d387c3ebda7cdba7aee20b) |\n| ||\n| int8_t | [rssi_value](/reference/hal/structbtgatt__track__adv__info__t#abaec096fe420871b625aeb81571928ec) |\n| ||\n| uint16_t | [time_stamp](/reference/hal/structbtgatt__track__adv__info__t#a891b8e326b80e94913ec46b9642f988b) |\n| ||\n| bt_bdaddr_t | [bd_addr](/reference/hal/structbtgatt__track__adv__info__t#ac3aef9578a4246e94edd66485fe63d60) |\n| ||\n| uint8_t | [adv_pkt_len](/reference/hal/structbtgatt__track__adv__info__t#a31db49cf55d1bdb7283843ae5035320e) |\n| ||\n| uint8_t \\* | [p_adv_pkt_data](/reference/hal/structbtgatt__track__adv__info__t#a4b7de3c0a3e70655d69e088d41377813) |\n| ||\n| uint8_t | [scan_rsp_len](/reference/hal/structbtgatt__track__adv__info__t#adfa380702bfcdcbbdd898de598b82a61) |\n| ||\n| uint8_t \\* | [p_scan_rsp_data](/reference/hal/structbtgatt__track__adv__info__t#a440852761a9d85ec49cbf00b23757f0d) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[27](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\nField Documentation\n-------------------\n\n\n|-------------------|\n| uint8_t addr_type |\n\n\nDefinition at line\n[33](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|---------------------|\n| uint8_t adv_pkt_len |\n\n\nDefinition at line\n[38](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|---------------------------------|\n| uint8_t advertiser_info_present |\n\n\nDefinition at line\n[32](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|--------------------------|\n| uint8_t advertiser_state |\n\n\nDefinition at line\n[31](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|---------------------|\n| bt_bdaddr_t bd_addr |\n\n\nDefinition at line\n[37](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|-------------------|\n| uint8_t client_if |\n\n\nDefinition at line\n[29](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|--------------------|\n| uint8_t filt_index |\n\n\nDefinition at line\n[30](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|--------------------------|\n| uint8_t\\* p_adv_pkt_data |\n\n\nDefinition at line\n[39](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|---------------------------|\n| uint8_t\\* p_scan_rsp_data |\n\n\nDefinition at line\n[41](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|-------------------|\n| int8_t rssi_value |\n\n\nDefinition at line\n[35](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|----------------------|\n| uint8_t scan_rsp_len |\n\n\nDefinition at line\n[40](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|---------------------|\n| uint16_t time_stamp |\n\n\nDefinition at line\n[36](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n|------------------|\n| uint8_t tx_power |\n\n\nDefinition at line\n[34](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\nof file\n[bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [bt_common_types.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/bt_common_types.h)"]]