mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ble_mesh: add api to set net_transmit
This commit is contained in:
parent
d1027a0514
commit
c27b399a49
@ -3528,6 +3528,16 @@ u8_t bt_mesh_net_transmit_get(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void bt_mesh_net_transmit_set(u8_t val)
|
||||||
|
{
|
||||||
|
if (conf == NULL) {
|
||||||
|
BT_ERR("Invalid conf!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
conf->net_transmit = val;
|
||||||
|
}
|
||||||
|
|
||||||
u8_t bt_mesh_relay_get(void)
|
u8_t bt_mesh_relay_get(void)
|
||||||
{
|
{
|
||||||
if (conf) {
|
if (conf) {
|
||||||
|
Loading…
Reference in New Issue
Block a user