You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/07/13 20:55:39 UTC

[26/50] [abbrv] incubator-mynewt-core git commit: BLE Host - Move ibeacon prototypes to new header.

BLE Host - Move ibeacon prototypes to new header.

net/nimble/host/include/host/ble_ibeacon.h


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/3bb24191
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/3bb24191
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/3bb24191

Branch: refs/heads/develop
Commit: 3bb24191ff01994a094fb2505d9fa4a303492178
Parents: f1554a0
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Jul 6 15:32:57 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Mon Jul 11 16:43:34 2016 -0700

----------------------------------------------------------------------
 net/nimble/host/include/host/ble_hs.h      |  1 -
 net/nimble/host/include/host/ble_ibeacon.h | 25 +++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/3bb24191/net/nimble/host/include/host/ble_hs.h
----------------------------------------------------------------------
diff --git a/net/nimble/host/include/host/ble_hs.h b/net/nimble/host/include/host/ble_hs.h
index ea06411..3113b0d 100644
--- a/net/nimble/host/include/host/ble_hs.h
+++ b/net/nimble/host/include/host/ble_hs.h
@@ -219,7 +219,6 @@ extern const struct ble_hs_cfg ble_hs_cfg_dflt;
 
 int ble_hs_start(void);
 void ble_hs_event_enqueue(struct os_event *ev);
-int ble_ibeacon_set_adv_data(void *uuid128, uint16_t major, uint16_t minor);
 int ble_hs_init(struct os_eventq *app_evq, struct ble_hs_cfg *cfg);
 
 #endif

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/3bb24191/net/nimble/host/include/host/ble_ibeacon.h
----------------------------------------------------------------------
diff --git a/net/nimble/host/include/host/ble_ibeacon.h b/net/nimble/host/include/host/ble_ibeacon.h
new file mode 100644
index 0000000..112f52b
--- /dev/null
+++ b/net/nimble/host/include/host/ble_ibeacon.h
@@ -0,0 +1,25 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.
+ */
+
+#ifndef H_BLE_IBEACON_
+#define H_BLE_IBEACON_
+
+int ble_ibeacon_set_adv_data(void *uuid128, uint16_t major, uint16_t minor);
+
+#endif