> For the complete documentation index, see [llms.txt](https://yongxin.gitbook.io/yongxin-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yongxin.gitbook.io/yongxin-docs/documentation/zhi-neng-jie-zhi-sdk-shi-yong/gong-ban-app-lian-jie-bu-fen-liu-cheng-tu.md).

# 公版APP连接部分流程图

提供android公版app的蓝牙连接以后，App进行连接，绑定，刷新等操作，获取设备信息，需要调用的指令流程图，给开发者有个直观印象，iOS版本只需要换成iOS对应的方法即可。LmAPI为之前的方法，已不维护，用户直接使用LmAPILite即可

#### <mark style="color:red;">绑定，连接，刷新部分的指令操作，强烈建议使用复合指令。加快连接速度，减少指令冲突。</mark>

{% content-ref url="/pages/NKPtoEibKH8T3hHBIPcu" %}
[复合指令](/yongxin-docs/documentation/zhi-neng-jie-zhi-sdk-shi-yong/er-dai-xie-yi.md)
{% endcontent-ref %}

### 扫描到连接的总体流程

<figure><img src="https://4235507525-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9Zix5Eqbh8JgOP8RgYhu%2Fuploads%2Fgit-blob-f1693c2cecea27feb97119c8b9ff2d38420e4ede%2FChipletRing%E5%85%AC%E7%89%88app%E8%93%9D%E7%89%99%E6%93%8D%E4%BD%9C%E6%B5%81%E7%A8%8B.png?alt=media" alt=""><figcaption></figcaption></figure>

### 蓝牙绑定流程

<figure><img src="https://4235507525-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9Zix5Eqbh8JgOP8RgYhu%2Fuploads%2Fgit-blob-887c10f734066af8ba7580a8374097a156920298%2FChipletRIng%E7%BB%91%E5%AE%9A.png?alt=media" alt=""><figcaption></figcaption></figure>

### 蓝牙重连流程

<figure><img src="https://4235507525-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9Zix5Eqbh8JgOP8RgYhu%2Fuploads%2Fgit-blob-a0e1ba507b6fdea5820755515dcd48f359944288%2FchipletRing%E9%87%8D%E6%9D%A5%E4%BD%A0.png?alt=media" alt=""><figcaption></figcaption></figure>

### 蓝牙刷新流程

<figure><img src="https://4235507525-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9Zix5Eqbh8JgOP8RgYhu%2Fuploads%2Fgit-blob-38b9f92250a9f48a8731a5f3b69498c6ec982685%2FchipletRing%E5%88%B7%E6%96%B0.png?alt=media" alt=""><figcaption></figcaption></figure>

### 一代指令调用顺序

<figure><img src="https://4235507525-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9Zix5Eqbh8JgOP8RgYhu%2Fuploads%2Fgit-blob-4385255a7b3dfaf219ca86eb45fc6acf82dc66c2%2FchipletRing%E4%B8%80%E4%BB%A3%E5%8D%8F%E8%AE%AE%E6%8C%87%E4%BB%A4%E9%A1%BA%E5%BA%8F.png?alt=media" alt=""><figcaption></figcaption></figure>
