From db855e4c38910dbd052c3f50a1947c0025473b33 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Dutta Date: Thu, 5 Dec 2024 16:28:38 +0530 Subject: [PATCH] wifidmd: align with bbfdm --- wifidmd/Makefile | 3 ++- wifidmd/bbfdm_service.json | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 wifidmd/bbfdm_service.json diff --git a/wifidmd/Makefile b/wifidmd/Makefile index ddd7de01d..451962b02 100644 --- a/wifidmd/Makefile +++ b/wifidmd/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wifidmd -PKG_VERSION:=1.0.16 +PKG_VERSION:=1.0.17 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) @@ -40,6 +40,7 @@ endef MAKE_PATH:=src define Package/wifidmd/install + $(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME) $(BBFDM_INSTALL_MS_DM) -u WiFi $(PKG_BUILD_DIR)/src/libwifi.so $(1) $(PKG_NAME) ifeq ($(CONFIG_ENABLE_WIFI_DATAELEMENTS),y) $(BBFDM_INSTALL_MS_PLUGIN) $(PKG_BUILD_DIR)/src/libdataelements.so $(1) $(PKG_NAME) diff --git a/wifidmd/bbfdm_service.json b/wifidmd/bbfdm_service.json new file mode 100644 index 000000000..83e1f9c34 --- /dev/null +++ b/wifidmd/bbfdm_service.json @@ -0,0 +1,16 @@ +{ + "daemon": { + "enable": "1", + "service_name": "wifidmd", + "unified_daemon": false, + "services": [ + { + "parent_dm": "Device.", + "object": "WiFi" + } + ], + "config": { + "loglevel": "3" + } + } +}