Version: 1.6.13.0
Frequency: Consistently
Severity: Blocker
Bug description:
The call name with which a JS instrument is supposed to respond to the EFB asking for a flightplan via the AvionicsRouteRequested event is inconsistent between the different pages of documentation.
In the event page it says it’s “RESPOND_TO_AVIONICS_ROUTE_REQUEST”
listener.on(‘AvionicsRouteRequested’, async (requestId: number) => { //Do work here as required to put together the route to respond with //This is just an example, this buildRoute function is not part of the API const route = await this.buildRoute(); await Coherent.call(‘RESPOND_TO_AVIONICS_ROUTE_REQUEST’, route, requestId); });
but then on the other page it says to use “REPLY_TO_AVIONICS_ROUTE_REQUEST”
await Coherent.call(‘REPLY_TO_AVIONICS_ROUTE_REQUEST’, route, 7);
so REPLY vs. RESPOND