Other Parts Discussed in Thread: CC2650
Tool/software: TI C/C++ Compiler
Hello,
I have added some services using simple_pripheral_cc2650lp on image B. I compiled the code and download to running cc2640 but it did not showed that services which i have added.
After analyzing the code i came to know that the problem is due to
#ifndef FEATURE_OAD_ONCHIP SimpleProfile_AddService(GATT_ALL_SERVICES); // Simple GATT Profile #endif //!FEATURE_OAD_ONCHIP
as FEATURE_OAD_ONCHIP is defined in preprocessor so this part get skipped during compilation
But when i remove FEATURE_OAD_ONCHIP . It shows compilation error as following:
The device information services are working fine as they are not dependent on FEATURE_OAD_ONCHIP.
Please help me how i can safely remove FEATURE_OAD_ONCHIP? so that the desired code can be part of compilation process.
Thanks a lot.