#include <ble_adv_data.h>
Search encoded Advertising data for manufacturer-specific data.
- Parameters
-
| [in] | buf | Encoded advertising data. |
| [in] | len | Buffer length. |
| [in] | target_data | Target manufacturer data to match (prefix). Starts with the 2-byte little-endian company identifier followed by optional vendor payload. |
| [in] | target_data_len | Length of the target manufacturer data. |
- Return values
-
| true | If manufacturer-specific data in which the first target_data_len bytes matches target_data was found among buf. |
| false | If no match was found among buf, or if buf or target_data was NULL. |