Use the different key file with kernel for certification 07/277207/1
authorDohyun Pyun <dh79.pyun@samsung.com>
Mon, 4 Jul 2022 00:06:24 +0000 (09:06 +0900)
committerDohyun Pyun <dh79.pyun@samsung.com>
Mon, 4 Jul 2022 00:06:24 +0000 (09:06 +0900)
Change-Id: I0ad8a2b7013a4b3776c019f2dabea0c5b229c428
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
profile.h
src/adapter.c

index 8209fd5..fbdfd05 100755 (executable)
--- a/profile.h
+++ b/profile.h
 #define TYPE_FIELD "string"
 #define FEATURE_TAG "platform"
 #define MODEL_CONFIG_TAG "model-config"
-#define CERTI_STACK_FILE "/var/lib/bluetooth/stack_test"
+#define CERTI_STACK_FILE "/var/lib/bluetooth/bluez_stack_test"
 #define CERTI_PROFILE_FILE "/var/lib/bluetooth/profile_test"
 
-
 typedef enum {
        TIZEN_PROFILE_UNKNOWN = 0,
        TIZEN_PROFILE_MOBILE = 0x1,
index aa84156..919d7d2 100644 (file)
@@ -15564,7 +15564,7 @@ static void read_info_complete(uint8_t status, uint16_t length,
        if (missing_settings & MGMT_SETTING_SECURE_CONN)
                set_mode(adapter, MGMT_OP_SET_SECURE_CONN, 0x01);
 #else
-       if (TIZEN_FEATURE_ROBOT_REFERENCE) {
+       if (TIZEN_FEATURE_ROBOT_REFERENCE && !TIZEN_FEATURE_BLUEZ_STACK_CERTIFICATION) {
                DBG("Do not set secure conn setting in robot");
        } else {
                if (missing_settings & MGMT_SETTING_SECURE_CONN)