title: How to set BLE advertisement packet's device name field
body: <p>I use the API to the build an advertisement packet. I pass <code>true</code> to <code>setIncludeDeviceName</code></p>
  
  <pre><code>    AdvertiseData data = new AdvertiseData.Builder()
              .setIncludeDeviceName(true)
              .setIncludeTxPowerLevel(false)
              .addServiceUuid(new ParcelUuid(TimeProfile.TIME_SERVICE))
              .build();
  </code></pre>
  
  <p>The API encodes the device model number in the advertising packet. For my app however, the device name for the advertisement packet should be come from a string hard coded into the app</p>
  
  <pre><code>private static final String DEVICE_NAME = "My_Device_Name";
  </code></pre>
  
  <p>Is there any way to customize the device name in the advertising packet? I don't see any way to do that in the docs for <a href="https://developer.android.com/reference/android/bluetooth/le/AdvertiseData.html" rel="nofollow noreferrer">AdvertiseData</a> or for <a href="https://developer.android.com/reference/android/bluetooth/le/AdvertiseData.Builder.html" rel="nofollow noreferrer">AdvertiseData.Builder</a></p>