mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Some checks are pending
Docs / deploy-docs (push) Waiting to run
CI / build (MHP30) (push) Waiting to run
CI / build (Pinecil) (push) Waiting to run
CI / build (Pinecilv2) (push) Waiting to run
CI / build (S60) (push) Waiting to run
CI / build (S60P) (push) Waiting to run
CI / build (T55) (push) Waiting to run
CI / build (TS100) (push) Waiting to run
CI / build (TS101) (push) Waiting to run
CI / build (TS80) (push) Waiting to run
CI / build (TS80P) (push) Waiting to run
CI / build_multi-lang (Pinecil) (push) Waiting to run
CI / build_multi-lang (Pinecilv2) (push) Waiting to run
CI / upload_metadata (push) Blocked by required conditions
CI / tests (push) Waiting to run
CI / check_c-cpp (push) Waiting to run
CI / check_python (push) Waiting to run
CI / check_shell (push) Waiting to run
CI / check_docs (push) Waiting to run
* Update documentation to build IronOS in Windows using MSYS2 environment and fix compilation on case-sensitive file systems. --------- Co-authored-by: Ivan Zorin <ivan.a.zorin@gmail.com>
37 lines
829 B
C
37 lines
829 B
C
/****************************************************************************
|
|
FILE NAME
|
|
ble_peripheral_tp_server.h
|
|
|
|
DESCRIPTION
|
|
NOTES
|
|
*/
|
|
/****************************************************************************/
|
|
|
|
#ifndef _BLE_TP_SVC_H_
|
|
#define _BLE_TP_SVC_H_
|
|
|
|
#include <zephyr/types.h>
|
|
#include "ble_config.h"
|
|
|
|
// read value handle offset 2
|
|
#define BT_CHAR_BLE_TP_RD_ATTR_VAL_INDEX (2)
|
|
// write value handle offset 4
|
|
#define BT_CHAR_BLE_TP_WR_ATTR_VAL_INDEX (4)
|
|
// indicate value handle offset 6
|
|
#define BT_CHAR_BLE_TP_IND_ATTR_VAL_INDEX (6)
|
|
// notity value handle offset 9
|
|
#define BT_CHAR_BLE_TP_NOT_ATTR_VAL_INDEX (9)
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void ble_tp_init();
|
|
void bt_enable_cb(int err);
|
|
struct bt_gatt_attr *get_attr(u8_t index);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif
|