19 lines
611 B
C
19 lines
611 B
C
#ifndef DR_UTIL_H
|
|
#define DR_UTIL_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void dr_ble_return_1(const char *tag, uint16_t value);
|
|
void dr_ble_return_2(const char *tag, uint16_t v1, uint16_t v2);
|
|
void dr_ble_return_3(const char *tag, uint16_t v1, uint16_t v2, uint16_t v3);
|
|
void dr_ble_return_3_be(const char *tag, uint16_t v1, uint16_t v2, uint16_t v3);
|
|
|
|
/* Piezo dedicated BLE return - uses separate buffer to avoid conflicts */
|
|
void dr_ble_return_piezo_1(const char *tag, uint16_t value);
|
|
|
|
/* BLE debug output - sends "dbg:" + point_id + value */
|
|
void dr_ble_debug(uint16_t point_id, uint16_t value);
|
|
|
|
#endif /* DR_UTIL_H */
|
|
|