mesh: remove unused prototypes from mesh_transport.h

This commit is contained in:
Matthias Ringwald 2019-04-09 12:41:11 +02:00
parent 1014d1cc53
commit ee9fbd2509
3 changed files with 6 additions and 11 deletions

View File

@ -49,6 +49,11 @@
static uint16_t primary_element_address;
// temp prototypes upper transport
void mesh_upper_unsegmented_control_message_received(mesh_network_pdu_t * network_pdu);
void mesh_upper_transport_segmented_message_received(mesh_transport_pdu_t *transport_pdu);
void mesh_upper_transport_unsegmented_message_received(mesh_network_pdu_t * network_pdu);
static void mesh_print_hex(const char * name, const uint8_t * data, uint16_t len){
printf("%-20s ", name);
printf_hexdump(data, len);

View File

@ -8,6 +8,7 @@
#include "ble/mesh/adv_bearer.h"
#include "ble/mesh/mesh_crypto.h"
#include "ble/mesh/mesh_network.h"
#include "ble/mesh/mesh_lower_transport.h"
#include "mesh_transport.h"
#include "btstack_util.h"
#include "provisioning.h"

View File

@ -51,12 +51,6 @@ extern "C"
void mesh_transport_init();
void mesh_lower_transport_set_seq(uint32_t seq);
uint32_t mesh_lower_transport_next_seq(void);
void mesh_lower_transport_message_processed_by_higher_layer(mesh_pdu_t * pdu);
void mesh_upper_transport_set_primary_element_address(uint16_t primary_element_address);
void mesh_transport_set_device_key(const uint8_t * device_key);
@ -92,11 +86,6 @@ void mesh_upper_transport_send_unsegmented_access_pdu(mesh_network_pdu_t * netwo
void mesh_upper_transport_send_segmented_access_pdu(mesh_transport_pdu_t * transport_pdu);
// temp prototypes upper transport
void mesh_upper_unsegmented_control_message_received(mesh_network_pdu_t * network_pdu);
void mesh_upper_transport_segmented_message_received(mesh_transport_pdu_t *transport_pdu);
void mesh_upper_transport_unsegmented_message_received(mesh_network_pdu_t * network_pdu);
//
// Virtual Address Management
//