Part Number: CC2340R5
We want to implement SPP (Serial Port Profile) over BLE function by data_stream, and we plan to ues our custom UUID in UartService, UartTxCharacteristic and UartRxCharacteristic, which files we should modify in data_stream ?
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: CC2340R5
We want to implement SPP (Serial Port Profile) over BLE function by data_stream, and we plan to ues our custom UUID in UartService, UartTxCharacteristic and UartRxCharacteristic, which files we should modify in data_stream ?
I found there are some UUID definition in data_stream_server.h, but my request is to modify UUID to "6e400001-b5a3-f393-e0a9-e50e24dcca9e", should I post full value ? In example code, it just use 4 characters.
// Service UUID
#define DSS_SERV_UUID 0xC0C0
// Characteristic defines
#define DSS_DATAIN_ID 0
#define DSS_DATAIN_UUID 0xC0C1
// Characteristic defines
#define DSS_DATAOUT_ID 1
#define DSS_DATAOUT_UUID 0xC0C2
Hello,
I suggest you to follow the SimpleLink Academy lab on datastream, inside you'll find a section called changing device configurations and then change UUIDS. It will explain how to change the UUID to fit your application.
Regards,