Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (pyatv) parallels@ubuntu:~/pyatv$ atvremote --address 192.168.0.125 --port 49154 --debug --protocol mrp pair
- DEBUG: Connected to device
- DEBUG: >> Send (Data=080f122439323339666638382d623166352d346366302d616134332d3036383264653261633235662000a2015a0a2438386533636461322d353130312d343232352d386532332d343663393733346664396137120570796174761a066950686f6e65220531344736302a12636f6d2e6170706c652e545652656d6f746532063237332e31323801)
- DEBUG: >> Send: Protobuf=type: DEVICE_INFO_MESSAGE
- identifier: "9239ff88-b1f5-4cf0-aa43-0682de2ac25f"
- priority: 0
- [deviceInfoMessage] {
- uniqueIdentifier: "88e3cda2-5101-4225-8e23-46c9734fd9a7"
- name: "pyatv"
- localizedModelName: "iPhone"
- systemBuildVersion: "14G60"
- applicationBundleIdentifier: "com.apple.TVRemote"
- applicationBundleVersion: "273.12"
- protocolVersion: 1
- }
- DEBUG: << Receive (Data=e802080f122439323339666638382d623166352d346366302d616134332d3036383264653261633235662000a201ba020a2438333739363234382d343446382d343831392d423836392d39353441313542373032373512084170706c652054561a094170706c65c2a05456220831374a35353430642a16636f6d2e6170706c652e6d6564696172656d6f7465643801404b480150016211636f6d2e6170706c652e54564d757369636801700178018801029a012434353933373830362d444443332d344144332d424230432d373541423741384634314637a2011134303a63623a63303a62623a32363a6534a80104b00101c00100d2012435323438433142312d314339382d343944302d384346332d424337393439323034334543e80101f00100fa0112636f6d2e6170706c652e706f64636173747382022435323438433142312d314339382d343944302d384346332d4243373934393230343345438xxxxxxxxxxxxxxxxxxx)
- DEBUG: << Receive: Protobuf=type: DEVICE_INFO_MESSAGE
- identifier: "9239ff88-b1f5-4cf0-aa43-xxxxxxxxxx"
- priority: 0
- [deviceInfoMessage] {
- uniqueIdentifier: "83796248-44F8-4819-B869-xxxxxxxxxxx"
- name: "Apple TV"
- localizedModelName: "Apple\302\240TV"
- systemBuildVersion: "17J5540d"
- applicationBundleIdentifier: "com.apple.mediaremoted"
- protocolVersion: 1
- }
- DEBUG: >> Send (Data=08242000)
- DEBUG: >> Send: Protobuf=type: SET_READY_STATE_MESSAGE
- priority: 0
- DEBUG: >> Send (Data=08102000aa01080801100118012001)
- DEBUG: >> Send: Protobuf=type: CLIENT_UPDATES_CONFIG_MESSAGE
- priority: 0
- [clientUpdatesConfigMessage] {
- artworkUpdates: true
- nowPlayingUpdates: true
- volumeUpdates: true
- keyboardUpdates: true
- }
- DEBUG: >> Send (Data=08292000)
- DEBUG: >> Send: Protobuf=type: WAKE_DEVICE_MESSAGE
- priority: 0
- DEBUG: >> Send (Data=08222000ba020a0a060001000601011000)
- DEBUG: >> Send: Protobuf=type: CRYPTO_PAIRING_MESSAGE
- priority: 0
- [cryptoPairingMessage] {
- pairingData: "\000\001\000\006\001\001"
- status: 0
- }
- DEBUG: << Receive (Data=1808222000ba021110b1cbffffffffffffff01180020002800)
- DEBUG: << Receive: Protobuf=type: CRYPTO_PAIRING_MESSAGE
- priority: 0
- [cryptoPairingMessage] {
- status: -6735
- }
- Traceback (most recent call last):
- File "/home/parallels/pyatv/pyatv/__main__.py", line 482, in _run_application
- return await cli_handler(loop)
- File "/home/parallels/pyatv/pyatv/__main__.py", line 315, in cli_handler
- return await _handle_commands(args, loop)
- File "/home/parallels/pyatv/pyatv/__main__.py", line 397, in _handle_commands
- ret = await _handle_device_command(args, cmd, atv, loop)
- File "/home/parallels/pyatv/pyatv/__main__.py", line 418, in _handle_device_command
- DeviceCommands(atv, loop, args), cmd, False, *cmd_args))
- File "/home/parallels/pyatv/pyatv/__main__.py", line 448, in _exec_command
- value = await tmp(*args)
- File "/home/parallels/pyatv/pyatv/__main__.py", line 166, in pair
- await self.atv.pairing.start()
- File "/home/parallels/pyatv/pyatv/mrp/__init__.py", line 301, in start
- await self.pairing_procedure.start_pairing()
- File "/home/parallels/pyatv/pyatv/mrp/pairing.py", line 44, in start_pairing
- self._atv_salt = pairing_data[tlv8.TLV_SALT]
- KeyError: '2'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement