Skip to content

Commit 080f8dd

Browse files
committed
AVS release v1.0b1r3
0 parents  commit 080f8dd

File tree

236 files changed

+35135
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+35135
-0
lines changed

CHANGELOG.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
## ChangeLog
2+
3+
### v1.0b1r3 (Beta) - 2018-08-28
4+
5+
**Enhancements**
6+
7+
* Seeking support for Audible books
8+
* Support for OffsetInMilliSeconds, ProgressReportDelayElapsed and ProgressReportIntervalElapsed
9+
* LED patterns for various Alexa states as per Alexa UX design guidelines
10+
* Playing Alerts/Timers, Reminders from received URL even after device reboot. Device used to play stored tunes if device rebooted in between setting the Alarm and its timeout
11+
* Minute latency improvement where Recognize event is now being sent earlier upon WW detection
12+
13+
**Bug Fixes**
14+
15+
* No intermittent audio playback between multiple Speak directives of the same dialog (e.g "What's up")
16+
* Few stability related fixes
17+
18+
**Known Issues/Improvements**
19+
20+
* Crashes are seen in Audible when segments >512 are received
21+
* Only limited TuneIn radio stations are supported
22+
* It is largely tested with internet and WiFi connectivity intact throughout its operation. Some issues are seen when device loses connectivity.
23+
* TLS Certificate validation of Amazon and other streaming sites is yet to be done.
24+
25+
### v1.0b1r2 (Beta) - 2018-08-14
26+
27+
**Enhancements**
28+
29+
* Support for persistent Alerts/Timers, Reminders and Notifications
30+
31+
**Bug Fixes**
32+
33+
* Multiple race conditions fixed to improve the stability
34+
35+
**Known Issues**
36+
37+
* Regression in Audible support - crashes are seen with Audible
38+
* Book and audio playback seeking is not yet supported
39+
* Only limited TuneIn radio stations are supported
40+
* It is largely tested with internet and WiFi connectivity intact throughout its operation. Some issues are seen when device loses connectivity.
41+
42+
### v1.0b1r1 (Beta) - 2018-08-06
43+
44+
**Enhancements**
45+
46+
* Amazon music support
47+
* Alerts/Timers, Reminders, Notifications support
48+
* Audible support
49+
* Capabilities API integration
50+
* AudioActivityTracker support
51+
52+
**Bug Fixes**
53+
* Overall stability improvements
54+
* Fixed minor issues with Android App
55+
* Amazon app is no more required on phone for authentication. App opens login page on device's browser if app isn't found.
56+
57+
**Known Issues**
58+
59+
* Alerts/Timers, Reminders and Notifications do not persist across device reboot
60+
* Book and audio playback seeking is not yet supported
61+
* Only limited TuneIn radio stations are supported
62+
* It is largely tested with internet and WiFi connectivity intact throughout its operation. Some issues are seen when device loses connectivity.
63+
64+
### v1.0a1r1 (Alpha) - 2018-07-09
65+
66+
* Complete C-Based SDK from ground-up with support for
67+
* Basic conversation
68+
* Multi-turn
69+
* Audio playback - Saavn, TuneIn, Kindle
70+
* Volume control (both physical and spoken)
71+
* Tap-To-Talk
72+
* Salvaged 75KB of internal memory as compared to CPP based port
73+
* Phone app (Android) support for:
74+
* Network configuration
75+
* Alexa authentication
76+
77+
### v0.15
78+
79+
* Port of Amazon's CPP SDK (v1.3) with additional optimizations for embedded target

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
ESPRESSIF MIT License
3+
4+
Copyright (c) 2018 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD>
5+
6+
Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
7+
it is free of charge, to any person obtaining a copy of this software and associated
8+
documentation files (the "Software"), to deal in the Software without restriction, including
9+
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
10+
and/or sell copies of the Software, and to permit persons to whom the Software is furnished
11+
to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all copies or
14+
substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22+

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## Overview
2+
3+
The ESP-Alexa SDK provides an implementation of Amazon's Alexa Voice Service endpoint for ESP32 microcontroller. This facilitates the developers to evaluate ESP32 based Alexa integrated devices like speakers and IoT devices. Please refer to [Changelog](CHANGELOG.md) to track release changes and known-issues.
4+
5+
### About SDK
6+
7+
The SDK contains pre-built library of Alexa SDK along with sources of some of the utility components such as audio pipeline and connection manager. The SDK supports all major features of Alexa such as:
8+
* Basic Alexa conversation
9+
* Alexa dialogues and multi-turn
10+
* Audio Streaming and Playback: Saavn, Amazon music, TuneIn (Only limited stations are supported as of now)
11+
* Audio Book Support: Kindle, Audible
12+
* Volume control via Alexa command
13+
* Seek support for Audible
14+
* Alerts/Timers, Reminders, Notifications
15+
16+
For now, Tap-To-Talk is the only interaction mode supported on LyraT.
17+
18+
## Supported Hardware
19+
20+
Release supports following hardware platforms:
21+
* [ESP32-LyraT](https://www.espressif.com/en/products/hardware/esp32-lyrat)
22+
23+
The SDK can easily be extended to other ESP32 based audio platforms that have SPIRAM availability.
24+
25+
## Getting started
26+
27+
* When flashing the SDK for the first time, it is recommended to do `make erase_flash` to wipe out entire flash and start out fresh.
28+
* Please refer to [LyraT README](examples/lyrat_alexa/README.md) to get started with flashing, provisioning and Alexa interactions.
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
/*
2+
* ESPRESSIF MIT License
3+
*
4+
* Copyright (c) 2018 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD>
5+
*
6+
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
7+
* it is free of charge, to any person obtaining a copy of this software and associated
8+
* documentation files (the "Software"), to deal in the Software without restriction, including
9+
* without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
10+
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished
11+
* to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all copies or
14+
* substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22+
*
23+
*/
24+
#ifndef __AUDIO_BOARD_H__
25+
#define __AUDIO_BOARD_H__
26+
27+
#include <esp_types.h>
28+
29+
#include <driver/i2c.h>
30+
#include <driver/i2s.h>
31+
32+
#ifdef __cplusplus
33+
extern "C" {
34+
#endif
35+
36+
/*
37+
* @brief returns i2s gpio config struct
38+
*
39+
* @param port_num i2s port number
40+
* @param pf_i2s_pin i2s gpio init struct
41+
*
42+
*/
43+
esp_err_t audio_board_i2s_pin_config(int port_num, i2s_pin_config_t *pf_i2s_pin);
44+
45+
/*
46+
* @brief returns i2c config struct with gpio pins intialization
47+
*
48+
*@param port_num i2c port number
49+
*@param pf_i2c_pin i2c gpio init struct
50+
*
51+
*/
52+
esp_err_t audio_board_i2c_pin_config(int port_num, i2c_config_t *pf_i2c_pin);
53+
54+
/*
55+
* @brief returns i2s default parameters init
56+
*
57+
*@param i2s_cfg_dft i2s param config structure
58+
*
59+
*/
60+
esp_err_t audio_board_i2s_init_default(i2s_config_t *i2s_cfg_dft);
61+
62+
/*
63+
* @brief gpio initialization for button
64+
*
65+
*@param adc1_channel_t adc gpio selection from struct
66+
*
67+
*/
68+
esp_err_t audio_board_button_config(adc1_channel_t *pf_button_pin);
69+
70+
#ifdef __cplusplus
71+
}
72+
#endif
73+
74+
#endif
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
COMPONENT_ADD_INCLUDEDIRS := .
3+

0 commit comments

Comments
 (0)