This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I have created customized services, but not able to connect peripheral using Android Phone

I have created customized services according to nAN36 Document. Everything is fine and it is advertising perfectly.

But issue is I don't have any Android APP for same services. But I tried to connect it using my Android phone without, to check ,whether it able to bond with Phone or not.

On Android Device I followed these steps :

  1. Settings -> Bluetooth -> Scan -> MyDeviceName.

But whenever I tried to connect with MyDeviceName, the phone shows an error could not connect. Along with this the LED blinking on nRF51-DK board won't stop blinking. Which is process of it keeps on advertising.

Can you please suggest me the issues and solutions.

Parents Reply Children
  • Thanking you for your reply. I had tested with nRF Master Control Panel. It started discovering the device.

    These I got on trying to connect with peripheral using nRF Master control Panel on Android Phone:::

    1. Connected to Device MAC HEX value.

    2. gatt.discoverServices()

    3. [callback] connection state changed with status: 133 and New state : 0 (DISCONNECTED)

    4. Error (0x85): GATT ERROR

    The above messages shown by nRF Master control. Along with this also the Peripheral board got hanged and all four LED of nRF51-DK board start glowing (Stable).

  • If I configured My android APP properly than only I can be able to connect my device? As without APP I can not be able to connect my peripheral with phone.

  • I used nRF Master control on Android Device to connect with peripheral device.

    On the screen of nRF Master Control Panel, I got following messages

    Connected to Device FFxxxxxxxxx..... gatt.discoverServices() [callback] connection state changed with status: 133 and New state : 0 (DISCONNECTED) Error (0x85): GATT ERROR

    I hope you may got this.

    And at the time of connecting with phone using this nRF Master control panel APP.. On my nRF51-DK board all four LED start glowing at the same time. This glowing of all four LED at the same time signify the peripheral entered into some deadlock condition (hanged).

Related