# Testing Bluetooth

**URL:** <https://forum.inductiveautomation.com/t/testing-bluetooth/36545>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 9, 2020, 2:33pm UTC](https://forum.inductiveautomation.com/t/testing-bluetooth/36545 "2020-07-09T14:33:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordan.burnes](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@jordan.burnes](https://forum.inductiveautomation.com/u/jordan.burnes)\
**Post date:** [July 9, 2020, 2:33pm UTC](https://forum.inductiveautomation.com/t/testing-bluetooth/36545/1 "2020-07-09T14:33:06Z")

</div>

I have been attempting to test out the onBluetoothReceived session event but am not able to hit the method. I have a view set up for visual confirmation where I connect a label to a tag value and then write to that tag in onBluetoothReceived with

`system.tag.writeAsync(['[default]BluetoothTag'], ['data.values[0].rssi'])`

I then connect to my gateway on a mobile device to test if the method is hit, but even with turning my Bluetooth on/off and making sure there are other devices advertising I cannot seem to hit the session event. Is there a better way to test out the event that maybe I’m overlooking? I looked in the documentation, but there were no examples like there were for ‘barcode scanned’.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 9, 2020, 2:53pm UTC](https://forum.inductiveautomation.com/t/testing-bluetooth/36545/2 "2020-07-09T14:53:23Z")

</div>

Are you on the very latest Ignition app on your device?

---

<div class="post-metadata">

**Author:** ![jordan.burnes](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@jordan.burnes](https://forum.inductiveautomation.com/u/jordan.burnes)\
**Post date:** [July 9, 2020, 3:22pm UTC](https://forum.inductiveautomation.com/t/testing-bluetooth/36545/3 "2020-07-09T15:22:15Z")

</div>

yes

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 9, 2020, 3:30pm UTC](https://forum.inductiveautomation.com/t/testing-bluetooth/36545/4 "2020-07-09T15:30:19Z")

</div>

is the capitalized ‘W’ in ‘WriteAsync’ a transcription error or do you actually have that in your code?

---

<div class="post-metadata">

**Author:** ![jordan.burnes](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@jordan.burnes](https://forum.inductiveautomation.com/u/jordan.burnes)\
**Post date:** [July 10, 2020, 4:58pm UTC](https://forum.inductiveautomation.com/t/testing-bluetooth/36545/5 "2020-07-10T16:58:05Z")

</div>

Sorry about that it was a transcription error. I’ve also tried just changing the data inside tag to just a plain string to see if it was something wrong with the way the data was formatted, and I also tried printing messages to the console, but neither of those worked either.
