From 735e59b37803748fea1077de064b285f78de1c10 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 13 Oct 2004 12:03:16 +0000 Subject: Add SIM Access types --- include/sdp.h | 2 ++ src/sdp.c | 6 ++++-- 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 } }; -- cgit