We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello
I have TCL tv (android TV) and when i try use your module - i get error. ` node androidtv.js AndroidRemote { _events: [Object: null prototype] {}, _eventsCount: 0, _maxListeners: undefined, host: '192.168.100.3', cert: { key: undefined, cert: undefined }, pairing_port: 6467, remote_port: 6466, service_name: 'Service Name', [Symbol(kCapture)]: false } Start Pairing Connect 192.168.100.3 Pairing connected 192.168.100.3 Pairing secure connected Receive : 7,8,2,16,200,1,90,0 Receive : {"protocolVersion":2,"status":"STATUS_OK","pairingRequestAck":{}} Receive : 16,8,2,16,200,1,162,1,8,18,4,8,3,16,6,24,1 Receive : {"protocolVersion":2,"status":"STATUS_OK","pairingOption":{"outputEncodings":[{"type":"ENCODING_TYPE_HEXADECIMAL","symbolLength":6}],"preferredRole":"ROLE_TYPE_INPUT"}} Receive : 8,8,2,16,200,1,250,1,0 Receive : {"protocolVersion":2,"status":"STATUS_OK","pairingConfigurationAck":{}} Code : 27247C Sending code : 27247C Receive : 42,8,2,16,200,1,202,2,34,10,32,39,7,176,213,140,50,218,19,169,117,107,145,104,201,253,128,23,229,48,225,186,231,47,115,69,76,245,211,205,53,162,96 Receive : {"protocolVersion":2,"status":"STATUS_OK","pairingSecretAck":{"secret":"Jwew1Ywy2hOpdWuRaMn9gBflMOG65y9zRUz10801omA="}} 192.168.100.3 Paired! 192.168.100.3 Pairing Connection closed false Start Remote Connect 192.168.100.3 Remote secureConnect true 192.168.100.3 Receive : {"remoteConfigure":{"code1":637,"deviceInfo":{"model":"Smart TV Pro","vendor":"TCL","unknown1":1,"unknown2":"11","packageName":"com.google.android.tv.remote.service","appVersion":"5.2.473254133"}}} Create Remote {"remoteConfigure":{"code1":622,"deviceInfo":{"model":"MacBookPro16,1","vendor":"Apple Inc.","unknown1":1,"unknown2":"1","packageName":"androitv-remote","appVersion":"1.0.0"}}} Sending {"remoteConfigure":{"code1":622,"deviceInfo":{"model":"MacBookPro16,1","vendor":"Apple Inc.","unknown1":1,"unknown2":"1","packageName":"androitv-remote","appVersion":"1.0.0"}}} 192.168.100.3 Receive : {"remoteError":{"value":true,"message":{"remoteConfigure":{"code1":622,"deviceInfo":{"model":"MacBookPro16,1","vendor":"Apple Inc.","unknown1":1,"unknown2":"1","packageName":"androitv-remote","appVersion":"1.0.0"}}}}} node:events:508 throw err; // Unhandled 'error' event ^
Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({ error: RemoteError { value: true, message: RemoteMessage { remoteConfigure: [RemoteConfigure] } } }) at new NodeError (node:internal/errors:405:5) at RemoteManager.emit (node:events:506:17) at TLSSocket. (/Users/hibiki/Documents/BitBucket/twillio_scripts/node_modules/androidtv-remote/dist/remote/RemoteManager.js:107:21) at TLSSocket.emit (node:events:517:28) at addChunk (node:internal/streams/readable:368:12) at readableAddChunk (node:internal/streams/readable:341:9) at Readable.push (node:internal/streams/readable:278:10) at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) { code: 'ERR_UNHANDLED_ERROR', context: { error: RemoteError { value: true, message: RemoteMessage { remoteConfigure: RemoteConfigure { code1: 622, deviceInfo: RemoteDeviceInfo { model: 'MacBookPro16,1', vendor: 'Apple Inc.', unknown1: 1, unknown2: '1', packageName: 'androitv-remote', appVersion: '1.0.0' } } } } } }
Node.js v18.19.0 `
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello
I have TCL tv (android TV) and when i try use your module - i get error.
`
node androidtv.js
AndroidRemote {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
host: '192.168.100.3',
cert: { key: undefined, cert: undefined },
pairing_port: 6467,
remote_port: 6466,
service_name: 'Service Name',
[Symbol(kCapture)]: false
}
Start Pairing Connect
192.168.100.3 Pairing connected
192.168.100.3 Pairing secure connected
Receive : 7,8,2,16,200,1,90,0
Receive : {"protocolVersion":2,"status":"STATUS_OK","pairingRequestAck":{}}
Receive : 16,8,2,16,200,1,162,1,8,18,4,8,3,16,6,24,1
Receive : {"protocolVersion":2,"status":"STATUS_OK","pairingOption":{"outputEncodings":[{"type":"ENCODING_TYPE_HEXADECIMAL","symbolLength":6}],"preferredRole":"ROLE_TYPE_INPUT"}}
Receive : 8,8,2,16,200,1,250,1,0
Receive : {"protocolVersion":2,"status":"STATUS_OK","pairingConfigurationAck":{}}
Code : 27247C
Sending code : 27247C
Receive : 42,8,2,16,200,1,202,2,34,10,32,39,7,176,213,140,50,218,19,169,117,107,145,104,201,253,128,23,229,48,225,186,231,47,115,69,76,245,211,205,53,162,96
Receive : {"protocolVersion":2,"status":"STATUS_OK","pairingSecretAck":{"secret":"Jwew1Ywy2hOpdWuRaMn9gBflMOG65y9zRUz10801omA="}}
192.168.100.3 Paired!
192.168.100.3 Pairing Connection closed false
Start Remote Connect
192.168.100.3 Remote secureConnect
true
192.168.100.3 Receive : {"remoteConfigure":{"code1":637,"deviceInfo":{"model":"Smart TV Pro","vendor":"TCL","unknown1":1,"unknown2":"11","packageName":"com.google.android.tv.remote.service","appVersion":"5.2.473254133"}}}
Create Remote {"remoteConfigure":{"code1":622,"deviceInfo":{"model":"MacBookPro16,1","vendor":"Apple Inc.","unknown1":1,"unknown2":"1","packageName":"androitv-remote","appVersion":"1.0.0"}}}
Sending {"remoteConfigure":{"code1":622,"deviceInfo":{"model":"MacBookPro16,1","vendor":"Apple Inc.","unknown1":1,"unknown2":"1","packageName":"androitv-remote","appVersion":"1.0.0"}}}
192.168.100.3 Receive : {"remoteError":{"value":true,"message":{"remoteConfigure":{"code1":622,"deviceInfo":{"model":"MacBookPro16,1","vendor":"Apple Inc.","unknown1":1,"unknown2":"1","packageName":"androitv-remote","appVersion":"1.0.0"}}}}}
node:events:508
throw err; // Unhandled 'error' event
^
Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({
error: RemoteError {
value: true,
message: RemoteMessage { remoteConfigure: [RemoteConfigure] }
}
})
at new NodeError (node:internal/errors:405:5)
at RemoteManager.emit (node:events:506:17)
at TLSSocket. (/Users/hibiki/Documents/BitBucket/twillio_scripts/node_modules/androidtv-remote/dist/remote/RemoteManager.js:107:21)
at TLSSocket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) {
code: 'ERR_UNHANDLED_ERROR',
context: {
error: RemoteError {
value: true,
message: RemoteMessage {
remoteConfigure: RemoteConfigure {
code1: 622,
deviceInfo: RemoteDeviceInfo {
model: 'MacBookPro16,1',
vendor: 'Apple Inc.',
unknown1: 1,
unknown2: '1',
packageName: 'androitv-remote',
appVersion: '1.0.0'
}
}
}
}
}
}
Node.js v18.19.0
`
The text was updated successfully, but these errors were encountered: