|
71 | 71 | PRODUCT_ID = 0x8001 # 0x8001 = 32769 = Test product id
|
72 | 72 | DEVICE_TYPE_CASTING_VIDEO_PLAYER = 0x23 # 0x23 = 35 = Device type library 10.3: Casting Video Player
|
73 | 73 |
|
74 |
| -# 0x457 = 1111 = Target Content Application Vendor ID for the commissioner generated passcode flow |
75 |
| -COMMISSIONER_GENERATED_PASSCODE_VENDOR_ID = 0x457 |
76 | 74 | COMMISSIONER_GENERATED_PASSCODE = '0x00BC_614E' # 0x00BC_614E = 12345678 = Default commissioner generated passcode
|
77 | 75 |
|
78 | 76 | # Value to verify the subscription state against in the Linux tv-casting-app output.
|
|
185 | 183 | # mCommissionerPasscode: true -> This flag instructs the commissioner to use the commissioner-generated-passcode flow for commissioning.
|
186 | 184 | # mCommissionerPasscodeReady: false -> This flag indicates that the commissionee has not obtained the commissioner passcode from the user and
|
187 | 185 | # 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. |
190 | 188 | 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}']), |
192 | 190 |
|
193 | 191 | # Validate that we received the cast request from the tv-casting-app on the tv-app output.
|
194 | 192 | Step(app=App.TV_APP,
|
|
227 | 225 | # mCommissionerPasscode: true -> This flag instructs the commissioner to use the commissioner-generated-passcode flow for commissioning.
|
228 | 226 | # mCommissionerPasscodeReady: true -> This flag indicates that the commissionee has obtained the commissioner passcode from the user and
|
229 | 227 | # 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. |
232 | 230 | 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}']), |
234 | 232 |
|
235 | 233 | # Validate that pairing succeeded between the tv-casting-app and the tv-app.
|
236 | 234 | Step(app=App.TV_APP, output_msg=['Secure Pairing Success']),
|
|
0 commit comments