Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2640: program execution stuck with loader_exit function when spp_ble_server_app tries to send BT notification

$
0
0

Part Number:CC2640

Hi,

I am developing a custom application starting from the sdk example: spp_ble_server.

I am using a custom board mounting a CC2640R2DK_5XD microcontroller.

I have loaded spp_ble_server_cc2640r2lp_app and spp_ble_server_cc2640r2lp_stack_library from simplelink_cc2640r2_sdk_1_35_00_33. I have ported the code to work on the specified microcontroller.

My application shall receive a message from a bluetooth client device, process it and send an answer to the device in the form of a notification.

But, when I try to write on the characteristic, the debug stops at the beginning of the loader_exit function. My response message is never sent.

I am trying to send this notification via a call to retVal = SerialPortService_SetParameter(SERIALPORTSERVICE_CHAR_DATA, msgLength, ptrMsgData);

Can anyone help me please?

Thanks in advance,

Elena B


Viewing all articles
Browse latest Browse all 262198

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>