From 5f75dfe21356c556d2ad634c4a38852d76afda1b Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 17 Mar 2007 15:33:16 +0000 Subject: [PATCH] define XW_PSM in accord with palm guidelines. Doesn't seem to matter... --- common/comtypes.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common/comtypes.h b/common/comtypes.h index 5e4d96349..1642e5634 100644 --- a/common/comtypes.h +++ b/common/comtypes.h @@ -128,7 +128,14 @@ typedef struct CommonPrefs { #ifdef XWFEATURE_BLUETOOTH /* temporary debugging hack */ -# define XW_PSM 0x3131 + +/* From BtLibTypes.h: Pre-assigned assigned PSM values are permitted; however, + * they must be odd, within the range of 0x1001 to 0xFFFF, and have the 9th + * bit (0x0100) set to zero. Passing in BT_L2CAP_RANDOM_PSM will automatically + * create a usable PSM for the channel. In this case the actual PSM value will + * be filled in by the call. */ + +# define XW_PSM 0x3031 #endif /* used for all vtables */