# Setting up Wi-Fi on customer devices

**URL:** <https://community.particle.io/t/setting-up-wi-fi-on-customer-devices/64573>\
**Category:** Tutorials\
**Created:** [May 19, 2023, 10:29am UTC](https://community.particle.io/t/setting-up-wi-fi-on-customer-devices/64573 "2023-05-19T10:29:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [May 19, 2023, 10:29am UTC](https://community.particle.io/t/setting-up-wi-fi-on-customer-devices/64573/1 "2023-05-19T10:29:51Z")

</div>

Documentation for configuring Wi-Fi on customer P2, Photon 2, and Argon devices for product creators is now available! Include information on BLE provisioning mode and other available techniques.

[https://docs.particle.io/reference/device-os/wifi-setup-options/](https://docs.particle.io/reference/device-os/wifi-setup-options/)

---

<div class="post-metadata">

**Author:** ![jettonj](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jettonj/32/29510_2.png) [@jettonj](https://community.particle.io/u/jettonj)\
**Post date:** [June 9, 2023, 9:52pm UTC](https://community.particle.io/t/setting-up-wi-fi-on-customer-devices/64573/2 "2023-06-09T21:52:27Z")

</div>

Awesome! Nice work.

I just tried this out. I should be using the right device name and mobile secret on iOS, but when I run the expo app I compiled I run into an error `Property 'TextEncoder doesn't exist.` after device `aabbcc` is found and I hit continue.

I can see from the serial log that `BLE Event detected: ble_prov_mode_connected` is at least getting hit so I don't think it's just that the device isn't being communicated with. Could it be a nodejs dependency issue?

```auto
>npx eas-cli --version
eas-cli/3.13.3 win32-x64 node-v18.10.0
>npx --version
9.6.7

```

What other info can I provide dependency-wise? Also, I believe I had to change `eas slug` and `projectId` in `app.json` because I was getting permission issues building, but that may have been resolved from some other action.

Also, the `hal_clear_device_secret()` command from the comment inside `ble_provisioning.cpp` of doesn't seem to exist in Device OS 5.3.2. I've not yet set my own mobile secret but I don't want to either if I don't have a way to revert it 😉

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/3/2/3291e3c9351789fe8620ae5bcec8d3fec67ff221.png) [@system](https://community.particle.io/u/system)\
**Post date:** [December 9, 2023, 9:53am UTC](https://community.particle.io/t/setting-up-wi-fi-on-customer-devices/64573/3 "2023-12-09T09:53:23Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
