I have been trying to connect multiple android phones to my app using bluetooth multiple connections concurrenlty.
Have followed the solution of a chatting app shared on android samples for bluetooth.
But I am able to only connect my phone to only one device(phone) at a time.
My code is exactly the same as that given in the sample demo on android devloper site.
any help would be really appreciated.
Thanks in advance.
Related
I am working with a peripheral device that communicates with an app via BLE UART.
To test and modify the peripheral’s firmware, I want to find a starter Android app that can communicate with the peripheral. I want to be able to modify the app along the way as I modify the peripheral firmware.
I got the Nordic nRF Toolbox app working in Android Studio and running on my tablet. However, when I look through this project it is far too difficult for me to understand right now. I have worked through several tutorials that offer a far simpler solution, however not a single one of them has ever fully compiled correctly at the end – I assume they are all out of date. So it has been a difficult journey so far.
I need the app to be able to scan for devices, and allow the user to connect to one – and then be able to communicate with the BLE peripheral via UART.
Can anyone point me to (a) a starter app with code on GitHub or similar, that they have tried recently, or (b) a tutorial / walk-through, that they have successfully completed recently?
Thanks in advance for any suggestions
Garrett
I am making a small school project. I am developing a P2P android mobile application that will detect other similar devices(devices that are using the same app) around.
My question is how can I test it while developing? Can I somehow run 2 physical devices at the same time and then check their Bluetooth functionalities(If yes, then please link a video, article etc.)? Or is there any other solution for this?
Thank you
I want to develop a streaming app, where I have to communicate with multiple devices using wifi.
I have tried P2p, By using this link, i can connect between two devices, but there is no clear documentation for creating group and transferring data between devices.
I even checked some questionnaire related to this topic, but none of them is useful.
Please help me get started in right direction.
Have a look at this sample project. I started with this and I can tell you it's straight forward and easy.
I want to connect two android phones via Bluetooth low energy but, I dont know how to create characteristic uuids and service uuid in android; I Googled a lot that I could connect the two android phones via Bluetooth low energy but, could not find useful stuff.
Please guide me that how could I solve the issue. I would be very thankful for this act of kindness. Thanks in advance.
From what i understood:
Upload BluetoothChat sample codes to both devices using Eclipse or Android studio
Pair them
Open BluetoothChat sample app
Connect to each other
Bingo, you are connected and even can chat in a range.
Regards
I am making an App based on the Sample Bluetooth Chat given on the Official Android Developer website. My App works fine whilst chatting with another Android Phone. However, it does not work when I connect it to a non-Android Device (namely some electronic circuit that my team has made).
Internet Research has shown that the Sample Code is only meant to communicate between two Android Devices.
So, how do I change the Sample Code to make it work with other non-Android Devices as well.
I figured out the Answer through analysing the source-code of the BlueTerm App. Effectively, I only needed to change the UUID that I was setting in the App from fa87c0d0-afac-11de-8a39-0800200c9a66 to 00001101-0000-1000-8000-00805F9B34FB"
I'm not an expert on this area so I can't say WHY that is the case, but it does help solve my problem. The BlueTerm SourceCode is available on Official Download Website of Pymasde
the UUID is specifically for serial port connection and it's a standard.