mirror of
https://github.com/espressif/openthread.git
synced 2026-08-15 23:27:47 +00:00
[mac-frame] remove unused Set{Src/Dst}{Addr/PanId}() methods (#10779)
Recent changes updated `Mac::Frame` to use `FrameBuilder` for preparing frame headers. With the adoption of this model, the previously defined `Set` methods for setting source/destination address or PAN ID are no longer used or needed. This commit removes them.
This commit is contained in:
@@ -626,9 +626,6 @@ void TestMacFrameApi(void)
|
||||
VerifyOrQuit(frame.IsSrcAddrPresent());
|
||||
SuccessOrQuit(frame.GetSecurityControlField(scf));
|
||||
VerifyOrQuit(scf == 0x0d);
|
||||
frame.SetSecurityControlField(0xff);
|
||||
SuccessOrQuit(frame.GetSecurityControlField(scf));
|
||||
VerifyOrQuit(scf == 0xff);
|
||||
#endif // OPENTHREAD_CONFIG_THREAD_VERSION >= OT_THREAD_VERSION_1_2
|
||||
|
||||
// IEEE 802.15.4-2006 Mac Command
|
||||
|
||||
Reference in New Issue
Block a user