This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

The description returned value is not zero, but three

This situation occured just in Android phone,iphone have not meet this situation. A detailed description as follows:

After DFU used Android phone,connect again,notify the "BAT SEVICE", Android phone received the returned value of write description,the normal state is that the value is zero,but unnormal state is that the value is three.So far,the ZTE phone had meet this circumstance.

I check the 51822 code,I have never give the three value to app, Have somebody encountered this thing?Thank you.

Parents
  • BAT service is one kind of UUID created by myself,I have found the reason, The last version,the dis、bas、hrs sevices provided by nordic still included,now the newest version I have deleted the dis、bas、hrs services.Then the error generated. If I keep the newest version,means do not add the dis、bas、hrs services,the error would not generate. Even so,I still do not understand why was so that,the difference between the two version is the service provided by nordic.

Reply
  • BAT service is one kind of UUID created by myself,I have found the reason, The last version,the dis、bas、hrs sevices provided by nordic still included,now the newest version I have deleted the dis、bas、hrs services.Then the error generated. If I keep the newest version,means do not add the dis、bas、hrs services,the error would not generate. Even so,I still do not understand why was so that,the difference between the two version is the service provided by nordic.

Children
No Data
Related