This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2745R10-Q1: Could you provide Channel sounding host program in C language in order to integrate it into Android/Linux environment ?

Part Number: CC2745R10-Q1

Tool/software:

Hi,

We would like to integrate CC2745R10-Q1 car node into an Android infotainment system.

That means, in the Android system, there shall be a host program to communicate with CC2745R10-Q1 target.

Our idea is: We keep CC2745R10-Q1 car node unchanged but need to have a host program in Android.

Could you provide Channel sounding host program in C language in order to integrate it into Android/Linux environment

Host Side C language example (Control CC2745R10 Using UART)

Environment: Linux/Android C program.
Interface: Leverages the UART/USB-UART used by CC2745R10 Car_Node

Examples would like to include:
On/off UART. BLE connection
CS commands such as Security / Capabilities / Config / CS Start / cs.procedure_enable are sent out
Receive/resolve events (distance, Quality/confidence; available with IQ/PCT)

The other part we would like to get are: CS_Car_Node initiator, requires step-by-step command/event description

For each step, provide the command, event format, field descriptions, For example.
Example: "Scan key_node --> connected to key_node --> security --> Capabilities --> Config --> CS Start -- > cs.procedure_enable --> return distance.

  • Hello James, 

    We do not have a C language example of this, but the current CS demo uses a python script to control the Car Node example. The python script can be converted into a C project using the same UART commands to communicate between the Android host and the CC2745R10-Q1 Car Node. 

    The python script runs through all of the desired events you have described. UART commands are initiated from the python script and sent to the device via the UART port connected to the PC. 

    The script does not include turning the BLE connection, but this can be added to the Car Node example easily with the extctrl files. 

    In short, utilize the python scripts within tools/ble/ble_agent/examples (specifically ble_device_car_node_with_distance.py for CS), and the Car Node example in the SDK. 

    Thanks,

    Isaac