Sending configuration to arduino

I’m looking for a idea how to resolve the process of sending configuration variables to arduino. Il be doing that over WiFly…
The ideas i’v had:

  1. Send the values by one byte array and then parse it on the arduino: V1A2B4 … etc where style
  2. Send the values one by, receive and then send back the response that arduino successfully received the value and then send new another one. And again by using simple
  3. Send command to arduino to enter config mode → arduino starts sending request for config values and other end then parses the request and send back the value for that config parameter.

Any other ideas? What would be the best common approach?