Sending a simple ASCII stream over BLE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
jakac_1482786
Level 3
Level 3
First like received

Dear Community,

   

 

   

I am pretty new at BLE and am having some difficulty getting something very simple to work.  I simply want to send an ASCII stream (from a sprintf() of a variable) out through BLE as a custom profile.  In this case it's a pH measurement that is being sent to a PRoC module (the 022001-00 EZ BLE) via UART.  I would have the PRoC parse the UART message (which is coming from a PSOC5LP) and then simply broadcast it.  Does someone have a super-simple example project to simply send out this ASCII stream?  I'm not a great PSoC programmer yet, and this should be an easy task for someone more experienced.

   

I have attached a pic of the current instrument.  The next iteration will have the BLE module connected via UART to the PSoC5 main processor.  

   

PS. I use the PSoC5 as the main CPU for the USB and del-sig ADC support.

   

 

   

thanks!!

   

jk

0 Likes
2 Replies
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received
        Did you look at the example programs in Psoc Creator? Or check git hub on the Web for psoc Ble programs?   
0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is a program that may help you .

0 Likes