Hello All,
I am using a BLE peripheral example as a reference for developing my code.
I wanted to add a new Custom service in the same example and refering the documents and the code of BLE peripheral i Created new files for new custom service with different UUID's and name as user_cust2_svc.c and user_cust2_svc.h which replicated same as user_cust1_def.c and user_cust1_def.h .
I was able to build Code sucessfully but when check in BLE scanner i m not able to find my newly created Custom service.
So please can anyone help me at the earlyiest if am mising out on something
Thanks and Regards
Utkarash
Device:
Hi Utkarash,
The SDK5.0.4 includes a second service as well. So, there are 2 custom service available and you could find them under sdk\ble_stack\profiles\custom\custs SDK path. In the ble_app_peripheral example, only the custom service 1 is implemented. In order to add the second service, you should do the following steps:
Thanks, PM_Dialog
Hello,
Thank you For You Help
Thanks and Regards
Utkarash