Other Parts Discussed in Thread: CC2541, CC2640, CC2650
Hello,
I worked on a cc2541 before and i success to use GATT_Notification to send many bytes to my Android smartphone.
But, when i wan't to use the same function on cc2640/50, my program exit.
And always when i call "GATT_Notification" the program exit.
When i try to use setParameter on a characteristique 4 of simpleProfile it's same.. because setParameter use GATTServApp_ProcessCharCfg, this use gattServApp_SendNotiInd, and the last use GATT_NOTIFICATION.
//I wan't notify with new value stat = SimpleProfile_SetParameter(SIMPLEPROFILE_CHAR4, len_notification, (void *) value);
When i debug, i have this :
static void loader_exit(void)
{
#if defined(EMBED_CIO_BP)
__asm(" .global C$$EXITE");
#if defined(__32bis__)
__asm("C$$EXITE:.word 0xDEFED0FE");
#else
__asm(" .align 4");
#if defined(__big_endian__)
__asm("C$$EXITE:.half 0xDEFE");
#else
__asm("C$$EXITE:.half 0xD0FE");
#endif /* __big_endian__ */
#endif /* __32bis__ */
#else /* !EMBED_CIO_BP */
__asm(" .global C$$EXIT");
__asm("C$$EXIT: nop");
#endif
}
Someone have same problem ?
Best regards,
Steeve