Skip to contentSkip to conversation

dun_gw: Add DUN server plugin for oFono

PATCH In review Gustavo F. Padovan 2 participants 2 messages Feb 15, 2011 – Feb 16, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

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
index 1d7f32b..47ebc8f 100644
@@ -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
#1 lore raw

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