ublox_spp_le_counter: include device info service

This commit is contained in:
Milanka Ringwald 2018-11-13 09:38:00 +01:00
parent 16e3e4af25
commit 6c9a65edd9

View File

@ -50,6 +50,7 @@
#include "ublox_spp_le_counter.h"
#include "btstack.h"
#include "ble/gatt-service/device_information_service_server.h"
#include "ble/gatt-service/ublox_spp_service_server.h"
#define HEARTBEAT_PERIOD_MS 1000
@ -184,7 +185,7 @@ int btstack_main(void)
device_information_service_server_init();
// setup Nordic SPP service
ublox_spp_service_server_init(&ublox_data, &ublox_flow_control);
// setup advertisements
uint16_t adv_int_min = 0x0030;
uint16_t adv_int_max = 0x0030;