mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
obuspa: option to configure poll period
This commit is contained in:
parent
1c6243113c
commit
8c3bf8763e
2 changed files with 15 additions and 2 deletions
|
|
@ -70,4 +70,13 @@ config OBUSPA_VENDOR_PREFIX
|
||||||
config OBUSPA_OVERRIDE_CT_ROLE
|
config OBUSPA_OVERRIDE_CT_ROLE
|
||||||
bool "Override ControllerTrust role with factory default roles"
|
bool "Override ControllerTrust role with factory default roles"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config OBUSPA_VC_POLL_PERIOD
|
||||||
|
int "Polling interval in sec for ValueChange Subscriptions"
|
||||||
|
range 15 120
|
||||||
|
default "15"
|
||||||
|
help
|
||||||
|
Obuspa relies on a polling mechanism to determine the ValueChange, Add, Del Subscriptions.
|
||||||
|
Short poll period could give more responsive subscription events, but might delay overall experience in slower CPUs with good amount of subscriptions, on the other hand, a bigger value results into less responsive subscription handling. This value must be in range of 15 to 120 secs. (default 15)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=obuspa
|
PKG_NAME:=obuspa
|
||||||
PKG_VERSION:=10.0.0.9
|
PKG_VERSION:=10.0.0.10
|
||||||
|
|
||||||
LOCAL_DEV:=0
|
LOCAL_DEV:=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/obuspa.git
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/obuspa.git
|
||||||
PKG_SOURCE_VERSION:=3e9299063e3c65565d2c834b5ab654fda830f749
|
PKG_SOURCE_VERSION:=17704abb7481ced6b176e495a3000a8a9bf9eb96
|
||||||
PKG_MAINTAINER:=Vivek Dutta <vivek.dutta@iopsys.eu>
|
PKG_MAINTAINER:=Vivek Dutta <vivek.dutta@iopsys.eu>
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||||
PKG_MIRROR_HASH:=skip
|
PKG_MIRROR_HASH:=skip
|
||||||
|
|
@ -107,6 +107,10 @@ ifneq ($(CONFIG_OBUSPA_MAX_CONTROLLERS_NUM),)
|
||||||
TARGET_CFLAGS += -DOBUSPA_MAX_CONTROLLERS_NUM=$(CONFIG_OBUSPA_MAX_CONTROLLERS_NUM)
|
TARGET_CFLAGS += -DOBUSPA_MAX_CONTROLLERS_NUM=$(CONFIG_OBUSPA_MAX_CONTROLLERS_NUM)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_OBUSPA_VC_POLL_PERIOD),)
|
||||||
|
TARGET_CFLAGS += -DOBUSPA_VC_POLL_PERIOD=$(CONFIG_OBUSPA_VC_POLL_PERIOD)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(LOCAL_DEV),1)
|
ifeq ($(LOCAL_DEV),1)
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(CP) -rf ~/git/obuspa/* $(PKG_BUILD_DIR)/
|
$(CP) -rf ~/git/obuspa/* $(PKG_BUILD_DIR)/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue