code: func (d *Device) SetServices(ss []*ble.Service) error {
  	if err := d.RemoveAllServices(); err != nil {
  		return nil
  	}
  	for _, s := range ss {
  		if err := d.AddService(s); err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // SetServices ...