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

CC2640R2F: Add GAPRole_GetParameter function into the project of persistent_app_cc2640r2lp, it can't work.

$
0
0

Part Number:CC2640R2F

Hi team,

SDK : simplelink_cc2640r2_sdk_1_40_00_45

Project : simple_peripheral_oad_onchip and persistent_app_cc2640r2lp.

Running the project and download into my board, it can work. And I can search the ble name on Lightblue in my phone. The names is " OAD persistent APP"

I add GAPRole_GetParameter function into the project of persistent_app_cc2640r2lp, like below yellow part. I re-bulid the project and download into my board. But it can't run. Do you have any suggestions?

static void OadPersistApp_processStateChangeEvt(gaprole_States_t newState)
{
switch ( newState )
{
case GAPROLE_STARTED:
uint8_t ownAddress[B_ADDR_LEN];
GAPRole_GetParameter(GAPROLE_BD_ADDR, ownAddress);
break;

.........

}


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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