mirror of
https://github.com/bluekitchen/btstack.git
synced 2024-12-29 09:26:08 +00:00
move GATT services into src/ble/gatt-service
This commit is contained in:
parent
362df7fb09
commit
85a677ece0
@ -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
|
||||
|
||||
|
@ -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;
|
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user