From 0ea7064b34d9f03e9aa7d8abeb7c0e6bcc8a37ac Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 29 Nov 2004 03:48:21 +0000 Subject: Add service classes and profile ids for WAP --- include/sdp.h | 4 ++++ src/sdp.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/sdp.h b/include/sdp.h index 7c529de1..712e42e7 100644 --- a/include/sdp.h +++ b/include/sdp.h @@ -95,6 +95,8 @@ extern "C" { #define INTERCOM_SVCLASS_ID 0x1110 #define FAX_SVCLASS_ID 0x1111 #define HEADSET_AGW_SVCLASS_ID 0x1112 +#define WAP_SVCLASS_ID 0x1113 +#define WAP_CLIENT_SVCLASS_ID 0x1114 #define PANU_SVCLASS_ID 0x1115 #define NAP_SVCLASS_ID 0x1116 #define GN_SVCLASS_ID 0x1117 @@ -133,6 +135,8 @@ extern "C" { #define INTERCOM_PROFILE_ID 0x1110 #define FAX_PROFILE_ID 0x1111 #define HEADSET_AGW_PROFILE_ID 0x1112 +#define WAP_PROFILE_ID 0x1113 +#define WAP_CLIENT_PROFILE_ID 0x1114 #define PANU_PROFILE_ID 0x1115 #define NAP_PROFILE_ID 0x1116 #define GN_PROFILE_ID 0x1117 diff --git a/src/sdp.c b/src/sdp.c index e6035bf0..a830cf8b 100644 --- a/src/sdp.c +++ b/src/sdp.c @@ -98,6 +98,8 @@ static struct tupla ServiceClass[] = { { INTERCOM_SVCLASS_ID, "Intercom" }, { FAX_SVCLASS_ID, "Fax" }, { HEADSET_AGW_SVCLASS_ID, "Headset Audio Gateway" }, + { WAP_SVCLASS_ID, "WAP" }, + { WAP_CLIENT_SVCLASS_ID, "WAP Client" }, { PNP_INFO_SVCLASS_ID, "PnP Information" }, { GENERIC_NETWORKING_SVCLASS_ID,"Generic Networking" }, { GENERIC_FILETRANS_SVCLASS_ID, "Generic File Transfer" }, @@ -126,6 +128,8 @@ static struct tupla Profile[] = { { INTERCOM_PROFILE_ID, "Intercom" }, { FAX_PROFILE_ID, "Fax" }, { HEADSET_AGW_PROFILE_ID, "Headset Audio Gateway" }, + { WAP_PROFILE_ID, "WAP" }, + { WAP_CLIENT_PROFILE_ID, "WAP Client" }, { PANU_PROFILE_ID, "PAN user" }, { NAP_PROFILE_ID, "PAN access point" }, { GN_PROFILE_ID, "PAN group network" }, -- cgit