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.

蓝牙

Part Number: CC2652RB

我现在做的一个项目是在spimaster项目里面开发的,里面通过spi采集到的数据需要通过蓝牙发送出去,我就找到了simple_peripheral项目,我想使用这个蓝牙项目(simple_peripheral)将我在spimaster项目里面采集到的数据发送出去。我就开始寻找方法,我看到spimaster项目调用的头文件是pthread.h,也就说我这个项目是一个线程,所以我就想到线程之间通信,通过线程通信修改蓝牙里面的自定义的特征值。然后我就发现,蓝牙这个项目没有使用线程,而是创建任务。那么我想知道,我想将这两个项目结合起来,并将spi采集到的数据通过蓝牙发送出去,应该怎么做呢?