Skip to content

Commit bce6be0

Browse files
committed
mgmt: mcumgr: Remove command registration functions
Commands are now registered automatically, this is no longer needed. Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 8087212 commit bce6be0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

examples/platform/nrfconnect/util/DFUOverSMP.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ void DFUOverSMP::Init()
6868
}
6969
};
7070

71-
os_mgmt_register_group();
72-
img_mgmt_register_group();
73-
7471
img_mgmt_set_upload_cb([](const img_mgmt_upload_req req, const img_mgmt_upload_action action) {
7572
ChipLogProgress(SoftwareUpdate, "DFU over SMP progress: %u/%u B of image %u", static_cast<unsigned>(req.off),
7673
static_cast<unsigned>(action.size), static_cast<unsigned>(req.image));
@@ -111,7 +108,6 @@ void DFUOverSMP::ConfirmNewImage()
111108
void DFUOverSMP::StartServer()
112109
{
113110
VerifyOrReturn(!mIsStarted, ChipLogProgress(SoftwareUpdate, "DFU over SMP was already started"));
114-
smp_bt_register();
115111

116112
// Synchronize access to the advertising arbiter that normally runs on the CHIP thread.
117113
PlatformMgr().LockChipStack();

0 commit comments

Comments
 (0)