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

Can not connect multiple(three/four/two) nRF52810 with android 10.

Hi,

We have created GATT servers and tried to connect with one MOBILE APP.

But, we failed. 

Although, we could able to connect with standalone BLE, but once we tried for simultaneously connection, we failed again again.

So, expert opinion will be appreciated ..

Please help .. we are stuck.

Thanks,  

Parents
  • Hi,

    Can you elaborate a bit mor on what you want to do? Is it that you want to create a BLE peripheral device that can be simultaneously connected to more than one peer? Or something else? Please explain in detail. Also, please explain what you have done and in what way if tails.

  • We want to know -

    Assume, two BLEs (BLE1 & BLE2). Created two Gattservers(object) and tried to communicate with one android application 10. Tried it in sequential manner. But, once BLE1 is disconnected and wants to connect BLE2, the connection is being done. But, after this operation when I want to again disconnect BLE2 and wants to connect BLE1, then connection is not being established. 


    1) CAN I CONNECT TWO BLEs SIMULTANIOUSLY / SEQUENCIALLY WITH ANDROID 10 MOBILE APP ?

    2) Is there any dependencies to achieve this ?

    3) CAN I DO READ, WRITE and NOTIFY OPEARTION simultaneously / sequentially through SERVICE PROTOCOL by Mobile Application ? 

  • Hi,

    jaulus said:
    1) CAN I CONNECT TWO BLEs SIMULTANIOUSLY / SEQUENCIALLY WITH ANDROID 10 MOBILE APP ?

    I assume these GATT servers are peripherals and not centrals? If so, then yes. (It is possible tat some very old or cheap Android phones as a low limit on concurrent BLE connections, but I would be surprised if you could find any fairly modern phone that struggled with two connections.)

    jaulus said:
    2) Is there any dependencies to achieve this ?

    There should not be any,. Perhaps there is a bug on your Android application that handles these connections? Can  you try using nRF Connect? Also, are you using custom services, or some of the services that is natively supported by Android (like HID)?

    jaulus said:
    3) CAN I DO READ, WRITE and NOTIFY OPEARTION simultaneously / sequentially

    That should be no problem.

    jaulus said:
    through SERVICE PROTOCOL by Mobile Application ? 

    Can you explain what the service protocol is in this context? (I am no Android developer so it may be obvious)

Reply
  • Hi,

    jaulus said:
    1) CAN I CONNECT TWO BLEs SIMULTANIOUSLY / SEQUENCIALLY WITH ANDROID 10 MOBILE APP ?

    I assume these GATT servers are peripherals and not centrals? If so, then yes. (It is possible tat some very old or cheap Android phones as a low limit on concurrent BLE connections, but I would be surprised if you could find any fairly modern phone that struggled with two connections.)

    jaulus said:
    2) Is there any dependencies to achieve this ?

    There should not be any,. Perhaps there is a bug on your Android application that handles these connections? Can  you try using nRF Connect? Also, are you using custom services, or some of the services that is natively supported by Android (like HID)?

    jaulus said:
    3) CAN I DO READ, WRITE and NOTIFY OPEARTION simultaneously / sequentially

    That should be no problem.

    jaulus said:
    through SERVICE PROTOCOL by Mobile Application ? 

    Can you explain what the service protocol is in this context? (I am no Android developer so it may be obvious)

Children
No Data
Related