title: How do I convert UUID in string (char array) to static uint8_t adv_data[31]
body: <p>I have an iBeacon UUID like this <code>"3bdb098f-b8b0-4d1b-baa2-0d93eb7169c4"</code> and I need it to look pretty much like that:</p>
  
  <pre><code>static uint8_t adv_data[31] = { 0x02,0x01,0x06, 0x1A,0xFF,0x4C,0x00,0x02,0x15,0x71,0x3d,0x00,0x00,0x50,0x3e,0x4c,0x75,0xba,0x94,0x31,0x48,0xf1,0x8d,0x94,0x1e,0x00,0x00,0x00,0x00,0xC5 };
  </code></pre>
  
  <p>I need either a method to convert that in code but a one off method of converting this "by hand" would be cool too (plus the arduino code wouldn't have to deal with the conversion everytime)</p>