Advertise logic.
More...
Go to the source code of this file.
|
|
typedef struct BleAdvertiseContext | BleAdvertiseContext |
| | Advertise context instance.
|
| |
◆ ble_advertise_free()
Free advertise context.
- Parameters
-
| instance | of advertise context |
◆ ble_advertise_print_data()
Print current config into logs.
- Parameters
-
| instance | of advertise context |
◆ ble_advertise_set_name()
Set new name, which will be used for advertise.
- Parameters
-
| instance | of advertise context |
| new_name | which will be used for advertise. |
◆ ble_advertise_start()
| bool ble_advertise_start |
( |
BleAdvertiseContext * | instance, |
|
|
bool | advertise_to_paired_only, |
|
|
const rsi_bt_event_le_security_keys_t * | key ) |
Start advertise.
- Parameters
-
| instance | of advertise context |
| advertise_to_paired_only | if device is paired it will result in anonymous advertise config |
| key | RPA key structure used to configure accept list when pairing is present |
◆ ble_advertise_stop()
Stop advertise.
- Parameters
-
| instance | of advertise context |