Search found 6 matches

by hackill
2023年 Dec 22日 17:29
Forum: App开发
Topic: 【BLE--APP】APP容易出现设备连接失败。
Replies: 3
Views: 426

Re: 【BLE--APP】APP容易出现设备连接失败。

https://www.tuyaos.com/viewtopic.php?t=2646 该问题在另一个板块有嵌入式的同事已回复。

by hackill
2023年 Dec 22日 17:09
Forum: App开发
Topic: 【BLE--APP】APP容易出现设备连接失败。
Replies: 3
Views: 426

Re: 【BLE--APP】APP容易出现设备连接失败。

1、自己开发UI界面是指使用sdk进行开发吗?如果是交互和loading 都是可以自己处理的,如果是使用面板进行开发也是可以定制这个交互的。
2、4000ms的广播间隔基本上很难满足连接,建议不要超过1200ms

by hackill
2023年 Aug 21日 10:40
Forum: iOS & Android Development
Topic: Unable to pair Bluetooth Smart Lights
Replies: 6
Views: 5294

Re: Unable to pair Bluetooth Smart Lights

I checked the code in the demo and ran it again, and it works normally. Looking at the log you provided, it can be seen that the scan has worked. Then you can assist with other operations. The targetSdkVersion of the demo is lower than 31, and the demo is not compatible with android 12. Install the ...
by hackill
2023年 Aug 21日 09:58
Forum: iOS & Android Development
Topic: Unable to pair Bluetooth Smart Lights
Replies: 6
Views: 5294

Re: Unable to pair Bluetooth Smart Lights

If the tuya app works, it indicates that the device is working properly.

There was no error detected in the logcat output. I'm now checking if the demo code is working as intended.

by hackill
2023年 Aug 18日 14:29
Forum: iOS & Android Development
Topic: Unable to pair Bluetooth Smart Lights
Replies: 6
Views: 5294

Re: Unable to pair Bluetooth Smart Lights

Bluetooth scanning requires necessary permissions. You can refer to the guidance document to determine whether the necessary permissions have been granted. see: https://developer.tuya.com/en/docs/app-development/android-bluetooth-ble?id=Karv7r2ju4c21 Another situation is that even if all the permiss...
by hackill
2022年 Nov 17日 16:47
Forum: TuyaOS-蓝牙设备开发
Topic: [已解决]蓝牙设备初始化后设备名称未恢复默认值
Replies: 1
Views: 835

Re: [求助]蓝牙设备初始化后设备名称未恢复默认值

同一个设备,在同一个家庭下,重新配网,默认会复用之前的名称和设备id。
如果想要恢复的默认,需要设备移除的时候,选择移除并清空数据 就可以了