# Particle Mesh Functionality without WiFi Connection

**URL:** <https://community.particle.io/t/particle-mesh-functionality-without-wifi-connection/47734>\
**Category:** BLE // NFC\
**Tags:** argon, xenon\
**Created:** [February 12, 2019, 3:16pm UTC](https://community.particle.io/t/particle-mesh-functionality-without-wifi-connection/47734 "2019-02-12T15:16:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ClayU](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@ClayU](https://community.particle.io/u/ClayU)\
**Post date:** [February 12, 2019, 3:16pm UTC](https://community.particle.io/t/particle-mesh-functionality-without-wifi-connection/47734/1 "2019-02-12T15:16:51Z")

</div>

Hi all,  
I am working on mesh communications between an argon and a xenon. When in range of my WiFi network, my mesh communication works as I expect.

When I step outside of my WiFi coverage zone, the argon tries to continuously connect to the network out of range. During this time, my argon mesh receiver seems to miss a lot of messages.

I’ve tried disabling the WiFi altogether by changing System Mode to Manual and turn Mesh.on() afterwards, but it seems to break my code entirely.

Can an Argon and a Xenon be set up to only work as a Mesh network, or does it need internet access to function properly?

Thanks  
-Clay

---

<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:** [February 12, 2019, 3:25pm UTC](https://community.particle.io/t/particle-mesh-functionality-without-wifi-connection/47734/2 "2019-02-12T15:25:26Z")

</div>

> [@ClayU](#):
>
> I’ve tried disabling the WiFi altogether by changing System Mode to Manual and turn Mesh.on() afterwards, _but it seems to break my code entirely_.

Without knowing much about your code there is little helpful information we can distill from that sentence - but I'd _first_ try `SYSTEM_MODE(SEMI_AUTOMATIC)` before going fully `MANUAL`.

Have you tried `SYSTEM_THREAD(ENABLED)`?  
Are you checking whether the WiFi/cloud connection is active _before_ performing any tasks that would require it to be?

> [@ClayU](#):
>
> Can an Argon and a Xenon be set up to only work as a Mesh network, or does it need internet access to function properly?

Yes, _when_ the application is setup correctly.

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [February 12, 2019, 3:44pm UTC](https://community.particle.io/t/particle-mesh-functionality-without-wifi-connection/47734/3 "2019-02-12T15:44:58Z")

</div>

To add to what @ScruffR said, the same applies to your Xenons as they default to `SYSTEM_MODE(AUTOMATIC)` unless specified otherwise and will wait on a Cloud connection.

Note that when not connected to the Particle Cloud, you will not be able to OTA to any of your mesh devices.

---

<div class="post-metadata">

**Author:** ![armor](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/armor/32/18398_2.png) [@armor](https://community.particle.io/u/armor)\
**Post date:** [February 12, 2019, 10:09pm UTC](https://community.particle.io/t/particle-mesh-functionality-without-wifi-connection/47734/4 "2019-02-12T22:09:07Z")

</div>

Just remembered that there is a bug with SYSTEM\_MODE(MANUAL) and (SEMI\_AUTOMATIC) on mesh devices.

> Device Issue #2 – SYSTEM\_MODE(MANUAL) and SEMI\_AUTOMATIC not working properly
