CASDK Written By: Flyandi
Integration Into AIO By: Trezdog44
npm package

CASDK

Is a very exciting addition to AIO and opens the door to many possibilities. Developers can use the npm package "casdk" to create a ready-to-go app template in seconds. Using JavaScript and CSS, developers can easily build amazing apps on the CASDK framework.

The Custom Application SDK for Mazda Infotainment System is a micro framework that allows you to write and deploy custom applications which integrate natively into the existing JCI framework without hassle. This version of CASDK is integrated with AIO to create a unique framework with endless app posibilities.

CASDK comes with:
  • CASDK Proxy - Proxy registers both CASDK and AIO apps and replaces "additionalApps.js".
  • Custom Application Runtime - A microframework that handles the custom applications during runtime.
  • Data Readers - Poll vehicle data an certain intervals (1s, 60s, & 300s)
  • JS logging - JavaScript (and CSS) console log is written to /tmp/root/casdk-error.log
  • LocalStorage - Moves the save locaton of localStorage to /tmp/mnt/data_persist/storage/
  • NodeJS - Powerful Server-side JavaScript.
  • ADB - Android Debug Bridge for Android devices.
  • Custom Applications - Apps that run on the CASDK framework
  • CASDK Framework and Apps are installed internally to the 'resources' partition by default, optinally CASDK apps can be run from an SD Card.
    Native apps such as those installed with AIO will run on the CASDK framework although apps are installed differently with CASDK. The AIO Tweak installer will detect if CASDK is installed when running tweaks and adjust the installation accordingly but older app installers will not work while CASDK is installed.
    The CASDK framework was originally designed to be run entirely from an SD card. With AIO the framework and apps are installed onto system disk so that apps will be able to run without an SD Card connected. CASDK apps can still be run from an SD card by selecting the option below. If the SD card is connected during installation, AIO will offer to install the apps directly to the SD card. Apps can also be installed by copying the app folder to "/apps" on the root of the SD Card. Also, the name of the app folder needs to be added to "/apps/apps.js." Using this method any CASDK app can be used even one you have developed yourself!