move GATT services into src/ble/gatt-service

This commit is contained in:
Matthias Ringwald 2016-11-02 15:31:48 +01:00
parent 362df7fb09
commit 85a677ece0
5 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@
#include "le_counter.h"
#include "btstack.h"
#include "ble/battery_service_server.h"
#include "ble/gatt-service/battery_service_server.h"
#define HEARTBEAT_PERIOD_MS 1000

View File

@ -41,12 +41,12 @@
*/
#include "btstack_defines.h"
#include "ble/battery_service_server.h"
#include "ble/att_db.h"
#include "ble/att_server.h"
#include "btstack_util.h"
#include "bluetooth_gatt.h"
#include "ble/gatt-service/battery_service_server.h"
static btstack_context_callback_registration_t battery_callback;
static att_service_handler_t battery_service;

View File

@ -521,7 +521,7 @@ def parseLines(fname_in, fin, fout):
imported_file = ''
parts = re.match('#import\s+<(.*)>\w*',line)
if parts and len(parts.groups()) == 1:
imported_file = btstack_root+'/src/ble/' + parts.groups()[0]
imported_file = btstack_root+'/src/ble/gatt-service/' + parts.groups()[0]
parts = re.match('#import\s+"(.*)"\w*',line)
if parts and len(parts.groups()) == 1:
imported_file = os.path.abspath(os.path.dirname(fname_in) + '/'+parts.groups()[0])