ieee1905: Multiple fixes

- Compile flag for alme tcp server
 - MAP db support in plugin
 - Modification for map lib renaming
 - Cleanup
 - Move alme server to lib1905ubus
This commit is contained in:
vdutta 2020-01-31 16:17:13 +05:30
parent 21b4c960a3
commit cc2d40a912
3 changed files with 7 additions and 7 deletions

View file

@ -5,10 +5,10 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ieee1905
PKG_VERSION:=2.0.3
PKG_VERSION:=2.0.4
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=062770a223f2acedf00e9b3e754813ac64641ee7
PKG_SOURCE_VERSION:=47d9c14a5bb3847889c7c7246a4d2a867531bb88
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/ieee1905.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
@ -57,7 +57,7 @@ TARGET_CFLAGS += \
-DFIX_BROKEN_TLVS \
-DSPEED_UP_DISCOVERY \
-DDO_NOT_ACCEPT_UNAUTHENTICATED_COMMANDS
#-DREGISTER_MULTIAP_FEATURE \
#-DALME_OVER_TCP
#-DREGISTER_EXTENSION_BBF

View file

@ -11,7 +11,7 @@ config meshcomms 'global'
option port 8888
option cmdu_event false
option discovery_timer 60
option multiap_plugin false
option map_plugin false
#config al-iface
# option enabled '1'

View file

@ -20,7 +20,7 @@ validate_global_section()
'port:port:8888' \
'cmdu_event:bool:true' \
'discovery_timer:uinteger:60' \
'multiap_plugin:bool:false'
'map_plugin:bool:false'
}
validate_ieee1905_section()
@ -112,7 +112,7 @@ configure_interface()
configure_meshcomms()
{
local enabled almac basemacint mapall debug_level port l3device basemac intf registrar cmdu_event discovery_timer
local multiap_plugin
local map_plugin
validate_global_section global || {
echo "Validation of global section failed"
@ -153,7 +153,7 @@ configure_meshcomms()
json_add_int port ${port}
json_add_int cmdu_event ${cmdu_event}
json_add_int discovery_timer ${discovery_timer}
json_add_int multiap_plugin ${multiap_plugin}
json_add_int map_plugin ${map_plugin}
json_close_object
json_dump >${MESH_CONF}