summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-10-13 12:03:16 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-10-13 12:03:16 +0000
commit735e59b37803748fea1077de064b285f78de1c10 (patch)
tree0a529bc51d420474a64093019413861f84784e8d
parenta867781820a4b7a85031c54fe38399c33affdb9c (diff)
Add SIM Access types
-rw-r--r--include/sdp.h2
-rw-r--r--src/sdp.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/include/sdp.h b/include/sdp.h
index 8acd862e..7c529de1 100644
--- a/include/sdp.h
+++ b/include/sdp.h
@@ -107,6 +107,7 @@ extern "C" {
#define HCR_PRINT_SVCLASS_ID 0x1126
#define HCR_SCAN_SVCLASS_ID 0x1127
#define CIP_SVCLASS_ID 0x1128
+#define SAP_SVCLASS_ID 0x112d
#define PNP_INFO_SVCLASS_ID 0x1200
#define GENERIC_NETWORKING_SVCLASS_ID 0x1201
#define GENERIC_FILETRANS_SVCLASS_ID 0x1202
@@ -141,6 +142,7 @@ extern "C" {
#define HID_PROFILE_ID 0x1124
#define HCR_PROFILE_ID 0x1125
#define CIP_PROFILE_ID 0x1128
+#define SAP_PROFILE_ID 0x112d
/*
* Attribute identifier codes
diff --git a/src/sdp.c b/src/sdp.c
index 9cb2230a..971644ba 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -104,6 +104,7 @@ static struct tupla ServiceClass[] = {
{ GN_SVCLASS_ID, "PAN group network" },
{ HID_SVCLASS_ID, "Human Interface Device" },
{ CIP_SVCLASS_ID, "Common ISDN Access" },
+ { SAP_SVCLASS_ID, "SIM Access" },
{ 0 }
};
@@ -123,8 +124,9 @@ static struct tupla Profile[] = {
{ PANU_PROFILE_ID, "PAN user" },
{ NAP_PROFILE_ID, "PAN access point" },
{ GN_PROFILE_ID, "PAN group network" },
- { HID_SVCLASS_ID, "Human Interface Device" },
- { CIP_SVCLASS_ID, "Common ISDN Access" },
+ { HID_PROFILE_ID, "Human Interface Device" },
+ { CIP_PROFILE_ID, "Common ISDN Access" },
+ { SAP_PROFILE_ID, "SIM Access" },
{ 0 }
};