{"id":1916,"date":"2024-10-11T13:55:27","date_gmt":"2024-10-11T11:55:27","guid":{"rendered":"https:\/\/www.xbb.se\/?page_id=1916"},"modified":"2024-10-11T13:55:56","modified_gmt":"2024-10-11T11:55:56","slug":"compatible-car-models","status":"publish","type":"page","link":"https:\/\/www.xbb.se\/en\/compatible-car-models\/","title":{"rendered":"Compatible car models"},"content":{"rendered":"\n<!doctype html>\n<!-- <html lang=\"en\" data-bs-theme=\"dark\" > -->\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>XBB<\/title>\n    <link href=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.3.2\/dist\/css\/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV\/Dwwykc2MPK8M2HN\" crossorigin=\"anonymous\">\n  <\/head>\n  <body>\n    <div class=\"container mt-5\">\n        <h3 class=\"text-center\">Compatible car models (New models are added continuously)<\/h3>\n        <p><b>Note!<\/b> If your cars specification, like for example headlight, gearbox, facelift etc doesn&#8217;t match the description in the selected recipe. You&#8217;ll need to test the recipe with XBB Dongle\u00ae and the app to make sure that all signals works as intended. Read our FAQ if you have more questions.<\/p>\n        <p><b>Disclaimer!<\/b> Vehicle specific software updates may result in some recipes not working. That&#8217;s outside our control but we work continuously to keep our recipes up to date! Current recipes autoamtically get updated from our database. We work continuously to add more vehicles to our database! If you can&#8217;t find your vehicle in our database, first step is to test a recipe from the same make and generation\/model year. If that doesn&#8217;t work, please contact us. If there are any specific signals that your require. Contact us and we will attempt to help you.<\/p>\n        <div class=\"input-group mb-3\">\n            <input type=\"text\" id=\"searchInput\" class=\"form-control\" placeholder=\"Search...\">\n            <div class=\"input-group-append\">\n                <button id=\"clearSearch\" class=\"btn btn-outline-secondary\" type=\"button\">&times;<\/button>\n            <\/div>\n        <\/div>\n        <div id=\"loadingIndicator\" class=\"text-center my-3\">\n            <div class=\"spinner-border\" role=\"status\">\n                <span class=\"sr-only\"><\/span>\n            <\/div>\n        <\/div>\n        <div id=\"dataList\" class=\"accordion accordion-flush\">\n        <\/div>\n    <\/div>\n    <script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.12.4\/jquery.min.js\"><\/script>\n    <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.3.2\/dist\/js\/bootstrap.bundle.min.js\" integrity=\"sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN\/o0jlpcV8Qyq46cDfL\" crossorigin=\"anonymous\"><\/script>\n    <script>let allData=[];function deepClone(a){return JSON.parse(JSON.stringify(a))}const brandsToIgnore=[\"4Light Biker\",\"Test recipes\",\"PP-CAN\"];function renderData(a=\"\"){$(\"#dataList\").empty();let e=[],o=deepClone(allData);(e=\"\"===a?allData:o.filter(e=&gt;!!e.brand.toLowerCase().includes(a.toLowerCase())||(e.models=e.models.filter(e=&gt;!!e.model_name.toLowerCase().includes(a.toLowerCase())||(e.recipes=e.recipes.filter(e=&gt;!!e.name.toLowerCase().includes(a.toLowerCase())||(e.signals=e.signals.filter(e=&gt;e.name.toLowerCase().includes(a.toLowerCase())),e.signals.length)),e.recipes.length)),e.models.length))).sort((a,e)=&gt;a.brand.localeCompare(e.brand)),e&amp;&amp;Array.isArray(e)&amp;&amp;e.forEach((a,e)=&gt;{let o=`brand-${e}`,t=`modelAccordion-${e}`;$(\"#dataList\").append(`\n                <div class=\"accordion-item\">\n                    <h2 class=\"accordion-header\">\n                        <button class=\"accordion-button collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#${o}\" aria-expanded=\"true\" aria-controls=\"${o}\">\n                            ${a.brand}\n                        <\/button>\n                    <\/h2>\n                    <div id=\"${o}\" class=\"accordion-collapse collapse\" data-bs-parent=\"#dataList\">\n                        <div class=\"accordion-body\">\n                            <div id=\"${t}\" class=\"accordion accordion-flush\">\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            `),a.models.sort((a,e)=&gt;a.model_name.localeCompare(e.model_name)),a.models.forEach((a,e)=&gt;{let s=`${o}-model-${e}`,l=`${s}-body`;$(`#${t}`).append(`\n                    <div class=\"accordion-item\">\n                        <h2 class=\"accordion-header\">\n                            <button class=\"accordion-button collapsed\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#${s}\" aria-expanded=\"true\" aria-controls=\"${s}\">\n                                <div style=\"margin-right: 8px\">${a.model_name}<\/div>\n                                <span class=\"badge rounded-pill text-bg-secondary\">${a.recipes.length}<\/span>\n                            <\/button>\n                        <\/h2>\n                        <div id=\"${s}\" class=\"accordion-collapse collapse\" data-bs-parent=\"#${t}\">\n                            <div class=\"accordion-body\" id=\"${l}\">\n                                <ul class=\"list-group\">\n                                <\/ul>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                `),a.recipes.sort((a,e)=&gt;a.name.localeCompare(e.name)),a.recipes.forEach(a=&gt;{$(`#${l} &gt; ul`).append(`\n                        <li class=\"list-group-item\">\n                            <div class=\"recipe-header\">\n                                <h4>${a.name}<\/h4>\n                                <h6>${a.description}<\/h6>\n                            <\/div>\n                            <ul>\n                            <\/ul>\n                        <\/li>\n                    `),a.signals.sort((a,e)=&gt;a.index-e.index),a.signals.forEach(a=&gt;{$(`#${l} &gt; ul &gt; li:last-child &gt; ul`).append(`\n                            <li>${a.name}<\/li>\n                        `)})})})}),1===e.length&amp;&amp;($(\"#brand-0\").collapse(\"show\"),1===e[0].models.length&amp;&amp;$(\"#brand-0-model-0\").collapse(\"show\"))}$(document).ready(function(){$(\"#dataList\").hide(),$.ajax({url:\"https:\/\/xbbcustomer.innowareapi.com\/xbb\",type:\"GET\",dataType:\"json\",success:function(a){allData=$.grep(a.data,function(a){return -1===brandsToIgnore.indexOf(a.brand)}),renderData(),$(\"#loadingIndicator\").hide(),$(\"#dataList\").show()},error:function(a){console.error(\"Error fetching data:\",a),$(\"#loadingIndicator\").html('<p class=\"text-danger\">Failed to fetch data. Please try again.<\/p>')}}),$(\"#searchInput\").on(\"input\",function(){renderData($(this).val())}),$(\"#clearSearch\").on(\"click\",function(){$(\"#searchInput\").val(\"\"),renderData()})});<\/script>\n  <\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>XBB Compatible car models (New models are added continuously) Note! If your cars specification, like for example headlight, gearbox, facelift etc doesn&#8217;t match the description in the selected recipe. You&#8217;ll need to test the recipe with XBB Dongle\u00ae and the app to make sure that all signals works as intended. Read our FAQ if you [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-1916","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/pages\/1916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/comments?post=1916"}],"version-history":[{"count":7,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/pages\/1916\/revisions"}],"predecessor-version":[{"id":2099,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/pages\/1916\/revisions\/2099"}],"wp:attachment":[{"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/media?parent=1916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/categories?post=1916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xbb.se\/en\/wp-json\/wp\/v2\/tags?post=1916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}