dun_gw: Add DUN server plugin for oFono
PATCH 1/1 dun_gw: Add DUN server plugin for oFono
DUN server is probed when modem state changes to online. It registers DUN record to Bluetooth adapter and wait for incoming DUN connection.
Based on a patch from Zhenhua Zhang <[email protected]>
--- Makefile.am | 3 + plugins/dun_gw.c | 164 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 167 insertions(+), 0 deletions(-) create mode 100644 plugins/dun_gw.c
Makefile.am +3 -0
@@ -324,6 +324,9 @@ builtin_sources += plugins/bluetooth.c plugins/bluetooth.h builtin_modules += hfp builtin_sources += plugins/hfp.c plugins/bluetooth.h +builtin_modules += dun_gw +builtin_sources += plugins/dun_gw.c plugins/bluetooth.h + builtin_sources += $(btio_sources) builtin_cflags += @BLUEZ_CFLAGS@ builtin_libadd += @BLUEZ_LIBS@
plugins/dun_gw.c new file +164 -0
164 lines not on this page · raw message
Signature · 1 line
1.7.4
Hi Gustavo,
Quoted 10 lines · Gustavo F. Padovan
DUN server is probed when modem state changes to online. It registers DUN record to Bluetooth adapter and wait for incoming DUN connection.
Based on a patch from Zhenhua Zhang <[email protected]>
--- Makefile.am | 3 + plugins/dun_gw.c | 164 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 167 insertions(+), 0 deletions(-) create mode 100644 plugins/dun_gw.c
Patch has been applied, thanks.
Regards,
-Denis