1. AC Question's Avatar
    Hi,

    I am doing development on Android platform. I am using Marshmallow device to develop my BLE application. Many times I am getting status code 133 and 129 in onConnectionStateChange()method. I have tested on 4 different devices, In all the devices I found same issue. I searched on many forums but didn't found any solutions yet.

    Following are the things that I have tried:

    1. Refreshing Gatt cache using reflection.
    2. Reinstalling applicaiton.
    3. Unpairing and pairing the BLE device.
    4. Turning On/Off Bluetooth and wifi.

    Only restarting the phone is resolving this issue sometime. But I can't ask application user to restart phone if application is unable to make connection to BLE device.

    What is the root cause of this issue? Is there any sure shot solution for this?

    I have checked the Android open source code also for this and found gatt_api.h file where all the error codes are defined, but didn't found any solution.

    Please anyone provide me some hint or solution for this.

    Thank you
    11-16-2016 08:06 AM
  2. Javier P's Avatar
    Mod note. Move to the Developers Lounge for more visibility.
    11-16-2016 08:47 AM

Similar Threads

  1. FACEBOOK!! and how to control it
    By ken Ledger in forum General Help and How To
    Replies: 1
    Last Post: 11-17-2016, 01:38 AM
  2. Why is my android WiFi setting auto switching on
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 11-16-2016, 07:25 AM
  3. Replies: 1
    Last Post: 11-16-2016, 07:21 AM
  4. why is my phone not turning on after android update?
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 11-16-2016, 07:20 AM
  5. Marshmallow SD card not visible.
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 11-16-2016, 07:00 AM
LINK TO POST COPIED TO CLIPBOARD