I was cluttering up the Xiaomi pairing topic with some XStick chat earlier, so thought I'd post it here.
I have a handful of Digi XStick2 USB adapters here, which at the very least I wanted to use to generate the XCTU network visualisation. Unfortunately I'd had no luck with any of the configuration settings found on here, but did get them working following these instructions on the ST forum.
It was as simple as using XCTU to load the .xml file (in step 3) with Profile > Apply configuration profile, then putting HE in pairing mode.
I'll include the .xml data in this post just in case it vanishes from the web one day, but this is down to JohnR over on the ST forum.
<?xml version="1.0" encoding="UTF-8"?>
<data>
<profile>
<description_file>XB24-ZB_23A7.xml</description_file>
<settings>
<setting command="ID">0</setting>
<setting command="SC">FFFF</setting>
<setting command="SD">3</setting>
<setting command="ZS">2</setting>
<setting command="NJ">5A</setting>
<setting command="NW">0</setting>
<setting command="JV">0</setting>
<setting command="JN">0</setting>
<setting command="DH">0</setting>
<setting command="DL">0</setting>
<setting command="NI">xStick</setting>
<setting command="NH">30</setting>
<setting command="BH">0</setting>
<setting command="AR">FF</setting>
<setting command="DD">3000C</setting>
<setting command="NT">3C</setting>
<setting command="NO">0</setting>
<setting command="CR">3</setting>
<setting command="PL">4</setting>
<setting command="PM">1</setting>
<setting command="EE">1</setting>
<setting command="EO">1</setting>
<setting command="KY">5A6967426565416C6C69616E63653039</setting>
<setting command="BD">7</setting>
<setting command="NB">0</setting>
<setting command="SB">0</setting>
<setting command="D7">1</setting>
<setting command="D6">0</setting>
<setting command="AP">1</setting>
<setting command="AO">0</setting>
<setting command="SM">0</setting>
<setting command="SN">1</setting>
<setting command="SO">0</setting>
<setting command="SP">20</setting>
<setting command="ST">1388</setting>
<setting command="PO">0</setting>
<setting command="D0">1</setting>
<setting command="D1">0</setting>
<setting command="D2">0</setting>
<setting command="D3">0</setting>
<setting command="D4">0</setting>
<setting command="D5">1</setting>
<setting command="P0">1</setting>
<setting command="P1">0</setting>
<setting command="P2">0</setting>
<setting command="PR">1FFF</setting>
<setting command="LT">0</setting>
<setting command="RP">28</setting>
<setting command="DO">1</setting>
<setting command="IR">0</setting>
<setting command="IC">0</setting>
<setting command="V+">0</setting>
</settings>
</profile>
</data>
I'd like to have the XStick perform this task as an end point device to avoid messing up the routing, but the same settings do not work when running the End Device API firmware - the stick is discovered, but never completes "initializing" on the pairing screen.