mirror of
https://github.com/sailfishos/ofono
synced 2025-12-02 07:31:04 +08:00
build: Add example configuration for phonesim plugin
This commit is contained in:
@@ -233,6 +233,10 @@ builtin_sources += drivers/atmodem/atutil.h \
|
||||
if PHONESIM
|
||||
builtin_modules += phonesim
|
||||
builtin_sources += plugins/phonesim.c
|
||||
|
||||
if DATAFILES
|
||||
conf_DATA += plugins/phonesim.conf
|
||||
endif
|
||||
endif
|
||||
|
||||
builtin_modules += atgen
|
||||
@@ -412,7 +416,7 @@ testdir = $(pkglibdir)/test
|
||||
test_SCRIPTS = $(test_scripts)
|
||||
endif
|
||||
|
||||
conf_files = src/ofono.conf
|
||||
conf_files = src/ofono.conf plugins/phonesim.conf
|
||||
|
||||
EXTRA_DIST = src/genbuiltin $(conf_files) $(udev_files) \
|
||||
$(doc_files) $(test_scripts)
|
||||
|
||||
14
plugins/phonesim.conf
Normal file
14
plugins/phonesim.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
# This is a sample file for the phonesim configuration
|
||||
#
|
||||
# It should be installed in your oFono system directory,
|
||||
# e.g. /etc/ofono/phonesim.conf
|
||||
#
|
||||
# Each group is parsed as a modem device
|
||||
#
|
||||
# Each group shall at least define the address and port
|
||||
# Address = <valid IPv4 address format>
|
||||
# Port = <valid TCP port>
|
||||
|
||||
#[phonesim]
|
||||
#Address=127.0.0.1
|
||||
#Port=12345
|
||||
Reference in New Issue
Block a user