Other Parts Discussed in Thread: CC2541, CC2541S
Hi,
I have an application in which two low power wireless should connect each other and one of them should connect with a mobile phone with BLE. So is it possible to use two cc2541 for this purpose?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
It is possible to use two cc2541s for this. Your phone will be a central device so it will connect with one of the cc2541s that must act as a peripheral.
For the connection between the two cc2541s, set the remaining cc2541 as a central and then it can communicate with that same peripheral device similar to the phone.
There are some drawbacks to this like you will not be able to connect to both devices via the phone and the peripheral device in the middle will not be able to be connected to both the phone and other cc2541 simultaneously (the BLE spec doesn't allow the slave to have mult. connections).
-Matt
Just to add a further note, iOS devices can act as peripherals while Android (at least the latest release KitKat 4.4) does not support the peripheral role. If you are using iOS then you could have one CC2541 as central and the iOS and other CC2541 as peripherals.
Thanks,
Yep, this topology is definitely possible with BLE and the cc2541s. For a starting point on android development you can check out the sensor tag app. It looks like it was taken down temporarily from the website but there is another post with a link to source http://e2e.ti.com/support/wireless_connectivity/f/538/t/354344.aspx
-Matt