Development of a BLE central; The device is setup as a client, it connects to one or multiple Bluetooth sensors at the same time and without time multiplexing. The central gathers the information, processes them and takes action accordingly. With the TI CC2640R2F it runs on a single AAA battery.
[Project is still confidential, more details to come later]
I want to enable and disable advertising with simple peripheral on cc2640r2f ?
How i can do it ?
Help Me please !!!
Hi DOM,
To enable or disable advertising with simple peripheral on cc2640r2f just call the function `GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t), &advertEnabled, NULL);`.
Before that, set `advertEnabled` to `1` for enable, or `0` for disable.
Jerome