Driver Details

New Community

Google TV Native Remote

By: Pascal Wuthrich
Updated: Nov. 1, 2026
Download Driver
Rating: 0.0 (0 ratings)
Log in to rate this driver

Google TV Direct for RTI — BETA v0.69

Control a compatible Google TV or Android TV directly over your local network using Android TV Remote Service v2 and Google Cast. This beta is free: no driver licence or activation is required. It needs no ADB, additional TV app or external helper service.

Compatibility and beta status

The confirmed test setup is a Sony Google TV reporting BRAVIA 4K VH21, an RTI ICP4 with firmware 26.9.24, and Integration Designer 12.

 

Other brands, models and processor combinations remain unverified. I hope for feedbacks from you.

 

The working functional baseline was confirmed in an earlier development build. Native import/update and operation of the newly numbered 0.69 package still require installer confirmation. Please test every function needed for your installation.

Before you start

•  Use a stable TV IP address or hostname, preferably with a DHCP reservation. Keep the TV awake during pairing.

•  Allow the processor to reach the TV's local services: TCP 6466/6467 for control/pairing and TCP 8009 for Cast. Direct volume-percent control and Cast feedback require a compatible Cast receiver.

•  For app icons, allow the panel to reach the processor's icon HTTP port, default TCP 23666. Each driver instance serving icons needs its own free port.

Installation and configuration

1.  Import driver.

2.  Set TV IP address or hostname to the intended TV. Developer mode and debugging are not required.

3.  Configure your app shortcuts. Use standard app checkboxes is off by default, preserving the existing App shortcuts field. Enable it to select YouTube, Netflix, Plex, Prime Video, Disney+, Twitch, CANAL+, Zattoo and RTL+ individually; the first three checkboxes are initially selected. Add custom entries under Additional app shortcuts as Label|URI[|Package], separated by semicolons. Checkbox mode uses those selections and additions; it does not merge the old App shortcuts field.

4.  Configure sources. The built-in input profile applies only to the exact reported Sony / BRAVIA 4K VH21 match. Other models need their actual TV-input IDs or registered links under Configured input targets. A physical HDMI number alone is not an input ID. Optional Wake on LAN and the per-instance icon port are available in their configuration groups.

     Use the Source List as an alternative.

5.  Assign the interface lists using the same driver instance for both list and command:

•  Apps: bind Lists > Apps (Google TV shortcuts) (AppList%) to Select item from list (apps).

•  Sources: bind Lists > Sources (Google TV) (SourceList%) to Select item from list (sources).

Pass the list's dynamic selected-item value and keep the automatically supplied calling-interface parameter. Do not use another driver's list with these commands.

6.  Save the project, fully close and reopen Integration Designer, then download the project to the processor. Restarting ID12 refreshes the variable/list selection tree after an update.

Pairing

1.  Keep the TV awake and invoke Start TV pairing.

2.  Read the six-character hexadecimal code displayed on the TV. Submit it with Submit complete pairing code, or use Enter pairing digit followed by Submit pairing digits within 60 seconds. Delete last pairing digit corrects an entry. Start again if the attempt expires.

3.  Wait for pairing completion and Online=true, then test navigation and volume. Remove any temporary macro containing the pairing code. The processor stores the pairing identity per driver instance; an already paired instance normally reconnects automatically.

Controls and feedback

Navigation, Home/Back, channel/media keys, power, relative volume and mute depend on the device and active app. Wake from standby depends on the TV's network settings; an external display's HDMI-CEC behavior is equipment-dependent.

Direct volume percentage: use Set volume percent. It sends a direct Cast master-volume request when CastCanSetVolume is true; it does not silently substitute repeated volume keys. Display confirmed CastVolumePercent or CastVolumeText only with CastVolumeKnown. Cast and Remote Service volume/mute are separate sources and may differ.

Apps and inputs: the lists contain configured shortcuts, not a discovered inventory of installed apps or HDMI ports. App checkboxes do not install or detect apps. Nine app icons are bundled and served locally by the processor; unknown custom apps remain text entries. Launch links can vary by app, region and device. The native input-menu command is unconfirmed on the test TV; use the configured Sources list. A sent input link does not establish the selected HDMI input, and general current-HDMI feedback is unavailable.

Cast media: title, artist, state, position, duration and progress are available only when an already running app exposes a compatible Cast media session. Use CastMediaKnown, CastMediaAvailable and the corresponding position/duration/progress Known flags. Position is the last reported value; live streams may have no duration or percentage. Artwork is a reported URL, not a downloaded image. The driver does not launch an app or load content to obtain feedback.

Text entry: deliberately open the intended TV field, wait for ImeAvailable=true, then use Send text to active TV field. Wait until ImeAvailable becomes true again before sending more text. The driver sends no Enter/Submit and does not automatically repeat text. A sent status does not prove the app accepted it; field behavior varies and password fields cannot be reliably identified.

Use each feedback value's Known/Available flag before displaying it as current. Connection readiness or a successful send alone does not confirm execution. Reported current-app information is not guaranteed foreground-app detection.

Please send beta feedback

Tell us what works and what does not work at info@link-db.ch, especially on other brands and models. Include the TV brand/exact model/firmware, RTI processor/firmware, Integration Designer and driver versions, functions tested, expected versus actual behavior, and steps to reproduce a failure. For app/input/media issues, name the app or input and state whether the TV was awake, on standby or reconnecting.

Relevant status/error messages are useful. Do not send pairing codes, private keys or other credentials.

Google TV Native Remote 0.69 BETA

0.69 BETA is a test release. Tested setup: Sony Google TV reporting BRAVIA 4K VH21, RTI ICP4 and Integration Designer 12. Please send feedback on what works and what fails to info@link-db.ch.

Version 0.69 is numerically lower than earlier local 1.xx builds. Back up the ID12 project and retain the previous package before import; the user must verify native import/update and rollback behavior. The existing GUID and Main source identity are retained.

1.19 simplified configuration: normal settings retain the TV address and app selection. Optional manual HDMI targets, Wake-on-LAN and per-instance icon port are in collapsed groups. The WOL broadcast address appears only after entering a MAC address. All technical transport ports, TLS profile, reconnect/feedback switches, input-profile/legacy options, old Sony extension settings and internal icon/media switches are removed from the normal property view. Debug logging is available only through RTI's diagnostic category. No extra Advanced toggle is added.

All existing 37 setting keys, types, defaults and positions remain in the package so stored project values continue to work. This is a presentation change, not a reset of configuration. All 68 feedback variables, 28 functions and existing pairing/control/media/IME behavior are retained. Save and fully restart ID12 after updating. The user checks the native property view and deploys the project.

1.18 Cast media: Enable Cast media feedback is on by default, using the existing authenticated Cast connection. It observes only a running receiver app with the media namespace; it does not LAUNCH an app or LOAD content. Cast media feedback includes title, subtitle, artist, album, state, session ID, stream type, confirmed position/duration, time text, progress and command bits. Qualify values with CastMediaKnown, CastMediaAvailable and the respective position/duration/progress Known flags. Native Android apps without an exposed Cast media session remain unavailable. Poll interval is 10 seconds, request timeout 4 seconds. Position is not estimated; LIVE has no invented VOD progress.

CastMediaArtworkURL is a reported string, not an automatically fetched image or an installed-app icon. It may reference Internet artwork. Same-session partial updates preserve metadata; session changes clear stale fields and require fresh synchronization. Media errors are isolated from receiver volume. Reused transport and media IDs can leave spontaneous old-session messages inherently ambiguous.

1.18 IME: open the intended TV text field and wait for ImeAvailable before Send text to active TV field (GTV_SendText, tag GoogleTVSendText:#PARAMETER1). The command sends one UTF-8 batch of 1-1024 UTF-16 code units with current TV counters. It does not press Enter/Submit or retry text. After sending, new counters are required. Editor/focus changes, standby and reconnect invalidate old counters. ImeStatus describes transmission only, not accepted text; ImeLastError never includes entered text. No password-field detection is promised. Select the active field deliberately; editor, Unicode/cursor and replace/append behavior require hardware testing.

No additional TV app, helper, ADB or cloud-control proxy is required. After updating, save the project and fully restart ID12. Existing metadata positions, pairing, app list/icons, inputs and volume remain compatible. The user performs ID12 deployment and all hardware tests.

1.17 standard apps: enable Use standard app checkboxes under Standard app shortcuts. Choose YouTube, Netflix, Plex, Prime Video, Disney+, Twitch, CANAL+, Zattoo and RTL+ individually. The first three are selected by default. Additional app shortcuts appends custom Label|URI[|Package] rows. All off with no additions publishes an empty list. The mode is initially off to preserve existing Apps values; enabling it uses the checkboxes and additions instead of the old field. Installation is not discovered. Launches remain direct Google TV Remote v2 URI links.

1.17 icons: Google TV Remote v2 does not supply these app icons. Matching PNGs from the apps' official Google Play listings are included in the driver; artwork and trademarks belong to their owners and identify the corresponding apps. Show app icons is enabled by default. Capable interfaces receive images through the processor's local HTTP service, default Icon HTTP port 23666. Each driver instance needs a separate free port reachable by the panel. No Internet image service, ADB or companion app is needed. Unsupported interfaces and unknown custom apps keep text rows. App icon status / AppIconStatus (GoogleTVAppIconStatus) reports availability separately from TV control.

Image lists require RTI runtime 25; 1.17 sets this package minimum. Static analysis of the ICP 26.9.24 firmware artifact confirms System.Version 50 and TCPServer.Close. Native panel display remains for user testing. After updating, save the project, fully quit ID12 and reopen it to rebuild the previously stale variable picker. The user performs ID12 updates, processor download and hardware tests.

1.16 list binding: the Lists feedback category is now global, without an APEX source filter. AppList% and SourceList% retain their names, list types, tags, order and per-interface publication. Choose Lists > Apps (Google TV shortcuts) for the List property and Select item from list (apps) for its command, both from this driver. This removes the source-context restriction from manual binding. The user checks the previously empty ID12 picker after updating; no ID12 import or hardware acceptance is claimed by host/package checks.

1.16 HDMI: configured HDMI1Target-HDMI4Target remain first priority. Automatic input profile uses only an exact reported manufacturer/model match. The sole measured profile is Sony / BRAVIA 4K VH21, with physical HDMI 1-4 mapped to the independently observed ExternalTvInputService HW2-HW5 IDs. This uses the same generic Remote-v2 TvContract app-link transport, without Sony HTTP, ADB or licensing. Other models need actual input IDs or registered URIs. Input profile = Manual input IDs or URIs disables automatic mapping. Input configuration is visible without debug options.

Empty targets no longer silently send rejected input keys. LegacyInputKeys must be explicitly enabled to retain device-dependent keys 178/243-246. Missing targets report a setup error. Select input by ID or URI accepts a target directly in its macro argument; GoogleTVInputTarget:#PARAMETER1 is its string-parameter tag. An unconfigured native input chooser is unavailable on the tested TV through Remote v2; use this driver's SourceList% with Select item from list (sources) on the RTI panel. A sent link is never confirmed CurrentSource feedback. Existing volume percent/text, pairing and app/receiver feedback remain unchanged. The user performs update, processor download and hardware tests.

Earlier release notes follow; the 1.16 rules above supersede earlier statements about empty-target key fallback and Lists source scope.

1.15 apps and receiver feedback: app shortcuts now accept Label|URI|Package in addition to the existing Label|URI form, separated by semicolons or newlines. The optional package maps the TV-reported package to a configured display name and lets Launch package find its verified URI. Actual launches remain URI-only: on the tested Remote Service 7.00, supplying a target package can silently fail its package-visibility check. An unconfigured package now reports that its launch URI is missing; no unregistered market://launch URI is sent. A matching registered URI and app installation are required. Android may show its resolver when multiple apps accept the same link; only observed working routes belong in the imported list.

1.15 reported app identity: Remote AppInfo field 10 is an editor hint and field 11 an editor label. Neither is a verified application name. The driver does not decode them as AppLabel. CurrentApp is the package reported by the remote editor context, not a guaranteed foreground-app inventory. AppLabel uses the configured Package-to-Label mapping, otherwise the package. Standby app events cannot repopulate a cleared app value. No app state is inferred from a command send.

1.15 optional Cast receiver feedback: CastStandbyKnown qualifies CastStandby; CastActiveInputKnown qualifies CastActiveInput. Active input means the Cast receiver's reported active-input flag, not an HDMI port number. CastApplicationKnown qualifies CastHasApplication, CastApplicationId, CastApplicationName and CastApplicationStatus for the first reported Cast receiver application. An explicit empty applications array means known no application; missing/invalid fields and disconnect clear these optional states. These are separate from Remote CurrentApp, TV Power and CurrentSource. No extra polling or media session is added; authenticated receiver status already supplies these fields when supported. No general playback title, artwork or position feedback is claimed.

Commissioning research 2026-10-31: ADB enumerated 38 actual TV launcher packages and independently observed direct Remote-v2 input/app tests. The separate workstation tools and per-device import files are not bundled into this driver. This does not add automatic installed-app discovery to Remote v2. The native ID12 list-variable picker was still empty in the earlier project; package/host validation does not establish that this independent editor/import issue is fixed. GUID, Main, function positions and the first 35 variable positions are preserved. The driver remains free, without activation, ADB or an external bridge.

1.14 list-source correction: ID12 showed app-list feedback from Installed Apps List of Android TV ADB Network Driver but a selection command from Google TV Native Remote. Row 14/view 2/top 6 therefore reached this driver's three configured shortcuts. The invalid selection remains rejected; no index offset or remapping is applied. The user corrects the project mapping, not the package build. Pair this driver's Apps (Google TV shortcuts), AppList%, with Select item from list (apps), using the dynamic zero-based Selected item from that same list. Sources (Google TV), SourceList%, pairs with Select item from list (sources). The hidden Calling interface remains automatic. Labels and parameter help clarify this relationship without changing exports, order, tags or source Main. The general Google TV app list remains configured shortcuts, not an ADB or universal installed-app inventory.

1.14 list rebuild position: for every nonempty app/source view, call SetIndexes(0,0) after Insert and before Close. On matching ICP26.9.24, RemoveAll clears rows without resetting selection/window top; SetIndexes supplies the position update. Thus an old position such as selected14/top6 cannot be retained on a newly rebuilt three-row list. Empty lists receive no invented first selection. Subsequent valid selection clears only a preceding selection error, not unrelated diagnostics. This changes list position only; it sends no app or TV command. User hardware acceptance remains open.

Version 1.13 adds CastVolumeText (string, custom tag GoogleTVCastVolumeText) for a confirmed volume text field, such as 25 %. The user confirmed direct Cast-percent control with 1.12. Text is formatted only from confirmed CastVolumePercent while CastVolumeKnown is true; a requested target is never substituted. Unknown/offline Cast volume produces empty text, while a confirmed zero is 0 %. Existing integer feedback and separate Remote-v2 volume remain unchanged. The new variable is appended after existing feedback.

1.13 app/input diagnosis: the actual ICP reported three configured app shortcuts and Invalid list selection after a direct row tap. Invalid selection now reports only bounded numeric row/view/top/count context; free text is not logged. No guessed index offset or argument swap is applied. The exact panel argument and native list behavior still need the user test. App URI fields are trimmed, UTF8/byte limits are checked safely, and native write errors remain redacted. Accepted sends do not confirm app launch. Inputs still require actual supported targets or device-supported keys; no universal HDMI or input-chooser fix is claimed.

Direct Cast volume and configured input targets: Set volume percent (GTV_SetVolumePercent, standard Volume function tag) now sends one Cast receiver SET_VOLUME message, converting integer percent 0-100 to level 0-1. The authenticated receiver must explicitly report master control; CastCanSetVolume qualifies availability. There is no automatic volume-key fallback. No Cast app or media session is launched. The prior key-step adjustment is retained only as the appended Set volume percent using keys (GTV_SetVolumePercentSteps, GoogleTVVolumeSteps). Reconnect Cast (GTV_ReconnectCast, GoogleTVReconnectCast) is appended separately. Existing 24 function positions and source Main remain unchanged. The user performs hardware acceptance.

Cast uses a separate direct connection: EnableCast defaults true, empty CastHost reuses Host, and CastPort defaults to 8009. Background traffic is receiver status and heartbeat; volume changes require a user command. CastOnline, CastVolumeKnown, CastVolumePercent, CastMute, CastControlType, CastCanSetVolume, CastStatus and CastLastError are separate feedback. The standard integer Volume tag now uses CastVolumePercent, matching the direct Cast Volume function. Qualify that slider with CastVolumeKnown and CastCanSetVolume. Existing Remote-v2 VolumePercent remains a separate variable under GoogleTVRemoteVolumePercent, qualified by VolumeKnown. Cast and Remote values may differ; neither domain is copied into the other or assumed to be physical TV volume. Sending a target never publishes it as confirmed feedback.

Cast DeviceAuth verifies a fresh challenge nonce, signature binding to the probed TLS leaf certificate, and the device certificate chain against the public Google Cast/Eureka roots. Native TLS trust is bound to that fresh leaf; certificate checking is not disabled. Short-lived Cast leaf certificates can rotate. No online CRL or certificate-revocation check is implemented, so full Chromium verification parity is not claimed. A failed or unsupported receiver leaves direct volume unavailable.

HDMI1Target through HDMI4Target and InputMenuTarget accept an actual TV-input ID or a URI registered on the TV. A configured target takes priority and uses the native remote app-link path; a real TV-input ID is encoded using Android TvContract passthrough rules. No manufacturer input ID is guessed, no intent serialization is generated, and no universal input discovery is claimed. Empty targets use an exact verified-model profile where available. Otherwise actual targets are required; legacy keys 178/243-246 are an explicit LegacyInputKeys option only. SourceListOrigin identifies list provenance. A successful send is not confirmation of an active input, and SourceKnown/CurrentSource are never inferred from the request. This remains a free multi-brand driver without ADB, an external bridge or activation licensing.

Volume-percent control and input diagnostics: the user confirmed on/off with 1.10 but input remains ineffective. Read-only ICP state on 2026-10-29 at 10:44:01 UTC showed Paired, Online=true, known Power=true, known Volume=2/100, Mute=false, SourceKnown=false and no LastError. The bounded event feed retained power and HDMI calls but no input-menu call; its dropped rows prevent concluding that input menu was never called. The user performs the 1.11 hardware test.

Set volume percent (GTV_SetVolumePercent) accepts an integer 0-100, step 1, default 20. Its standard APEX function tag Volume pairs with the existing integer feedback tag Volume on VolumePercent; use VolumeKnown with the displayed feedback. This is feedback-guided relative control, not an invented native absolute-volume command. With confirmed on/volume state and native maximum 1-1000, the target is rounded from maximum times percent divided by 100. One Volume up/down key is sent at a time; each further key waits for real TV volume feedback and at least 150 ms between confirmed steps. New slider targets replace the old target without a key burst. Coarse scales round the reachable percentage: maximum 15, target 50 percent gives raw 8 and confirmed 53 percent.

A missing step acknowledgement stops after two seconds without retry. Total limits are 60 seconds and 1000 keys. Manual volume, mute or power, standby, disconnect, a changed scale, opposite movement, overshoot, write failure or timer failure aborts the adjustment. An aborted target is not replayed later. Only TV feedback changes the reported volume.

Input-menu key 178 and HDMI keys 243-246 remain device-dependent. After accepted writes, Status reports Input menu key sent; source feedback unavailable or HDMI N key sent; source feedback unavailable. Neither message confirms a changed input; no SourceKnown or CurrentSource value is inferred from sending. The input-menu hardware response remains to be checked; 1.11 does not claim an HDMI fix.

Power compatibility update: the user confirmed navigation, Home, Back and relative volume with 1.9. Read-only ICP diagnostics showed Paired, Online=true, PowerKnown=true, Power=true and known volume 22/100; processor events confirmed Power off and HDMI input calls reached the driver. Version 1.10 uses KEYCODE_POWER (26) for on/off only when the confirmed state differs from the requested state, instead of relying on separate wake/sleep keys. A matching state needs no command; unknown power cannot trigger a blind on/off toggle. A pending power command blocks another power command for at most five seconds while waiting for TV feedback, without automatic retry. A send does not change the reported Power value; PowerKnown remains false until a matching TV power report resolves the pending operation. An explicit Power toggle remains available for an unknown state, with the same pending lock and no retry. Offline Wake-on-LAN support is retained. This general protocol change still needs the user's native TV test.

HDMI remains an open hardware check: the existing HDMI 1-4 keys (243-246) are correctly encoded, but their execution depends on the TV. Open input menu (178) has not yet been tested by the user. No successful HDMI fix or confirmed input feedback is claimed. No guessed TV input URI or navigation macro is used.

Remote-session activation correction: the user confirmed pairing with 1.8; subsequent read-only ICP diagnostics showed Paired, Online=false, Negotiating Google TV remote session and Google TV heartbeat timeout. A reproduced host bug intersected the negotiated feature mask again with the incoming RemoteSetActive.active value. An empty/default-zero activation message consequently changed an already negotiated mask of 615 to 0 and replied with Active(0). Version 1.9 answers activation with the mask already negotiated by Configure, matching the reference clients; activation is not another capability negotiation. The actual incoming TV activation value was not captured, so this host reproduction does not prove which activation value the TV sent. TLS and RemoteStart feedback remain required before online readiness; no optimistic control or replay is introduced. The user performs the native 1.9 control and feedback test. This remains a free multi-brand Google/Android TV driver without ADB, an external bridge or activation licensing.

Before remote readiness, Status identifies the completed reply stage: TV features N; awaiting remote activation after Configure, then TV activation X; remote features N; awaiting TV ready after activation. N is the negotiated mask and X the received numeric activation value. These bounded diagnostics contain no protocol payload, keys or optimistic online feedback.

ICP certificate-import correction: static inspection of the matching official ICP 26.9.24 firmware found LoadClientCertificate leaves the JavaScript return value false even after successful native parsing; real parser errors throw. AddCertificateAuthority also returns false, requires an open object, and retains five CA slots across Close/Open. Select Processor TLS API = ICP firmware 26.9.24 (default for the stated target); Standard API keeps strict boolean-result handling. Version 1.8 installs TV trust after TCP connects and before TLS starts, reuses the same imported client identity and trust anchor per HTTP object, and requires restart if a different client identity would replace an occupied native key context. Native parser error codes are preserved without key data. TLS validation and pairing-code acknowledgement remain required; imports alone never assert paired/online state. Existing TV commands, feedback, APEX identifiers and credential formats remain unchanged. Other runtime profiles and native 1.8 acceptance require testing; the user performs hardware testing.

Native TLS identity update: live ICP 1.6 diagnostics confirm the PairStart macro runs and certificate retrieval reaches LoadClientCertificate, where a native exception was discarded. Version 1.7 explicitly supplies the documented optional password argument as an empty string for the unencrypted generated key. Whether the omitted argument caused this ICP failure remains unconfirmed. Client-certificate and TV-trust failures now preserve the API, safe classification, exception type/line and character lengths in LastError and normal ICP error logs. Raw exception text, PEM, keys and PIN are withheld. Failed preparation cannot open pairing TLS, and its concrete diagnostic is no longer overwritten by a generic setup error. Unsupported native APIs are reported as unavailable; no trust checks are bypassed. Host tests cover the public XML pairing export and matching certificate/private-key fixtures. Native 1.7 acceptance remains for the user's hardware test.

Certificate-probe recovery: native socket, TLS, timer and shutdown entry points are globally named functions following SDK examples. A failed deadline timer prevents Open. The certificate TCP/probe deadline is ten seconds; failures report phase and received-byte count. Separate PairingState stages identify TCP connection, certificate wait, client-certificate loading, TV-trust installation and pairing TLS. Repeated Start pairing preserves the original progress/error. Close also accepts native OpenState=0 and ConnectState=0 without a disconnect callback, then waits 500 ms before reuse; delayed closure is checked for at most one second. Unconfirmed closure reports restart required and never reuses a possibly live socket. Unexpected TCP disconnect explicitly stops its automatic connection process. TLS validation remains required. Host tests verify these paths; the exact ICP callback cause and native 1.6 acceptance require the user's hardware test.

ICP persistence correction: version 1.4 identified a native value-length rejection for the 1005-character client certificate. Version 1.5 stores client certificate, private key and TV certificate in bounded cells of at most 64 characters, reducing to 32 or 16 on a classified native value-limit error. A short versioned pointer selects a complete cell set; SHA256 and readback verify reconstruction before use. Existing single-value PEM entries remain readable. Partial writes do not replace the previous complete slot, and pairing still requires successful persistence Save. Private material is never published. Native 1.5 acceptance remains for the user's hardware test.

Persistence diagnostic update: distinguish an explicit false return from a native exception, report a safe error classification and numeric key/value lengths. Certificate/private-key values and arbitrary native exception text are never published. The native storage failure is not yet confirmed fixed by this diagnostic update.

ICP startup correction: the actual 1.2 diagnostic reported optional Sony extension, Error at GTVSony.js line 15: HTTP.AddRxHTTPFraming. This optional XP framing facility was rejected by the ICP. Version 1.3 closes the failed optional socket and reports the Sony extension as unavailable while preserving native Google TV initialization, pairing and configured app/source lists. Compatible runtimes still use the enabled Sony extension. Native 1.3 acceptance remains for the user's hardware test.

Diagnostic update: version 1.1 discarded the original initialization exception. Version 1.2 publishes the failed startup operation, safe exception type and available script line in Status and LastError. Arbitrary native exception contents are withheld. This diagnostic change does not confirm that the underlying ICP initialization fault is fixed. Update to 1.2 and read the processor status before further pairing attempts.

Direct native Android TV Remote Service v2 control for compatible Google TV and Android TV devices from multiple manufacturers. No ADB, external bridge, driver activation or paid driver licence is required. Device support depends on the TV's remote-service implementation.

Target and verification

Intended installation: Integration Designer 12 with ICP4. The manifest uses the documented XP-family format (processorType XP-8), runtime 20 minimum for Crypto, and APEX 11.0 minimum. These metadata values do not establish ICP API compatibility. Import, download, TLS callbacks, pairing, control and feedback on the actual ICP4/firmware remain acceptance checks until observed.

An actual version 1.0 ICP attempt failed before any TV TCP connection: within 529 ms of Start TV pairing, Reading TV certificate became Pairing failed, with LastError RTI could not create or save the client certificate. The capture locates the failure in local native identity creation or saving; it alone does not identify the exact native call. A reproduced source error passed the full certificate TBS data into RTI RSASign, which expects a precomputed digest. General Google TV pairing has no Sony dependency. Version 1.1 must be retested by the user; successful pairing is not established.

Version 1.1 first hashes the client certificate TBS with SHA256, validates its 32-byte length, then signs that digest. The former 420-byte input in the failing fixture is rejected by an API-conforming host shim; the corrected certificate passes independent X.509 signature and private-key checks. This verifies the corrected signing contract on the host, not native ICP identity generation, persistence, TLS/PIN pairing or TV control.

Setup and pairing

1. Connect processor and TV to the same reachable LAN. Reserve the TV address. Keep Android TV Remote Service enabled and updated. Developer mode and USB/network debugging are not required.

2. Set Host to the TV address. Native remote TLS defaults to 6466 and pairing TLS to 6467. Keep the TV awake for first pairing.

3. Assign Start TV pairing to a temporary setup button or run it in a test macro. Wait for PairingCodeRequested and the six-character code on the TV.

4. Enter the code using Enter pairing digit (0-9, A-F), then Submit pairing digits within 60 seconds. Delete last pairing digit corrects an entry. Alternatively run Submit complete pairing code with all six characters. PairingCodeMask shows only the number of entered characters.

5. Wait for PairingComplete, then for Native remote online. A pairing acknowledgement and an established remote session are separate states.

6. Remove temporary fixed-code macros after setup. Re-pair if the TV forgets this controller or its certificate changes.

7. Cast is independently enabled by default on the same Host, port 8009. Check CastStatus, CastLastError and CastCanSetVolume before using direct Set volume percent. A remote PairingComplete event is not Cast authentication or master-volume capability. Configure actual input IDs or supported URIs only when known for the target TV.

Pairing creates a controller certificate and private key and saves them, plus the paired TV certificate, in this driver instance's RTI Persistence store. That API is not documented as an encrypted vault. The initial certificate probe requires a compatible TLS 1.2 certificate exchange; TV TLS restrictions can prevent pairing. Certificate handling must be verified on the actual processor. Do not export pairing material or private configuration with diagnostics.

Controls

Power on/off/toggle, volume up/down, mute, navigation and Android media keys use the native remote session. For streaming boxes, power feedback describes the Android device; external TV power and input behavior through HDMI-CEC depend on the equipment and setup. Commands are not queued while offline. Key down/up is available for explicit held-key macros; always provide a corresponding release. Media-key behavior depends on the foreground app. Set volume percent uses direct authenticated Cast master-volume control; the separate Set volume percent using keys is the bounded Remote-v2 step option. Configured input targets take priority over legacy input keys. Device support for the chosen target or legacy key must be verified; a sent request does not confirm that an input changed.

Normal remote choices also include digits 0-9, channel up/down, Info, Guide, Settings and red/green/yellow/blue. Exit / Escape sends Android KEYCODE_ESCAPE (111), not Back (4); its effect depends on the foreground app and is not a guaranteed TV-wide exit.

Power on/off uses the native POWER key when connected and the confirmed state differs from the target; a matching state needs no command and an unknown state refuses a blind on/off toggle. Power toggle is an explicit command. Wait for fresh TV feedback; pending power commands are not retried automatically. Optional Wake on LAN requires a correct TV MAC, broadcast address, network-standby settings and hardware support. A transmitted magic packet is not confirmed power feedback. A physically disconnected or deep-sleep TV may require its original remote.

Launch app URI sends a registered URI to an installed app. App shortcuts use Label|URI or Label|URI|Package entries separated by semicolons. Example: Netflix|netflix://|com.netflix.ninja. The defaults are shortcuts to test on the actual TV; installed apps, URL associations and supported deep links vary. Launch package requires its package in a configured three-field shortcut and sends that shortcut's URI.

Launch app by configured or Sony-reported name resolves the current app-list title using trimmed, case-insensitive exact matching. An unmatched name is not converted to a guessed URI.

Feedback and lists

Online means that the remote protocol completed configuration and reported its initial power state. PowerKnown and VolumeKnown qualify the corresponding Remote-v2 values. The driver retains last values when they become unknown; panels should use the known flags to hide or disable stale values. Volume is the original TV-reported native scale, with VolumeMax as its upper limit. VolumePercent normalizes confirmed Remote-v2 feedback to 0-100 and now uses the custom GoogleTVRemoteVolumePercent tag. Standard APEX Volume feedback is CastVolumePercent, paired with the direct Cast setter and qualified by CastVolumeKnown/CastCanSetVolume. CastMute stays separate; the standard Mute function and feedback remain Remote-v2. CurrentApp is the remote-reported editor package; AppLabel is resolved through configured package mappings or falls back to that package.

General native remote control does not report the currently selected external input or a full installed-app inventory. SourceKnown remains false without confirmed optional vendor feedback. The general Sources list uses configured targets, an exact verified-model profile, or explicitly enabled legacy HDMI keys; it is not discovered hardware. Display SourceListOrigin beside it. Apps is a configured shortcut list. Display AppListOrigin beside it: it distinguishes configured shortcuts whose installation is unchecked from Sony TV-reported launchable applications. No playback title, artwork, duration, position or playing-state feedback is provided.

Use Apps (Google TV shortcuts), AppList%, with Select item from list (apps), and Sources (Google TV), SourceList%, with Select item from list (sources). Both the feedback list and dynamic zero-based Selected item must belong to this driver. Each selection command receives its hidden calling-interface ID; lists are published per actual RTI view. AppListCount and SourceListCount give current row counts. Refresh app and source lists rebuilds the configured lists, or refreshes supported Sony lists when enabled. Inspect long/empty lists and two interfaces independently during commissioning.

APEX source and tags

Version 1.1 retains the same driver GUID and exports. Its one logical source ID is Main, display name Google TV, preserving the implicit source identity observed when version 1.0 was imported into ID12. Configuration, commands, most feedback and events belong to that source. Lists feedback is global for manual binding since 1.16; its tags remain available to Main autoprogramming. Room-volume capability offers the TV as a room-volume source; the dealer may override that assignment. It does not create a volume control by itself.

The exact generic template candidate Music Player comes from the official RTI APEX media-source fallback example. Its presence and coverage in the installed Coral library have not been verified; ID12 template inspection was stopped by the user. No more specific unverified TV template name is supplied, and no authored TV page set is bundled. Inspect or choose the appropriate installed template during commissioning.

Common power, volume, mute, navigation and transport controls use standard tags. Apps uses Browse for both list feedback and the selection function. The Volume function and integer-feedback tags pair direct Cast GTV_SetVolumePercent with CastVolumePercent. Use GoogleTVCastVolumeKnown and GoogleTVCastCanSetVolume for validity and availability. GoogleTVVolumeSteps invokes the explicit key-step alternative, using separate Remote-v2 VolumePercent under GoogleTVRemoteVolumePercent with GoogleTVVolumeKnown. GoogleTVReconnectCast, GoogleTVCastOnline, GoogleTVCastMute, GoogleTVCastControlType, GoogleTVCastStatus and GoogleTVCastLastError expose the other Cast controls/state. Sources uses GoogleTVSourceList for its separate list and selection function, with GoogleTVSourceListOrigin describing provenance. GoogleTVVolumeRaw and GoogleTVVolumeMax expose the original Remote scale. GoogleTVPowerKnown, GoogleTVVolumeKnown and GoogleTVSourceKnown are boolean visibility bindings; use them deliberately with the corresponding controls to avoid stale state.

Normal digit, channel, Info, Guide, Exit and color controls use their standard tags. Settings uses System Menu. A matching template object App:Netflix uses the App:#PARAMETER1 function hook to resolve Netflix from the configured or Sony-reported app list. This hook applies only where the actual chosen template contains a matching App:Name object.

Every remaining command/choice and feedback has a custom GoogleTV tag. Home and Search use GoogleTVHome and GoogleTVSearch. Direct HDMI choices use GoogleTVInputHDMI1 through GoogleTVInputHDMI4; the chooser uses GoogleTVInputMenu. Pairing uses GoogleTVPairStart, GoogleTVPairDigit0-9/A-F, GoogleTVPairBackspace and GoogleTVPairSubmit, with distinct tags from the normal keypad. GoogleTVReconnect and GoogleTVRefreshLists expose recovery/refresh.

The functions tagged GoogleTVPairCode:#PARAMETER1, GoogleTVLaunchApp:#PARAMETER1 and GoogleTVLaunchPackage:#PARAMETER1 accept the suffix of an actual template button tag as the first string argument. For example GoogleTVLaunchApp:https://www.youtube.com supplies that URI. Do not use a fixed pairing code in a permanent template. Generic GoogleTVKey plus GoogleTVKeyShort/Down/Up require an intentional Android key-code argument; their default is OK (23).

GoogleTVStatus, GoogleTVLastError, GoogleTVDeviceName, GoogleTVManufacturer, GoogleTVModel, GoogleTVCurrentApp, GoogleTVAppLabel, GoogleTVCurrentSource, GoogleTVPairState, GoogleTVPairCodeMask and GoogleTVAppListOrigin are text feedback tags. GoogleTVOnline is a boolean indicator; GoogleTVPairRequired is a visibility binding. GoogleTVAppListCount and GoogleTVSourceListCount are integer row counts. The source README contains the complete custom-tag inventory.

Templates only populate controls they actually contain with matching tags. Custom tags alone do not create pages/buttons/lists. Inspect generated ID12 pages and deliberately author or assign extra controls for pairing, app/source lists and diagnostics as required. No complete generated panel or actual ICP4 acceptance is implied by package validation.

Optional Sony BRAVIA extras

Disabled by default. Enable only on a compatible Sony TV, set its HTTP port and the same pre-shared key as the TV's IP-control configuration. The optional Sony API can supply its app list, external-input list and current-source feedback when those endpoints are supported. Sony credentials and HTTP are separate from native Google TV pairing. Failed Sony requests do not establish source state. Verify model/firmware support and actual input/app operation before commissioning.

Events and recovery

Connected and Disconnected indicate native-session transitions. PairingCodeRequested opens the pairing-entry workflow; PairingComplete reports successful pairing. PowerOn/PowerOff are signalled for the first confirmed state after connection and later confirmed changes, so macros should tolerate reconnection.

AutoReconnect retries paired remote connections after failure. Reconnect native remote requests a new connection; it does not erase stored pairing. Use Status and LastError to diagnose offline/unsupported states. Enable Debug only during diagnosis and use TraceViewer. Never interpret a send trace, package build or host test as observed TV behavior.

Capture the original pairing failure

Start one read-only diagnostics capture, then invoke Start TV pairing once yourself. Retain PairingState, Status, LastError and any native identity stage/error for that same attempt before using other remote buttons. In version 1.0, later key commands could overwrite the original error. Version 1.1 preserves a pairing failure after offline key presses and reports the failed stage: RSA generation, key parsing, certificate hashing/signing, or certificate/private-key Persistence. Reading TV certificate is reached only after local identity preparation succeeds. The generic identity failure does not prove a TV network or Sony API problem.

The startup log identifies this code as Google TV Native Remote 1.1 - generic Remote v2. Verify the loaded version after the user updates the project; a diagnostics capture started later may miss that startup line. A new native pairing result is required before declaring the full workflow repaired.

The source delivery includes scripts/read-icp-diagnostics.js for a workstation Node.js runtime with built-in fetch, WebSocket and AbortSignal.timeout support. It reads the processor diagnostics endpoint and subscribes to selected state and driver logs. It does not execute macros, enter a PIN, send TV control or deploy a project. Run node scripts/read-icp-diagnostics.js with the processor IP and a duration of 1-300 seconds. It records its PID/start time and closes when the duration expires. Reuse a suitable running capture for the same task rather than starting duplicates.

Capture the earliest failure, keep pairing codes/private keys/PSKs private, and have the user perform the actual processor retest. PC-side TLS or host tests do not verify native RTI identity creation, Persistence or TV pairing.

Third-party Cast trust-anchor notice

Public trust-anchor data: Copyright 2019 The Chromium Authors.

OpenScreen license: Copyright 2018 The Chromium Authors.

Redistribution and use in source and binary forms, with or without

modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice,

this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice,

this list of conditions and the following disclaimer in the documentation

and/or other materials provided with the distribution.

Neither the name of Google LLC nor the names of its contributors may be

used to endorse or promote products derived from this software without

specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS

"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED

TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR

PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR

CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,

EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,

PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;

OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,

WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR

OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF

ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

/

Please log in to leave a comment.
Loading comments...