I'm currently designing a project using the CC2540 BLE system on a chip. I have received the mini dev kit from TI, but I have several questions. First a little project overview. The project is going to use a Android based tablet which will transmit via BLE protocal (from USB provided with the mini DEV kit since standard Bluetooth will not communicate with BLE) files. The file being transmitted is a loader file used to load code in xx system.
1. What is the proceedure to send data from the slave device, which is the embedded device. I think I just write the data to the RFD pointer defined in the CC2540.h header file? I also heard that only 20 bytes of data can be transferred at at time, is this correct?
2. Currently I have most of the code written to perform the read/write functions to and from the system through port 0 and port 1. The next task is to communicate with the BLE stack. Is there an easy or description of how to do this. The simple BLE peripheral program looks complex and I'm not sure if I need all that.
I think I just need to chage the attribute or possible add attributes to the stack to perform data transfer.
3. Is there a proceedure to write data to the BLE stack?
4. Which .h files would I need to perform BLE stack reads/writes?
Thanks for your help
Mike