View Single Post
Staro 18.05.2016., 13:10   #511
schetz
Premium
 
schetz's Avatar
 
Datum registracije: Jul 2008
Lokacija: Rijeka
Postovi: 1,570



Bluetooth crashes in MMB29X.Z1.3582 and later...

Some of you have experienced restarts when it comes to Bluetooth in the latest software. This is not harmful for the phone, in this case it is just a sign of bad software programming. The phone is trying to interpret something that just doesn't makes sense so the only option is to reboot.

More technical details:
Once again we integrated the FM-radio which needed some changes in Bluetooth as well. We actually needed to integrate a new driver for Bluetooth (a driver is a piece of software needed to communicate with the hardware). This driver implements (among other functions) a read function and a write function where the read function reads from the Bluetooth chip and the write function writes to the Bluetooth chip.
Whenever an app wants to get some music from Bluetooth, it calls the kernel driver read function and supplies a little memory buffer and a length of the memory buffer so the read function can fill it.
The funny thing with this vendor supplied driver was that it didn't even care about the length of the buffer, if the Bluetooth accessory has a lot of music in the pipe, the driver will just write all of it into this buffer. Since the buffer size doesn't suffice in all cases, the phone reboots...
The solution is to respect the length of the supplied buffer and let the app ask for more data whenever it has emptied the buffer.

Sorry about this, we have a solution on its way...

EDIT: This particular programming problem is called "Buffer overflow".
https://en.wikipedia.org/wiki/Buffer_overflow




To je zapravo fix fix-a za BT , jest da je moglo i bez toga, ali u vrlo kratkom vremenu ispravljaju..

Šteta da nije tako s official i kod njih i kod drugih...
-->
Danas novi update na MM Concept Z3:
updated camera i nešto vezano baš za concept.

Inače, spominjao se i ovdje BT bug, to se tamo riješava isto, čisto kome se da čitati, tamo objašnjavaju sve i rješavaju obično u 7-10 dana..




Bluetooth crashes in MMB29X.Z1.3582 and later...

Some of you have experienced restarts when it comes to Bluetooth in the latest software. This is not harmful for the phone, in this case it is just a sign of bad software programming. The phone is trying to interpret something that just doesn't makes sense so the only option is to reboot.

More technical details:
Once again we integrated the FM-radio which needed some changes in Bluetooth as well. We actually needed to integrate a new driver for Bluetooth (a driver is a piece of software needed to communicate with the hardware). This driver implements (among other functions) a read function and a write function where the read function reads from the Bluetooth chip and the write function writes to the Bluetooth chip.
Whenever an app wants to get some music from Bluetooth, it calls the kernel driver read function and supplies a little memory buffer and a length of the memory buffer so the read function can fill it.
The funny thing with this vendor supplied driver was that it didn't even care about the length of the buffer, if the Bluetooth accessory has a lot of music in the pipe, the driver will just write all of it into this buffer. Since the buffer size doesn't suffice in all cases, the phone reboots...
The solution is to respect the length of the supplied buffer and let the app ask for more data whenever it has emptied the buffer.

Sorry about this, we have a solution on its way...

EDIT: This particular programming problem is called "Buffer overflow".
https://en.wikipedia.org/wiki/Buffer_overflow




To je zapravo fix fix-a za BT , jest da je moglo i bez toga, ali u vrlo kratkom vremenu ispravljaju..

Šteta da nije tako s official i kod njih i kod drugih...
schetz je offline   Reply With Quote