mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
mesh: fix compile mesh_network
This commit is contained in:
parent
fdf47f7cca
commit
20f42475df
@ -565,7 +565,7 @@ void mesh_network_received_message(const uint8_t * pdu_data, uint8_t pdu_len){
|
||||
uint8_t mesh_network_send(uint16_t netkey_index, uint8_t ctl, uint8_t ttl, uint32_t seq, uint16_t src, uint16_t dest, const uint8_t * transport_pdu_data, uint8_t transport_pdu_len){
|
||||
|
||||
// "The output filter of the interface connected to advertising or GATT bearers shall drop all messages with TTL value set to 1."
|
||||
if (ttl <= 1) return;
|
||||
if (ttl <= 1) return 0;
|
||||
|
||||
// TODO: check transport_pdu_len depending on ctl
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user