summaryrefslogtreecommitdiffstats
path: root/bta
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2013-05-31 09:42:57 +0200
committerDanny Baumann <dannybaumann@web.de>2013-05-31 09:42:57 +0200
commitea48d2e7809afa1dada69bc27693b9b9fe3b59a6 (patch)
tree6f1c4d5ae6b2199781e6bcb2a4b12792aa0fd150 /bta
parent4b56e400bc2e101b7c3242c4556381ac8cb14ea5 (diff)
downloadexternal_bluetooth_bluedroid-ea48d2e7809afa1dada69bc27693b9b9fe3b59a6.zip
external_bluetooth_bluedroid-ea48d2e7809afa1dada69bc27693b9b9fe3b59a6.tar.gz
external_bluetooth_bluedroid-ea48d2e7809afa1dada69bc27693b9b9fe3b59a6.tar.bz2
Fix MAP SDP record generation [1/3]
This change adds support for generating MAS and MNS SDP records. Change-Id: I54d5d5847b9cdf4bd5e03aadf4e5012540e669c0
Diffstat (limited to 'bta')
-rw-r--r--bta/ma/bta_mas_int.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/bta/ma/bta_mas_int.h b/bta/ma/bta_mas_int.h
new file mode 100644
index 0000000..f03010f
--- /dev/null
+++ b/bta/ma/bta_mas_int.h
@@ -0,0 +1,38 @@
+/******************************************************************************
+ *
+ * Copyright (C) 20013 The CyanogenMod Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ ******************************************************************************/
+
+/******************************************************************************
+ *
+ * This is the private file for the message access server (MAS).
+ *
+ ******************************************************************************/
+#ifndef BTA_MAS_INT_H
+#define BTA_MAS_INT_H
+
+/*****************************************************************************
+** Constants and data types
+*****************************************************************************/
+
+#define BTA_MAS_DEFAULT_VERSION 0x0100 /* for MAP version 1.0 */
+
+#define BTA_MAS_MSG_TYPE_EMAIL 0x01
+#define BTA_MAS_MSG_TYPE_SMS_GSM 0x02
+#define BTA_MAS_MSG_TYPE_SMS_CDMA 0x04
+#define BTA_MAS_MSG_TYPE_MMS 0x08
+
+#endif /* BTA_MAS_INT_H */