Hello,
I'm working on a custom device with the CC2640 - µC.
So far I added 3 services to the projectzero and everything works out fine. But when I add a new service and try to connect with the BLE - Scanner it gets stuck in the procedur
"discovering services".
Somehow if I combine certain services it works, other combinations won't.
That looks like this:
These two combinations works:
// Add services to GATT server and give ID of this task for Indication acks.
//LedService_AddService( selfEntity );
//ButtonService_AddService( selfEntity );
//DataService_AddService( selfEntity );
Status_Service_AddService();
SystemState_Service_AddService();
Mode_Service_AddService();
//Test_service_AddService();
Led_serviceCC_AddService();
and
// Add services to GATT server and give ID of this task for Indication acks.
LedService_AddService( selfEntity );
ButtonService_AddService( selfEntity );
DataService_AddService( selfEntity );
Status_Service_AddService();
SystemState_Service_AddService();
Mode_Service_AddService();
//Test_service_AddService();
//Led_serviceCC_AddService();
Whereas this one for example doesn't:
// Add services to GATT server and give ID of this task for Indication acks.
//LedService_AddService( selfEntity );
//ButtonService_AddService( selfEntity );
//DataService_AddService( selfEntity );
Status_Service_AddService();
SystemState_Service_AddService();
Mode_Service_AddService();
Test_service_AddService();
Led_serviceCC_AddService();
I have no idea what is the problem here and where I can start debugging. Do you have any hint what might be the cause fo this?
Any help is appreciated very much, thank you.
Alex