mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
16 lines
460 B
C
16 lines
460 B
C
#include "jspin.h"
|
|
|
|
// public static methods.
|
|
void jswrap_nrf_bluetooth_init(void);
|
|
|
|
void jswrap_nrf_bluetooth_sleep(void); // maybe these should return err_code?
|
|
void jswrap_nrf_bluetooth_wake(void);
|
|
|
|
JsVarFloat jswrap_nrf_bluetooth_getBattery(void);
|
|
void jswrap_nrf_bluetooth_setAdvertising(JsVar *data);
|
|
void jswrap_nrf_bluetooth_setScan(JsVar *callback);
|
|
void jswrap_nrf_bluetooth_setTxPower(JsVarInt pwr);
|
|
|
|
bool jswrap_nrf_idle();
|
|
void jswrap_nrf_kill();
|