Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: Writing to an external SD card in BLE stack w/ CC2540

$
0
0

Hi, all

I am new to this style of programming within a given protocol, and am unsure how to do things that are unrelated to the protocol. By this, I mean, I need to do basic uC functions like taking information from sensors (will be a piezoelectric, an RF proximity sensor, and accelerometer), some being through an ADC, and then writing them to an external SD card. I have a library for writing to an SD card through Chan (http://www.8051projects.net/mmc-sd-interface-fat16/fat16-library.php) but am very much unsure how to do this with the BLE stack. 

If I understand it correctly, I need to have a profile for each of these sensors as well as the SD card, but I don't need to necessarily share this data through the GATT profile. I don't understand where exactly to start on this profile development if this is the case, but I do have a base level experience with uC's and basic I/O functionality.

To give an insight on the project, I will be taking in information from the sensors using a CC2540, and saving data to an SD card as well as sending it to the phone. Due to time constraint issues, I think the easiest way to do this will be by making the .txt log file and then sending this using an FTP profile that I have found online. 

Any insight or tutorials on this will be helpful, because I still haven't found exactly what I need in the BLE software developer's guide; because most of it is stated assuming I already have some experience with bluetooth.

Thank you very much for your help

Zach


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>