2018-02-11 21:46:16 +01:00
|
|
|
|
2018-02-11 21:23:13 +01:00
|
|
|
# aasdk
|
|
|
|
|
|
|
|
### Brief description
|
|
|
|
C++ object-oriented library containing implementation of core AndroidAuto(tm) functionalities needed to build headunit software.
|
|
|
|
|
2020-06-29 12:03:29 +02:00
|
|
|
### Build Guide
|
|
|
|
#### Local build instructions for Raspberry Pi
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo apt-get update
|
2020-06-29 13:24:12 +02:00
|
|
|
sudo apt-get -y install cmake build-essential git
|
2020-06-29 12:03:29 +02:00
|
|
|
|
2020-06-30 12:19:32 +02:00
|
|
|
sudo apt-get install -y protobuf-compiler libprotobuf-dev libusb-1.0.0-dev libssl-dev libboost-dev libboost-system-dev libboost-log-dev
|
2020-06-29 12:03:29 +02:00
|
|
|
|
2020-06-29 13:33:45 +02:00
|
|
|
git clone https://github.com/OpenDsh/aasdk
|
2020-06-29 12:03:29 +02:00
|
|
|
|
2020-06-29 22:18:14 +02:00
|
|
|
cd aasdk
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release .
|
2020-06-29 12:03:29 +02:00
|
|
|
make -j2
|
2020-06-29 20:57:13 +02:00
|
|
|
sudo make install
|
2020-06-29 12:03:29 +02:00
|
|
|
```
|
|
|
|
|
2018-02-11 21:23:13 +01:00
|
|
|
### Supported functionalities
|
|
|
|
- AOAP (Android Open Accessory Protocol)
|
|
|
|
- USB transport
|
2018-03-18 16:48:14 +01:00
|
|
|
- TCP transport
|
2018-02-11 21:23:13 +01:00
|
|
|
- USB hotplug
|
|
|
|
- AndroidAuto(tm) protocol
|
|
|
|
- SSL encryption
|
|
|
|
|
|
|
|
### Supported AndroidAuto(tm) communication channels
|
|
|
|
- Media audio channel
|
|
|
|
- System audio channel
|
|
|
|
- Speech audio channel
|
|
|
|
- Audio input channel
|
|
|
|
- Video channel
|
|
|
|
- Bluetooth channel
|
|
|
|
- Sensor channel
|
|
|
|
- Control channel
|
|
|
|
- Input channel
|
|
|
|
|
|
|
|
### License
|
|
|
|
GNU GPLv3
|
2018-02-11 21:46:16 +01:00
|
|
|
|
2018-02-11 21:23:13 +01:00
|
|
|
Copyrights (c) 2018 f1x.studio (Michal Szwaj)
|
2018-02-11 21:46:16 +01:00
|
|
|
|
2018-02-11 22:19:10 +01:00
|
|
|
*AndroidAuto is registered trademark of Google Inc.*
|
2018-02-11 21:23:13 +01:00
|
|
|
|
2018-02-11 21:46:16 +01:00
|
|
|
### Used software
|
|
|
|
- [Boost libraries](http://www.boost.org/)
|
|
|
|
- [libusb](http://libusb.info/)
|
|
|
|
- [CMake](https://cmake.org/)
|
|
|
|
- [Protocol buffers](https://developers.google.com/protocol-buffers/)
|
|
|
|
- [OpenSSL](https://www.openssl.org/)
|
2020-06-30 12:21:25 +02:00
|
|
|
- [Google test framework](https://github.com/google/googletest)
|