mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
obuspa: uci option to configure mqtt RequestResponseInfo
This commit is contained in:
parent
c68b1c01eb
commit
99821b5010
2 changed files with 5 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=obuspa
|
PKG_NAME:=obuspa
|
||||||
PKG_VERSION:=10.0.0.8
|
PKG_VERSION:=10.0.0.9
|
||||||
|
|
||||||
LOCAL_DEV:=0
|
LOCAL_DEV:=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
|
|
|
||||||
|
|
@ -241,7 +241,8 @@ validate_mqtt_client_section()
|
||||||
'Password:string' \
|
'Password:string' \
|
||||||
'ProtocolVersion:or("3.1", "3.1.1","5.0"):5.0' \
|
'ProtocolVersion:or("3.1", "3.1.1","5.0"):5.0' \
|
||||||
'TransportProtocol:or("TCP/IP","TLS"):TCP/IP' \
|
'TransportProtocol:or("TCP/IP","TLS"):TCP/IP' \
|
||||||
'ClientID:string'
|
'ClientID:string' \
|
||||||
|
'RequestResponseInfo:bool:1'
|
||||||
}
|
}
|
||||||
|
|
||||||
validate_challenge_section()
|
validate_challenge_section()
|
||||||
|
|
@ -602,7 +603,7 @@ configure_stomp_connection() {
|
||||||
|
|
||||||
configure_mqtt_client() {
|
configure_mqtt_client() {
|
||||||
local BrokerAddress BrokerPort Enable Username Password ProtocolVersion
|
local BrokerAddress BrokerPort Enable Username Password ProtocolVersion
|
||||||
local TransportProtocol ClientID
|
local TransportProtocol ClientID RequestResponseInfo
|
||||||
local sec
|
local sec
|
||||||
|
|
||||||
sec="${1}"
|
sec="${1}"
|
||||||
|
|
@ -627,6 +628,7 @@ configure_mqtt_client() {
|
||||||
db_set "${BASEPATH}.ProtocolVersion" "${ProtocolVersion}"
|
db_set "${BASEPATH}.ProtocolVersion" "${ProtocolVersion}"
|
||||||
db_set "${BASEPATH}.TransportProtocol" "${TransportProtocol}"
|
db_set "${BASEPATH}.TransportProtocol" "${TransportProtocol}"
|
||||||
db_set "${BASEPATH}.ClientID" "${ClientID}"
|
db_set "${BASEPATH}.ClientID" "${ClientID}"
|
||||||
|
db_set "${BASEPATH}.RequestResponseInfo" "${RequestResponseInfo}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue