Skip to content

Commit 3e187d5

Browse files
Fixing tv-casting-app CI test
1 parent 5776a4c commit 3e187d5

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

scripts/tests/linux/tv_casting_test_sequences.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@
7171
PRODUCT_ID = 0x8001 # 0x8001 = 32769 = Test product id
7272
DEVICE_TYPE_CASTING_VIDEO_PLAYER = 0x23 # 0x23 = 35 = Device type library 10.3: Casting Video Player
7373

74-
# 0x457 = 1111 = Target Content Application Vendor ID for the commissioner generated passcode flow
75-
COMMISSIONER_GENERATED_PASSCODE_VENDOR_ID = 0x457
7674
COMMISSIONER_GENERATED_PASSCODE = '0x00BC_614E' # 0x00BC_614E = 12345678 = Default commissioner generated passcode
7775

7876
# Value to verify the subscription state against in the Linux tv-casting-app output.
@@ -185,10 +183,10 @@
185183
# mCommissionerPasscode: true -> This flag instructs the commissioner to use the commissioner-generated-passcode flow for commissioning.
186184
# mCommissionerPasscodeReady: false -> This flag indicates that the commissionee has not obtained the commissioner passcode from the user and
187185
# thus is not ready for commissioning.
188-
# Vendor ID: {COMMISSIONER_GENERATED_PASSCODE_VENDOR_ID} -> The initial VENDOR_ID of the casting player will be overridden to {COMMISSIONER_GENERATED_PASSCODE_VENDOR_ID}.
189-
# Otherwise we will enter the commissionee-generated-passcode flow.
186+
# Vendor ID: {VENDOR_ID} -> The target VENDOR_ID of the casting player is the same for both commissionee-generated-passcode and
187+
# commissioner-generated-passcode flows.
190188
Step(app=App.TV_CASTING_APP, output_msg=['IdentificationDeclarationOptions::LogDetail()', 'IdentificationDeclarationOptions::mCommissionerPasscode: true',
191-
'IdentificationDeclarationOptions::mCommissionerPasscodeReady: false', 'IdentificationDeclarationOptions::TargetAppInfos list:', f'TargetAppInfo 1, Vendor ID: {COMMISSIONER_GENERATED_PASSCODE_VENDOR_ID}']),
189+
'IdentificationDeclarationOptions::mCommissionerPasscodeReady: false', 'IdentificationDeclarationOptions::TargetAppInfos list:', f'TargetAppInfo 1, Vendor ID: {VENDOR_ID}']),
192190

193191
# Validate that we received the cast request from the tv-casting-app on the tv-app output.
194192
Step(app=App.TV_APP,
@@ -227,10 +225,10 @@
227225
# mCommissionerPasscode: true -> This flag instructs the commissioner to use the commissioner-generated-passcode flow for commissioning.
228226
# mCommissionerPasscodeReady: true -> This flag indicates that the commissionee has obtained the commissioner passcode from the user and
229227
# thus is ready for commissioning.
230-
# Vendor ID: {COMMISSIONER_GENERATED_PASSCODE_VENDOR_ID} -> The initial VENDOR_ID of the casting player will be overridden to {COMMISSIONER_GENERATED_PASSCODE_VENDOR_ID}.
231-
# Otherwise we will enter the commissionee-generated-passcode flow.
228+
# Vendor ID: {VENDOR_ID} -> The target VENDOR_ID of the casting player is the same for both commissionee-generated-passcode and
229+
# commissioner-generated-passcode flows.
232230
Step(app=App.TV_CASTING_APP, output_msg=['IdentificationDeclarationOptions::LogDetail()', 'IdentificationDeclarationOptions::mCommissionerPasscode: true',
233-
'IdentificationDeclarationOptions::mCommissionerPasscodeReady: true', 'IdentificationDeclarationOptions::TargetAppInfos list:', f'TargetAppInfo 1, Vendor ID: {COMMISSIONER_GENERATED_PASSCODE_VENDOR_ID}']),
231+
'IdentificationDeclarationOptions::mCommissionerPasscodeReady: true', 'IdentificationDeclarationOptions::TargetAppInfos list:', f'TargetAppInfo 1, Vendor ID: {VENDOR_ID}']),
234232

235233
# Validate that pairing succeeded between the tv-casting-app and the tv-app.
236234
Step(app=App.TV_APP, output_msg=['Secure Pairing Success']),

0 commit comments

Comments
 (0)