@@ -3,6 +3,8 @@
#include <gap.h>
#include <furi_ble/profile_interface.h>
#include "seos_service.h"
+#include "seos_service_uuid.inc"
+#include <ble/core/ble_defs.h>
#include <furi.h>
#define TAG "SeosProfile"
@@ -41,10 +43,11 @@ static void ble_profile_seos_stop(FuriHalBleProfileBase* profile) {
#define CONNECTION_INTERVAL_MAX (0x24)
static GapConfig seos_template_config = {
- .adv_service_uuid = 0x3080,
+ .adv_service.UUID_Type = UUID_TYPE_128,
+ .adv_service.Char_UUID_128 = BLE_SVC_SEOS_CHAR_UUID,
.appearance_char = 0x8600,
- .bonding_mode = true,
- .pairing_method = GapPairingPinCodeShow,
+ .bonding_mode = false,
+ .pairing_method = GapPairingNone,
.conn_param = {
.conn_int_min = CONNECTION_INTERVAL_MIN,
.conn_int_max = CONNECTION_INTERVAL_MAX,
@@ -65,7 +68,6 @@ static void
config->adv_name,
furi_hal_version_get_ble_local_device_name_ptr(),
FURI_HAL_VERSION_DEVICE_NAME_LENGTH);
- config->adv_service_uuid |= furi_hal_version_get_hw_color();
}
static const FuriHalBleProfileTemplate profile_callbacks = {
@@ -1,3 +1,4 @@
+#include <ble/core/auto/ble_types.h>
static const Service_UUID_t service_uuid = { .Service_UUID_128 = \
{0x02, 0x00, 0x00, 0x7a, 0x17, 0x00, 0x00, 0x80, 0x00, 0x10, 0x00, 0x00, 0x00, 0x98, 0x00, 0x00 }};