Git Product home page Git Product logo

mazda-custom-application-sdk's Introduction

Custom Applications SDK for Mazda Connect Infotainment System

A micro framework that allows you to write and deploy custom applications for the Mazda Infotainment System.

The SDK comes with everything you need to get started including a 1:1 Simulator allowing you to build applications on your local computer without any other dependencies.

High level features include access to the Vehicle Data, Multicontroller support, Persistent storage and Life cycle management.

Status

This project is under heavy development and we have entered the alpha testing phase.

Discussion

The official discussion thread is on Mazda3Revolution:

http://mazda3revolution.com/forums/2014-2016-mazda-3-skyactiv-audio-electronics/123882-custom-applications-sdk-write-deploy-your-own-applications.html#post1598946

Get Started

There is not a whole documentation available yet but you can access some basic articles from the projects WIKI.

About this Repo

This is the development source repository for the CASDK containing everything and anything. However you shouldn't ever need to clone this repo if you don't activley participating in the micro framework development.

If you want to develop applications please use the Get Started guide above.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

mazda-custom-application-sdk's People

Contributors

flyandi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mazda-custom-application-sdk's Issues

Custom values possible?

I'm working on an app that shows oil sensor readings (pressure, temperature) via an Arduino that is saving the data to "/tmp/mnt/data_persist/dev/bin/" through libusb.

The standalone speedometer app has a "speedometer.sh" where the variables vor the values are assigned like
SPEED=smdb-read -n vdm_vdt_current_data -e VehicleSpeed``
and it can read values from the path mentioned above.

Is it possible to get the data into a CASDK app in a similar way?

Unable to create an app using the CLI

I am trying to create an app with casdk create abc but getting this error.
Node version is 18.16.1

node:internal/validators:421
    throw new ERR_INVALID_ARG_TYPE(name, 'Function', value);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "cb" argument must be of type function. Received undefined
    at maybeCallback (node:fs:187:3)
    at Object.writeFile (node:fs:2191:14)
    at /usr/local/lib/node_modules/casdk/casdk.js:92:6
    at Array.forEach (<anonymous>)
    at createCustomApplication (/usr/local/lib/node_modules/casdk/casdk.js:75:41)
    at Command.<anonymous> (/usr/local/lib/node_modules/casdk/casdk.js:119:4)
    at Command.listener (/usr/local/lib/node_modules/casdk/node_modules/commander/index.js:315:8)
    at Command.emit (node:events:513:28)
    at Command.parseArgs (/usr/local/lib/node_modules/casdk/node_modules/commander/index.js:651:12)
    at Command.parse (/usr/local/lib/node_modules/casdk/node_modules/commander/index.js:474:21) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Application doesn't show up on Infotainment System

Hello together,

i have tried to install tetris on my Infotainment System like this:

  1. Copied the folder content from "src/deploy/install" to a USB Stick FAT 32
  2. i have pluged in the usb stick into my car and the installation was successful
  3. now i copied the folder content from "apps/" to the SD card where the navigation data are also (like this: "sd_nav/app.tetris")
  4. back to my car i pluged in the sd card and restarted the Infotainment System

What I have done wrong, because no apps are displayed ?

Wrong path on the SD card ?
Maybe it is not the right order ?
I dont know whats wrong.

Mounting drive as readwrite during install and uninstall

Hi there!

Thanks for the great tool. Are you still working on the development?
I have been able to run your install script on the runtime on my mazda3 with OS Version 56.00.240 4A N.
An issue I have noticed is that the apps do not register in my Application submenu.

I ran the install script by SSHing in to the car over wifi, finding the usb drive (under /mnt/sdb1) and running the install. The popup message came up saying the installation was successful. See console output below:
capture

When reading your Wiki article I noted that in your getting started guide, you mention that the SD card has an applications folder. This seems inconsistent with the version of runtime that I have.

Additionally, I noticed in your shell scripts that you mount the filesystem as readwrite using:
mount -o rw,remount /
I would suggest that you remount the filesystem as readonly, as it seems like the car is happy to turn off the OS quickly (ie not a controlled shutdown) and if the filesystem is readwrite then this can cause corruption. This can be done (as I'm sure you know) using:
mount -o ro,remount /

Because I couldnt get it working, I ended up running the uninstall shell script as well. Cleanup seemed to go smoothly, however under /var/tmp there were still a bunch of casdk files, including a logfile. Be happy to share this if you wish.

EDIT: So I got it to work, reading the shell script it seems that you need to place the apps folder on the navigation SD card that comes with the car. I will leave this issue open for the readonly remounting.

Add Mazda 2

Please add Mazda 2 to the simulator.
My Mazda 2 contains the same infotainment system.

Web content access

Web content access

I made an app for accessing and searching youtube (happy to add this to your app repository if you like) via the embedded player. It seems opera tries to open a dialog for accepting the certificate, which doesn't come up.
untitled

I'll update with more info if I find a workaround.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.