mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-04 19:47:36 +03:00
23 lines
265 B
C
23 lines
265 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
typedef enum {
|
||
|
GapStateIdle,
|
||
|
GapStateAdvFast,
|
||
|
GapStateAdvLowPower,
|
||
|
GapStateConnected,
|
||
|
} GapState;
|
||
|
|
||
|
bool gap_init();
|
||
|
|
||
|
GapState gap_get_status();
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|