ble_eddystone_set_adv_data_gen() function
Populates the supplied advertisement fields struct to represent an eddystone advertisement. Prior to calling this function, you must write the service data header and payload using the ble_eddystone_set_svc_data_base() function.
Arguments
adv_fields
The base advertisement fields to transform into an eddystone beacon. All configured fields are preserved; you probably want to clear this struct before calling this function.
svc_data_len
The amount of data written to the global service data buffer.
Return value
0 on success; BLE_HS_E... on failure.