From e1f553bd2528c24030e4b66ae0d72556befc46ef Mon Sep 17 00:00:00 2001 From: moqiyi <85303405@qq.com> Date: Wed, 13 Aug 2025 12:22:51 +0000 Subject: [PATCH 1/2] =?UTF-8?q?update=20zh/btlib/bt.md.=20bt=20spp?= =?UTF-8?q?=E5=8F=91=E9=80=81=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: moqiyi <85303405@qq.com> --- zh/btlib/bt.md | 1 + 1 file changed, 1 insertion(+) diff --git a/zh/btlib/bt.md b/zh/btlib/bt.md index 60a5155..567a456 100644 --- a/zh/btlib/bt.md +++ b/zh/btlib/bt.md @@ -757,3 +757,4 @@ bt.sppSend(data) 执行成功返回整型0,失败返回整型-1。 +> 注意:单次发送最大4008字节,建议按照667字节分片发送;返回-1一般是buffer满导致,需要加大延时发送。 -- Gitee From 64737f50bfa21d79ab504cfc768649997abe2ba2 Mon Sep 17 00:00:00 2001 From: moqiyi <85303405@qq.com> Date: Wed, 13 Aug 2025 12:26:28 +0000 Subject: [PATCH 2/2] =?UTF-8?q?update=20en/btlib/bt.md.=20bt=20spp?= =?UTF-8?q?=E5=8F=91=E9=80=81=E6=95=B0=E6=8D=AE=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: moqiyi <85303405@qq.com> --- en/btlib/bt.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/btlib/bt.md b/en/btlib/bt.md index 47692e1..4835365 100644 --- a/en/btlib/bt.md +++ b/en/btlib/bt.md @@ -1553,3 +1553,4 @@ Sends data through SPP. - `0`- Successful execution; `-1`- Failed execution. +> **Note**: The maximum single transmission size is 4008 bytes. It is recommended to send in 667-byte segments. A return value of -1 usually indicates that the buffer is full. In such cases, a longer delay should be used for transmission. \ No newline at end of file -- Gitee