# Xenon example BLE code

**URL:** <https://community.particle.io/t/xenon-example-ble-code/54192>\
**Category:** Getting Started\
**Created:** [January 13, 2020, 6:15pm UTC](https://community.particle.io/t/xenon-example-ble-code/54192 "2020-01-13T18:15:25Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [January 17, 2020, 4:54pm UTC](https://community.particle.io/t/xenon-example-ble-code/54192/28 "2020-01-17T16:54:47Z")

</div>

Since Xenons were not supposed to be running without an "owning" mesh it's not that straight forward.  
If you had a gateway device it would be easy. You could just assign it to that dummy mesh and then never reconnect to it again (`SYSTEM_MODE(MANUAL)`).

Since I don't have any "virgin" Xenons anymore I don't know what exactly is required to do that without assigning it to a mesh.

You could search for _Xenon standalone_ and _Xenon without mesh_ tho'

e.g. this might help

> [@Standalone Xenon user firmware execution](https://community.particle.io/t/standalone-xenon-user-firmware-execution/51225/2):
>
> It’s not necessary to set the setup done flag on a Xenon, only an Argon or Boron. The most common reason for staying in listening mode is that you have a bootloader that needs upgrading. Normally you’d go into safe mode and it would be downloaded from the cloud, but since you’re using the device standalone it will go into listening mode instead of safe mode because there are no credentials set. If you manually flash the system part, make sure you also flash the matching bootloader on the Xenon…

---

_[View the full topic](https://community.particle.io/t/xenon-example-ble-code/54192)._
