Part Number: CC2650DK
Other Parts Discussed in Thread: CC2650
Tool/software: Code Composer Studio
Hi,
I developed an android app to use the serial port profile to transmit the data between android app and 8051 based development board through CC2650. The 8051 based board accepts the commands received and communicates the response through uart to cc2650 which transfers the data to the android app. CC2650 has SPP_BLESERVER example flashed on it. 8051 is programmed such that when it receives the command '1', onboard LED turns on and when it receives '2' on the UART, it transmits the adc value through uart.
The connection is as below:
[ 8051 ] ---- uart ----- [ CC2650 DEVELOPMENT KIT ] ------ ble ------ [ANDROID APP]
When 1 is entered in android app, it turns on the 8051 LED but when 2 is entered, it does not receive any response. While debugging, I noticed that the adc response reaches the UART buffers of cc2650. Also, I connected PC HyperTerminal instead of 8051 to verify the read/write and it happens correctly. Data entered in the mobile app is transmitted on to HyperTerminal and the data typed on the HyperTerminal is received on the app.
[ PC ] ---- uart ----- [ CC2650 DEVELOPMENT KIT ] ------ ble ------ [ANDROID APP]
Please let me know if I am missing something.
Thanks & regards,
Ramya