cancel
Showing results for 
Search instead for 
Did you mean: 

SensorTile.box: Send data/text over Bluetooth to be displayed on PC.

Bxy
Associate II

Hi, I have created a machine learning model using STM32Cube IDE and would like to print out the results of the model on the PC using Bluetooth. I am using the SenorTile.box (STEVAL-MKSBOX1V1) with the SPBTLE-1S Bluetooth module.

I am currently printing out my results over USB, with the device being shown as a COM port in the PuTTY program. The code I use for this is:

#define BUFSIZE 256
char	SendBuffer[BUFSIZE];
 
snprintf(SendBuffer,BUFSIZE,"Class: %d \r\n", ClassValue);
CDC_Transmit_FS(SendBuffer,strlen(SendBuffer));

Now I wonder if there is a way to do this, but by using Bluetooth instead of USB. Thank you in advance.

0 REPLIES 0