code: func (d *Device) AdvertiseNameAndServices(ctx context.Context, name string, ss ...ble.UUID) error {
  	if err := d.sendReq(d.pm, 8, xpc.Dict{
  		"kCBAdvDataLocalName":    name,
  		"kCBAdvDataServiceUUIDs": uuidSlice(ss)},
  	).err(); err != nil {
  		return err
  	}
  	<-ctx.Done()
  	d.stopAdvertising()
  	return ctx.Err()
  }
docs: // AdvertiseNameAndServices advertises name and specifid service UUIDs.