RSL15 ble example

Hello,

I want to check BLE communication between two RSL15 EVK.
Since I am not familiar with BLE, I have a trouble in choosing Example.
Could you recommend me which BLE project should be used for Tx and Rx BLE?

1 Like

Hello Jiyeon,

Thanks for reaching out to us. Please take a look at the “ble_peripheral_server”, and “ble_central_client” examples and go over their readme files. These examples demonstrate how BLE uses “services” to communicate.

A service is a collection of data and associated behaviors to accomplish a particular function or feature.

I personally have not used these projects before, but I will look over them so I can be ready to answer anymore questions you may have.

With a closer look I see that the “ble_central_client” project already has the address set for “ble_peripheral_server”, so they would connect to one another without any changes. This can be found in their respective app.h files.

ble_peripheral_server/include/app.h

/** BLE private address of local device */
#ifndef APP_BLE_PRIVATE_ADDR
#define APP_BLE_PRIVATE_ADDR            { 0x94, 0x11, 0x22, 0xff, 0xbb, 0xD5 }
#endif	 /* APP_BLE_PRIVATE_ADDR */

ble_central_client/include/app.h

/** Bluetooth address of the first peer device */
#ifndef APP_BD_ADDRESS_PEER1
#define APP_BD_ADDRESS_PEER1            { 0x94, 0x11, 0x22, 0xff, 0xbb, 0xD5 }
#endif	/* APP_BD_ADDRESS_PEER1 */

Give it a shot and let me know how it goes!

1 Like

thanks for helping me:)
I will try your recommendation.

2 Likes