Hi,
1> First of all, I would like to say that my first proto board is giving me some good response after few hours of debugging. First I couldn't find the recommended murata crystal for 30MHz and 32768Hz.. So I searched in digikey for same specs, I matched all the specifications of the recommended crystal but it doesn't works. Then in my board I removed the two crystals and connected the murata crystals which I removed from the cc2541DK_EM board. Then I loaded the simple broadcaster example and I am able to scan it on my andriod from max distance of around 8 meters. This is same range I gets for normal bluetooth also, so does it means my antenna part is fine?
2> I have one more question, my schematic is not same as the keyfob, I mean the peripherals like accelerometer, temp sensor etc is not there. No sensors is there. Only cc2541 circult. Now I loaded the keyfob demo binaries to it and I am able to scan it if I am pulling and releasing P0_1 pin to ground (button pin in keyfob). I connected an led at P1_1 and I can see it is blinking similar to keyfob as it is in discoverable mode. I can scan it and I can connect it from my android phone. Now my only question is, I can't see many services in it compared to keyfob. in keyffob I was able to find a lot of services but here only two. What will be the reason? Is the firmware in keyfob first checking all the sensors are connected or not and accordingly enabling the services?
3> How will I create a service which will works little bit similar to classic bluetooth SPP profile? Any example code available? I just need to send few bytes and receive few bytes between phone and cc2541. How will I approach this? Till now I did not dig into the code sample and didn't tried to modify any thing in the example code related to the radio/ble, I only tried peripheral examples like gpio, spi, i2c , uart etc.