diff --git a/src/mesh/beacon.c b/src/mesh/beacon.c index 628eef07f..8560a4bfa 100644 --- a/src/mesh/beacon.c +++ b/src/mesh/beacon.c @@ -52,6 +52,7 @@ #include "btstack_event.h" #include "gap.h" #include "mesh_keys.h" +#include "mesh_iv_index_seq_number.h" #define BEACON_TYPE_UNPROVISIONED_DEVICE 0 #define BEACON_TYPE_SECURE_NETWORK 1 diff --git a/src/mesh/mesh_lower_transport.c b/src/mesh/mesh_lower_transport.c index 10904e2fc..4a367a626 100644 --- a/src/mesh/mesh_lower_transport.c +++ b/src/mesh/mesh_lower_transport.c @@ -108,8 +108,6 @@ static void mesh_lower_transport_abort_transmission(void); // state static int lower_transport_retry_count; -static uint32_t lower_transport_seq; - // lower transport incoming static btstack_linked_list_t lower_transport_incoming; diff --git a/test/mesh/mesh_keys.c b/test/mesh/mesh_keys.c index e1c93926b..a1cc2fd66 100644 --- a/test/mesh/mesh_keys.c +++ b/test/mesh/mesh_keys.c @@ -44,11 +44,6 @@ #include "btstack_memory.h" #include "btstack_config.h" -static void mesh_print_hex(const char * name, const uint8_t * data, uint16_t len){ - printf("%-20s ", name); - printf_hexdump(data, len); -} - // network key list static btstack_linked_list_t network_keys; static uint8_t mesh_network_key_used[MAX_NR_MESH_NETWORK_KEYS]; diff --git a/test/mesh/provisioning_device.c b/test/mesh/provisioning_device.c index 2e7deec3a..4fbe01bed 100644 --- a/test/mesh/provisioning_device.c +++ b/test/mesh/provisioning_device.c @@ -63,7 +63,6 @@ static uint8_t prov_buffer_out[MESH_PROV_MAX_PROXY_PDU]; // ConfirmationInputs = ProvisioningInvitePDUValue || ProvisioningCapabilitiesPDUValue || ProvisioningStartPDUValue || PublicKeyProvisioner || PublicKeyDevice static uint8_t prov_confirmation_inputs[1 + 11 + 5 + 64 + 64]; static uint8_t prov_authentication_method; -static uint8_t prov_authentication_action; static uint8_t prov_public_key_oob_used; static uint8_t prov_emit_public_key_oob_active; static uint8_t prov_emit_output_oob_active;