# \[Android SDK\] Issues with the Mini XMachines on Sasmsing

**URL:** <https://forum.developer.lovense.com/t/android-sdk-issues-with-the-mini-xmachines-on-sasmsing/1457>\
**Category:** General\
**Created:** [January 9, 2025, 4:01pm UTC](https://forum.developer.lovense.com/t/android-sdk-issues-with-the-mini-xmachines-on-sasmsing/1457 "2025-01-09T16:01:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.foldesi314\_97](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@david.foldesi314\_97](https://forum.developer.lovense.com/u/david.foldesi314_97)\
**Post date:** [January 9, 2025, 4:01pm UTC](https://forum.developer.lovense.com/t/android-sdk-issues-with-the-mini-xmachines-on-sasmsing/1457/1 "2025-01-09T16:01:59Z")

</div>

I’m working on a bug where the XMachine random throws an exception when we want to connect to it, it throws a “GATT ERROR” and a result failed, with error code: “17”.

An another issue is sometimes when the connection established, (I get these events in the onConnect in this order: STATE\_CONNECTED, STATE\_CONNECTING, STATE\_SERVICE\_DISCOVERED) I send out a COMMAND\_GET\_DEVICE\_TYPE command but I don’t get any commandSuccess\commandError\sendCommandError calls, and also the deviceType callback is not called.

Can anyone help me with this?
