Hendrik Langer
8 years ago
4 changed files with 51 additions and 0 deletions
@ -0,0 +1,33 @@ |
|||
/*
|
|||
* bluetooth |
|||
* |
|||
* see: esp-idf example bluetooth/a2dp_sink |
|||
*/ |
|||
|
|||
#include <stdio.h> |
|||
#include <stdlib.h> |
|||
#include <unistd.h> |
|||
#include <string.h> |
|||
#include "freertos/FreeRTOS.h" |
|||
#include "freertos/task.h" |
|||
//#include "nvs.h"
|
|||
//#include "nvs_flash.h"
|
|||
#include "esp_system.h" |
|||
#include "esp_log.h" |
|||
|
|||
#include "bt.h" |
|||
|
|||
#include "bluetooth.h" |
|||
|
|||
using namespace std; |
|||
|
|||
|
|||
Bluetooth::Bluetooth() { |
|||
} |
|||
|
|||
void Bluetooth::init() { |
|||
} |
|||
|
|||
|
|||
void Bluetooth::end() { |
|||
} |
@ -0,0 +1,15 @@ |
|||
#ifndef _BLUETOOTH_H |
|||
#define _BLUETOOTH_H |
|||
|
|||
#include "hardware.h" |
|||
|
|||
|
|||
class Bluetooth { |
|||
public: |
|||
Bluetooth(); |
|||
void init(); |
|||
void end(); |
|||
private: |
|||
}; |
|||
|
|||
#endif /* _BLUETOOTH_H */ |
Loading…
Reference in new issue