[mac] adding mac_types.hpp/cpp (#4276)

This commit add `mac_types` module which includes definitions for
different MAC types such as PanID, Address, Extended PAN Identifier,
Network Name, etc. These definitions are moved from `mac_frame` into
new the newly added files.
This commit is contained in:
Abtin Keshavarzian
2019-10-28 08:55:48 -07:00
committed by Jonathan Hui
parent 9cb3fa50ef
commit 988dc85639
38 changed files with 756 additions and 649 deletions
+1
View File
@@ -159,6 +159,7 @@ LOCAL_SRC_FILES := \
src/core/mac/mac.cpp \
src/core/mac/mac_filter.cpp \
src/core/mac/mac_frame.cpp \
src/core/mac/mac_types.cpp \
src/core/mac/sub_mac.cpp \
src/core/mac/sub_mac_callbacks.cpp \
src/core/meshcop/announce_begin_client.cpp \