I have the example programs provided by TI through BLE stack v2 for CC2541.
I want to see the CC2541 in my custom board to broadcast it's name. How to do it?
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.
If I run in debug mode, the device on custom board is not advertising, and I can confirm by seeing on the apps that you suggested.
Yes the HW is poweredup properly, and is powered through CC debugger. An LED on board P0_0 is also glowing.
Yes we've followed the reference design guidelines.
No, I can't attach my schematic.
Thanks Christin,
After I've used the sample project on BLE in Android Studio, the BLE name being broadcasted is seen on my phone and I'm able to see that same "SimpleBLEBroadcaster" in all the BLE enabled devices I have.
Further I'm not able to get where to start to communicate betweeen these two devices(Android Phone and CC2541).
Can you suggest how can I start sending and receiving bytes of information from and to android phone?
Yes Christin,
I'm able to connect to the SimpleBLEPeripheral device. I did not modify a single letter in the project "SimpleBLEPeripheral" or any other example projects. I'm able to see and connect to the "SimpleBLEPeripheral" device through BLE scanner app.
It shows the following services,
DEVICE INFORMATION, 0x180A, PRIMARY SERVICE
GENERIC ACCESS SERVICE, 0x1800, PRIMARY SERVICE
GENERIC ATTRIBUTE SERVICE SERVICE, 0x1801, PRIMARY SERVICE
CUSTOM SERVICE, 0000FFF0-0000-1000-8000-00805F9B34FB, PRIMARY SERVICE
Now, my question is how do I change the code in the SimpleBLEPeripheral project backup such that I can change the name "SimpleBLEPeripheral" to my custom advertising name?
And how do I send some bytes of info of type "char"/"int" to the connecting client, in this case, the android phone.