Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from obastemur/classify
Browse files Browse the repository at this point in the history
vNext - bump the version up and finalize the docs
  • Loading branch information
obastemur authored May 4, 2018
2 parents f164798 + 7a213a2 commit 148648f
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
Binary file modified AZ3166/images/configscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified AZ3166/images/wifi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions AZ3166/inc/fanSound.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#ifndef FAN_SOUND_H
#define FAN_SOUND_H

#ifdef ENABLE_FAN_SOUND

#define FAN_SOUND_DATA_SIZE 88405

char fanSoundData[FAN_SOUND_DATA_SIZE] = {
Expand Down Expand Up @@ -11059,4 +11061,6 @@ char fanSoundData[FAN_SOUND_DATA_SIZE] = {
135, 136, 136, 137, 137, 137, 137, 137, // 88392-88399
136, 135, 134, 134, 132};// 88400-88404

#endif // ENABLE_FAN_SOUND

#endif // FAN_SOUND_H
6 changes: 5 additions & 1 deletion AZ3166/inc/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct Globals
#define IOT_CENTRAL_ZONE_IDX 0x02
#define IOT_CENTRAL_MAX_LEN STRING_BUFFER_128
#define AZIOTC_FW_MAJOR_VERSION 1
#define AZIOTC_FW_MINOR_VERSION 0
#define AZIOTC_FW_MINOR_VERSION 1
#define AZIOTC_FW_PATCH_VERSION 0
#define AZIOTC_FW_VERSION TO_STRING(AZIOTC_FW_MAJOR_VERSION AZIOTC_FW_MINOR_VERSION AZIOTC_FW_PATCH_VERSION) "-MSIOTC"

Expand All @@ -68,6 +68,10 @@ struct Globals
#define SERIAL_VERBOSE_LOGGING_ENABLED false
#define IOTHUB_TRACE_LOG_ENABLED false

// To enable Fan Sound experiment, comment out the line below
// CAUTION: Fan sound is aprox 80KB . So, make sure you got enough sram left ;)
// #define ENABLE_FAN_SOUND

#if SERIAL_VERBOSE_LOGGING_ENABLED != 1
#define LOG_VERBOSE(...)
#else
Expand Down
2 changes: 2 additions & 0 deletions AZ3166/src/registeredMethodHandlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,11 @@ int fanSpeedDesiredChange(const char *message, size_t size, char **response, siz

LOG_VERBOSE("fanSpeed desired property just got called");

#ifdef ENABLE_FAN_SOUND
// turn on the fan - sound
AudioClass& Audio = AudioClass::getInstance();
Audio.startPlay(fanSoundData, FAN_SOUND_DATA_SIZE);
#endif // ENABLE_FAN_SOUND

unsigned char buffer[2 * OLED_SINGLE_FRAME_BUFFER] = {0};
Screen.clean();
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Azure IoT Central Firmware

Reference firmware implementation repository for Azure IoT Central supported devices.
Reference firmware implementation repository for some of the supported devices.

- **Are you looking for a particular device sample?**
Create an issue on this repository and let us know.

## Contents

Expand All @@ -9,11 +12,11 @@ Reference firmware implementation repository for Azure IoT Central supported dev

## Status

This project is in active development.

## Support
This project is in active development. Check our roadmap below; (have an idea? create an issue on this repo.)

To report issues, please contact [Technical Support](https://aka.ms/iotcentral-create-technical-support-ticket).
- Sound activated cloud event
- Update device states on the cloud
- Show Watchdog usage

## Reporting Security Issues

Expand Down

0 comments on commit 148648f

Please sign in to comment.