added header file with first functions

wrote functions to  work with the owner data
This commit is contained in:
joran2738
2023-11-06 19:41:24 +01:00
parent c3b771469e
commit 01f018536f
2 changed files with 194 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
/*
* UDP_broadcast.h
*
* Created on: Nov 6, 2023
* Author: joran
*/
#ifndef INC_UDP_BROADCAST_H_
#define INC_UDP_BROADCAST_H_
typedef struct {
char* name;
char* surname;
uint8_t mac_address[6];
char* reply;
}owner_details_t;
uint8_t set_owner_details_name(owner_details_t*, char* );
uint8_t set_owner_details_sirname(owner_details_t*, char* );
uint8_t set_owner_details(owner_details_t*, char* , char*);
char* get_owner_details_name(owner_details_t);
char* get_owner_details_surname(owner_details_t);
#endif /* INC_UDP_BROADCAST_H_ */