ble mesh里如何获得rssi的值,有相关的api吗

hzc_dx
Posts: 4
Joined: Thu Oct 21, 2021 11:58 am

ble mesh里如何获得rssi的值,有相关的api吗

Postby hzc_dx » Thu Oct 21, 2021 12:00 pm

ble mesh里如何获得rssi的值,有相关的api吗?

ESP_ICY
Posts: 404
Joined: Mon Aug 23, 2021 11:10 am

Re: ble mesh里如何获得rssi的值,有相关的api吗

Postby ESP_ICY » Thu Oct 21, 2021 1:32 pm

请问是 BLE Mesh 数据的 RSSI 还是 BLE 广播数据的RSSI

hzc_dx
Posts: 4
Joined: Thu Oct 21, 2021 11:58 am

Re: ble mesh里如何获得rssi的值,有相关的api吗

Postby hzc_dx » Fri Oct 22, 2021 1:45 am

ble mesh 数据的rssi

hzc_dx
Posts: 4
Joined: Thu Oct 21, 2021 11:58 am

Re: ble mesh里如何获得rssi的值,有相关的api吗

Postby hzc_dx » Fri Oct 22, 2021 2:01 am

是ble mesh 消息的rssi值

ESP_ICY
Posts: 404
Joined: Mon Aug 23, 2021 11:10 am

Re: ble mesh里如何获得rssi的值,有相关的api吗

Postby ESP_ICY » Fri Oct 22, 2021 2:03 am

可以去相应的头文件里面搜索一下 rssi 的关键词,例如 esp_ble_mesh_def.h esp_ble_api.h, callback 返回的参数里面会上报

hzc_dx
Posts: 4
Joined: Thu Oct 21, 2021 11:58 am

Re: ble mesh里如何获得rssi的值,有相关的api吗

Postby hzc_dx » Fri Oct 22, 2021 3:39 am

再向您请教一个问题,mesh网里 server之间能相互通信吗? 一个节点可以同时作为server和clinet吗(既拥有发布和订阅两个功能)?

ESP_ICY
Posts: 404
Joined: Mon Aug 23, 2021 11:10 am

Re: ble mesh里如何获得rssi的值,有相关的api吗

Postby ESP_ICY » Fri Oct 22, 2021 9:50 am

可以,MESH的相关资料可以参考https://docs.espressif.com/projects/esp ... /mesh.html

Who is online

Users browsing this forum: No registered users and 93 guests