当前位置:网站首页>Code=6 'The connection has timed out unexpectedly
Code=6 'The connection has timed out unexpectedly
2022-07-24 08:08:00 【longlongValue】
When doing the stress test of Bluetooth communication , After discovering the Bluetooth connection, it will be quickly disconnected , And the console will report an error
Error Domain=CBErrorDomain Code=6 "The connection has timed out unexpectedly." UserInfo=0x1e09c050 {NSLocalizedDescription=The connection has timed out unexpectedly.}use ligthblue The same thing , I searched a lot of questions on the Internet, but there are no exact matches .
But I saw it by chance Apple hardware parameter document
You'd better show this to the hardware engineer , In their code max interval and min interval Set up , They can burn a firmware for you after modification , In addition, if the communication between devices is too frequent , Also do some fault-tolerant processing .
However, these still do not solve my problem . But after I described all my operation steps, the old driver of hardware engineering helped me solve the problem .
When I send the signal from the Bluetooth main device , Bluetooth is in standby mode for a short time , During this period, my mobile phone can search Bluetooth and establish a connection . But once this time period has passed , Bluetooth will be turned off from standby . Unless I use some tool to reset Bluetooth from standby state to communicable state , In this way, Bluetooth will not be turned off automatically .
This reminds me of this situation when debugging Bluetooth bracelets before . However, this state was not resolved due to conditions .
Reference resources
iOS Bluetooth device automatically disconnects
Suddenly I’m seeing spontaneous disconnects in my iOS 7 app from my nRF51822 peripheral
边栏推荐
- Learn - use do... While loop according to the formula e=1+1/1+ 1/2!+ 1/3!+…+ 1/n! Calculate the value of E (accuracy is 1e-6)
- 图新地球:如何导入修改了高程基准(椭球)的CAD文件
- Detailed notes on pytoch building neural network
- 33-SparkSql的介绍、DataFrame和DataSet
- NFT概念究竟是怎么回事。。全面了解NFT市场、技术和案例
- 33 introduction to sparksql, dataframe and dataset
- Summary of study notes (I)
- The vision group of Hegong University Sky team trained day3 - machine learning, strengthened the use of Yolo models, and learned pumpkin books and watermelon books
- *Yolo5 learning * data experiment based on yolo5 face combined with attention model se
- 图新地球:Revit建模的rvt格式BIM模型如何带着纹理精准匹配地图
猜你喜欢

Image feature SIFT (scale invariant feature transform)

Android kotlin uses a coroutine instead of a callback function (suspendcoroutine usage)

33 introduction to sparksql, dataframe and dataset

Saining Techtalk attack and defense drill: attack combination fist "stable, accurate and ruthless" penetration

Detailed notes on pytoch building neural network

Why is knowledge base important? This is the best answer I've ever heard

Generative model and discriminant model

Full revolutionary Siamese networks for object tracking translation

*Project recurrence * project implementation of thesis based on contextbasedemotionrecognitionusingematicdataset

jmeter中JSON提取器使用
随机推荐
Installation and use of CONDA
Workspace creation
Android kotlin uses a coroutine instead of a callback function (suspendcoroutine usage)
UVA572油田 Oil Deposits题解
【MATLAB】(三)MATLAB在高等数学中的应用
Starting from scratch C language intensive Part 3: Functions
News topic classification task -- tochtext library for text classification
*Code understanding * common function parsing in pytoch
My six months at Microsoft
33 introduction to sparksql, dataframe and dataset
图新地球:Revit建模的rvt格式BIM模型如何带着纹理精准匹配地图
Kotlin coroutine (I): foundation and deepening
Robert operator, Sobel operator, Laplace operator
[tools] a few lines of code can realize complex excel import and export tool classes, which is really strong!!!
Vertex buffer and shader (the cherno + leranopongl) notes
RBM contrast divergence
Intelligent robots and intelligent systems (Professor Zhengzheng of Dalian University of Technology) -- 3. Industrial robots
Have you seen the interview questions of VR major? Trust me, it's absolutely useful
【golang从入门到实践】学生成绩管理系统
[MySQL] installation tutorial and master-slave configuration