• Resolved

CC254x with Android 6.x Marshmallow & 7.x [Updated Oct 2016]

Is there any one tried to get CC254x (even CC26xx) working with the latest Android 6.x Marshmallow? We heard there are issues from multiple sources. We are still looking for any Android 6 device to confirm. Will get back here and let everyone know once we have a device to test it.

Ed (TI): ** Update Dec 9, 2015: See Dec 9 post confirming Android 6.0.1 (Nexus 5) update is now compatible with BLE 1.4.0 and earlier BLE-Stack releases. Peripherals that are Pairing with Android devices that do not yet incorporate this change will need BLE 1.4.1 to remain compatible with smart devices that implement LE Secure Connections (BT4.2) Pairing.

Ed (TI): ** Update October 2016: Reports of compatibility issues with Android N and BLE-Stack 1.4.2/1.4.2 are not related to Pairing. An update to improve the performance of the SNV read operations can be made by replacing the findItem() function in osal_snv.c with the version in the the attached findItem.txt.

findItem.txt

  • In reply to JXS:

    "That's unfortunate that not all OEMs have implemented the AOSP change from 6.0.1."

    I have also heard that there are still problem with LG  devices (G5,G4,G3). Could you ask manufacturers to implement this fix? S7 together with most popular LG devices means that there are millions devices out there that do not work with CC2541 devices that require security.

  • In reply to JXS:

    There is another critical issue with Android 7.0 on Google's Nexus 6P. It not only prevents pairing, but non-encrypted read/writes as well. There is no work around other than downgrading the phone to 6.0.1. It affects all TI BLE Stack versions including 1.4.2. I am currently working with an engineer at Google HQ and would appreciate additional support from TI so we can resolve this bug before it is propagated to other phone manufacturers. Here's a link to the post: e2e.ti.com/.../1966708
  • Guru 96610 points

    In reply to Lou Prado:

    Lou,

    Thanks for letting us know. Let's continue the investigation in the other thread that you referenced. We can then update this post with any findings.

    Best wishes

    Please see the TI BLE Wiki www.ti.com/ble-wiki and sticky forum threads for additional examples & answers to most common questions!

    Thank you for marking the thread as answered if your question was answered :)

  • In reply to JXS:

    Hi JXS,

    Our customers used Nexus 6P (Android 7.0) to test our BLE device and also got pair problem.
    Our BLE device is BLE 1.4.1 stack and CC2541 chip.
    Here is log file. Nexus6P_2D00_NG.zip

    We are going to get one Android 7.0 phone to test it, will feedback the result later.
    I found your post about improving SNV read operations on October 2016.
    Is this code to solve Android N compatibility issue? (or the pairing issue is from SNV handle?)
    Please give us some suggestion.

    Best regards,
    Moby

  • In reply to Moby Chiu:

    Hi Moby,

    Based on your sniffer capture it seems that you are experiencing the issue related to the SNV findItem() function. Please see the fix attached to this thread.

    Best Regards,

    Sean

  • In reply to Lou Prado:

    Hi Lou,
    did you ever try OAD with CC2540? i just cant seem to get it to work!