diff --git a/samples/bluetooth/gatt/ipss.c b/samples/bluetooth/gatt/ipss.c deleted file mode 100644 index bb48dee390fb9d..00000000000000 --- a/samples/bluetooth/gatt/ipss.c +++ /dev/null @@ -1,71 +0,0 @@ -/** @file - * @brief IP Support Service sample - */ - -/* - * Copyright (c) 2015-2016 Intel Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -#define UNKNOWN_APPEARANCE 0x0000 - -BT_GATT_SERVICE_DEFINE(ipss_svc, - /* IP Support Service Declaration */ - BT_GATT_PRIMARY_SERVICE(BT_UUID_IPSS), -); - -static const struct bt_data ad[] = { - BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO_BREDR)), - BT_DATA_BYTES(BT_DATA_UUID16_ALL, 0x20, 0x18), -}; - -static void connected(struct bt_conn *conn, u8_t err) -{ - if (err) { - printk("Connection failed (err %u)\n", err); - } else { - printk("Connected\n"); - } -} - -static void disconnected(struct bt_conn *conn, u8_t reason) -{ - printk("Disconnected (reason %u)\n", reason); -} - -static struct bt_conn_cb conn_callbacks = { - .connected = connected, - .disconnected = disconnected, -}; - -void ipss_init(void) -{ - bt_conn_cb_register(&conn_callbacks); -} - -int ipss_advertise(void) -{ - int err; - - err = bt_le_adv_start(BT_LE_ADV_CONN_NAME, ad, ARRAY_SIZE(ad), NULL, 0); - if (err) { - return err; - } - - return 0; -} diff --git a/samples/bluetooth/gatt/ipss.h b/samples/bluetooth/gatt/ipss.h deleted file mode 100644 index 7d46abb53ee166..00000000000000 --- a/samples/bluetooth/gatt/ipss.h +++ /dev/null @@ -1,20 +0,0 @@ -/** @file - * @brief IPSP Service sample - */ - -/* - * Copyright (c) 2015-2016 Intel Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#ifdef __cplusplus -extern "C" { -#endif - -void ipss_init(void); -int ipss_advertise(void); - -#ifdef __cplusplus -} -#endif