mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-25 09:35:42 +00:00
arduino: add C++ protection
This commit is contained in:
parent
1aba866f2c
commit
7d00c19e81
@ -1,7 +1,12 @@
|
||||
/**
|
||||
* Arduino Wrapper for BTstack
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef __ARDUINO_BTSTACK_H
|
||||
#define __ARDUINO_BTSTACK_H
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "att.h"
|
||||
#include <btstack/utils.h>
|
||||
@ -187,4 +192,10 @@ public:
|
||||
uint16_t addGATTCharacteristicDynamic(UUID * uuid, uint16_t flags, uint16_t characteristic_id);
|
||||
};
|
||||
|
||||
extern BTstackManager BTstack;
|
||||
extern BTstackManager BTstack;
|
||||
|
||||
#if defined __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __ARDUINO_BTSTACK_H
|
Loading…
x
Reference in New Issue
Block a user