Bluetooth: Make RSSI value available to mesh applications
By moving the rssi value from the bt_mesh_net_rx struct to the bt_mesh_msg_ctx struct, it will be available to applications via the mesh op callbacks. Signed-off-by: Tobias Svehagen <tobias.svehagen@gmail.com>
This commit is contained in:
parent
4ddbc0096a
commit
4866fa9e58
4 changed files with 8 additions and 5 deletions
|
@ -137,6 +137,9 @@ struct bt_mesh_msg_ctx {
|
|||
/** Destination address of a received message. Not used for sending. */
|
||||
u16_t recv_dst;
|
||||
|
||||
/** RSSI of received packet. Not used for sending. */
|
||||
s8_t recv_rssi;
|
||||
|
||||
/** Received TTL value. Not used for sending. */
|
||||
u8_t recv_ttl:7;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue