Part Number: MSP432P401R
Other Parts Discussed in Thread: CC2640R2F, ENERGYTRACE
Tool/software: Code Composer Studio
Hi all,
I am using the MSP432P401R and the CC2640R2F Launchpads in a Simple Application Processor/Simple Network Processor pair.
My issue is that I am unable to change the advertising interval on the SAP side to 1 sec (1600=1000ms)Steps I have taken:
Changed DEFAULT_ADVERTISING_INTERVAL in application_processor.h to 1600. This did not work as it does in standalone cc2640r2f applications because DEFAULT_ADVERTISING_INTERVAL is never used in the SAP application.
I also tried to update the advertising interval using SAP_setParam. However, this did not work either.
uint16_t advInt = DEFAULT_ADVERTISING_INTERVAL; SAP_setParam(SAP_PARAM_ADV, SAP_GEN_DISC_ADV_INT_MIN, sizeof(advInt), (uint8_t *) advInt); SAP_setParam(SAP_PARAM_ADV, SAP_GEN_DISC_ADV_INT_MAX, sizeof(advInt), (uint8_t *) advInt);