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.

CC2541: Develop custom profile on CC2541 to use it with smartphone app

Part Number: CC2541
Other Parts Discussed in Thread: CC2640

Hi! 

I'm developing an application with CC2541 and I'm trying to create one profile with customized services and characteristics to read and write values on variables using a smartphone app. At first, I will use one BLE terminal on my phone to access this characteristics. The thing is I'm trying to create the service files ("myService.c and myService.h") using the service generator  for cc2640 (https://dev.ti.com/tirex/explore/content/simplelink_academy_cc2640r2sdk_4_30_01_00/modules/blestack/ble_01_custom_profile/ble_01_custom_profile.html)  , but It uses a library that cc2541 BLE stack doesn't use that is "icall_ble_api.h". Given that, I want to know if I can take this library from BLE5 stack, or if there is another way to generate this files in an easy way.

Regards,

Bruno.