Chore/bacnet-sc-unrelated-cleanup (#620)
* Added required linux Ethernet library for ethernet build * Added .obj to gitignore * Fixed BACnet port for APPLE to use BSD in CMake * Changed format in CMake to enable cleaner SC merge * Added create-object and delete-object recipes in GCC Makefile * Added datalink timer to all example OS apps * Changed most microcontroller ports to use BACAPP_MINIMAL to specify which datatypes can be written. * Fixed zephyr OS for BACnet/IP warning * Fixed zephyr OS log to not require log_strdup * Added writefile API to file object example * Added API to device-client to make it more robust. * Added API in network-port object for getting the ASCII object-name * Added debug print with a timestamp option * Added debug print with hex dump print * Added API to network port object for activate and discard * Added default define for debug with timestamp * Added prototype in header for disabled debug printf. * Added fifo peek ahead function to peek at more than one byte. * Added get-mac value for network port that uses buffer rather than octetstring
This commit is contained in:
@@ -68,6 +68,9 @@ extern "C" {
|
||||
bool Network_Port_Name_Set(
|
||||
uint32_t object_instance,
|
||||
char *new_name);
|
||||
BACNET_STACK_EXPORT
|
||||
const char *Network_Port_Object_Name_ASCII(
|
||||
uint32_t object_instance);
|
||||
|
||||
BACNET_STACK_EXPORT
|
||||
char *Network_Port_Description(
|
||||
@@ -122,6 +125,11 @@ extern "C" {
|
||||
uint32_t object_instance,
|
||||
BACNET_OCTET_STRING *mac_address);
|
||||
BACNET_STACK_EXPORT
|
||||
uint8_t Network_Port_MAC_Address_Value(
|
||||
uint32_t object_instance,
|
||||
uint8_t *mac_address,
|
||||
size_t mac_size);
|
||||
BACNET_STACK_EXPORT
|
||||
bool Network_Port_MAC_Address_Set(
|
||||
uint32_t object_instance,
|
||||
uint8_t *mac_src,
|
||||
@@ -369,6 +377,12 @@ extern "C" {
|
||||
bool Network_Port_Changes_Pending_Set(
|
||||
uint32_t instance,
|
||||
bool flag);
|
||||
BACNET_STACK_EXPORT
|
||||
void Network_Port_Changes_Pending_Activate(
|
||||
uint32_t instance);
|
||||
BACNET_STACK_EXPORT
|
||||
void Network_Port_Changes_Pending_Discard(
|
||||
uint32_t instance);
|
||||
|
||||
BACNET_STACK_EXPORT
|
||||
bool Network_Port_Valid_Instance(
|
||||
@@ -408,6 +422,12 @@ extern "C" {
|
||||
bool Network_Port_Delete(
|
||||
uint32_t object_instance);
|
||||
BACNET_STACK_EXPORT
|
||||
void Network_Port_Changes_Activate(
|
||||
void);
|
||||
BACNET_STACK_EXPORT
|
||||
void Network_Port_Changes_Discard(
|
||||
void);
|
||||
BACNET_STACK_EXPORT
|
||||
void Network_Port_Cleanup(
|
||||
void);
|
||||
BACNET_STACK_EXPORT
|
||||
|
||||
Reference in New Issue
Block a user