Skip to content

Commit 21f5d71

Browse files
Update Apex BLE identifiers
1 parent f24a8ed commit 21f5d71

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

lib_blewbxx/src/ble_ledger_profile_apdu.c

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,9 @@ const uint8_t charUuidRX2[BLE_UUID_SIZE] = {0x72,0x65,0x67,0x64,0x65,0x4c,0x03,
110110
#else // !TARGET_FLEX && !TARGET_STAX
111111

112112
#ifdef TARGET_APEX
113-
const uint8_t service_uuid[16] = {0x72,0x65,0x67,0x64,0x65,0x4c,0x00,0x00,0x04,0x60,0x97,0x2C,0x00,0x34,0xD6,0x13,};
114-
const uint8_t charUuidTX[16] = {0x72,0x65,0x67,0x64,0x65,0x4c,0x01,0x00,0x04,0x60,0x97,0x2C,0x00,0x34,0xD6,0x13,};
115-
const uint8_t charUuidRX[16] = {0x72,0x65,0x67,0x64,0x65,0x4c,0x02,0x00,0x04,0x60,0x97,0x2C,0x00,0x34,0xD6,0x13,};
116-
const uint8_t charUuidRX2[16] = {0x72,0x65,0x67,0x64,0x65,0x4c,0x03,0x00,0x04,0x60,0x97,0x2C,0x00,0x34,0xD6,0x13,};
113+
const uint8_t charUuidTX[16] = {0x72,0x65,0x67,0x64,0x65,0x4c,0x01,0x00,0x04,0x80,0x97,0x2C,0x00,0x34,0xD6,0x13};
114+
const uint8_t charUuidRX[16] = {0x72,0x65,0x67,0x64,0x65,0x4c,0x02,0x00,0x04,0x80,0x97,0x2C,0x00,0x34,0xD6,0x13};
115+
const uint8_t charUuidRX2[16] = {0x72,0x65,0x67,0x64,0x65,0x4c,0x03,0x00,0x04,0x80,0x97,0x2C,0x00,0x34,0xD6,0x13};
117116
#else // !TARGET_FLEX && !TARGET_STAX && !TARGET_APEX
118117

119118
const uint8_t charUuidTX[BLE_UUID_SIZE] = {0x72,0x65,0x67,0x64,0x65,0x4c,0x01,0x00,0x04,0x00,0x97,0x2c,0x00,0x34,0xd6,0x13};
@@ -141,7 +140,11 @@ const ble_profile_info_t BLE_LEDGER_PROFILE_apdu_info = {
141140
.value = {0x72,0x65,0x67,0x64,0x65,0x4c,0x00,0x00,0x04,0x60,0x97,0x2c,0x00,0x34,0xd6,0x13}},
142141
#else // !TARGET_FLEX && !TARGET_STAX
143142

143+
#ifdef TARGET_APEX
144+
.value = {0x72,0x65,0x67,0x64,0x65,0x4c,0x00,0x00,0x04,0x80,0x97,0x2C,0x00,0x34,0xD6,0x13}};
145+
#else // !TARGET_FLEX && !TARGET_STAX && !TARGET_APEX
144146
.value = {0x72,0x65,0x67,0x64,0x65,0x4c,0x00,0x00,0x04,0x00,0x97,0x2c,0x00,0x34,0xd6,0x13}},
147+
#endif // ! TARGET_APEX
145148
#endif // ! TARGET_STAX
146149
#endif // ! TARGET_FLEX
147150
// clang-format on

0 commit comments

Comments
 (0)