27#include <mstdlib/base/m_defs.h>
28#include <mstdlib/base/m_types.h>
29#include <mstdlib/base/m_list_str.h>
30#include <mstdlib/base/m_time.h>
31#include <mstdlib/io/m_io.h>
32#include <mstdlib/io/m_event.h>
void(* M_event_callback_t)(M_event_t *event, M_event_type_t type, M_io_t *io, void *cb_arg)
Definition: m_event.h:227
struct M_event M_event_t
Definition: m_event.h:210
struct M_io_ble_enum M_io_ble_enum_t
Definition: m_io_ble.h:1175
void M_io_ble_meta_set_write_type(M_io_t *io, M_io_meta_t *meta, M_io_ble_wtype_t type)
M_io_ble_rtype_t M_io_ble_meta_get_read_type(M_io_t *io, M_io_meta_t *meta)
M_io_ble_wtype_t
Definition: m_io_ble.h:1135
M_bool M_io_ble_scan(M_event_t *event, M_event_callback_t callback, void *cb_data, M_uint64 timeout_ms)
const char * M_io_ble_enum_name(const M_io_ble_enum_t *btenum, size_t idx)
M_time_t M_io_ble_enum_last_seen(const M_io_ble_enum_t *btenum, size_t idx)
M_io_error_t M_io_ble_create_with_service(M_io_t **io_out, const char *service_uuid, M_uint64 timeout_ms)
M_list_str_t * M_io_ble_get_services(M_io_t *io)
const char * M_io_ble_meta_get_characteristic(M_io_t *io, M_io_meta_t *meta)
M_list_str_t * M_io_ble_get_service_characteristics(M_io_t *io, const char *service_uuid)
const char * M_io_ble_meta_get_service(M_io_t *io, M_io_meta_t *meta)
M_bool M_io_ble_meta_get_rssi(M_io_t *io, M_io_meta_t *meta, M_int64 *rssi)
char * M_io_ble_get_identifier(M_io_t *io)
M_io_error_t M_io_ble_create(M_io_t **io_out, const char *identifier, M_uint64 timeout_ms)
M_bool M_io_ble_get_last_write_characteristic(M_io_t *io, char **service_uuid, char **characteristic_uuid)
size_t M_io_ble_enum_count(const M_io_ble_enum_t *btenum)
const char * M_io_ble_enum_identifier(const M_io_ble_enum_t *btenum, size_t idx)
M_io_ble_enum_t * M_io_ble_enum(void)
void M_io_ble_meta_set_service(M_io_t *io, M_io_meta_t *meta, const char *service_uuid)
M_io_ble_property_t
Definition: m_io_ble.h:1165
M_io_ble_property_t M_io_ble_get_characteristic_properties(M_io_t *io, const char *service_uuid, const char *characteristic_uuid)
void M_io_ble_enum_destroy(M_io_ble_enum_t *btenum)
char * M_io_ble_get_name(M_io_t *io)
M_io_ble_wtype_t M_io_ble_meta_get_write_type(M_io_t *io, M_io_meta_t *meta)
void M_io_ble_get_max_write_sizes(M_io_t *io, size_t *with_response, size_t *without_response)
M_list_str_t * M_io_ble_enum_service_uuids(const M_io_ble_enum_t *btenum, size_t idx)
void M_io_ble_meta_set_notify(M_io_t *io, M_io_meta_t *meta, M_bool enable)
void M_io_ble_meta_set_characteristic(M_io_t *io, M_io_meta_t *meta, const char *characteristic_uuid)
M_io_ble_rtype_t
Definition: m_io_ble.h:1151
@ M_IO_BLE_WTYPE_REQNOTIFY
Definition: m_io_ble.h:1143
@ M_IO_BLE_WTYPE_REQVAL
Definition: m_io_ble.h:1139
@ M_IO_BLE_WTYPE_WRITE
Definition: m_io_ble.h:1136
@ M_IO_BLE_WTYPE_WRITENORESP
Definition: m_io_ble.h:1138
@ M_IO_BLE_WTYPE_REQRSSI
Definition: m_io_ble.h:1142
@ M_IO_BLE_PROPERTY_WRITE
Definition: m_io_ble.h:1168
@ M_IO_BLE_PROPERTY_WRITENORESP
Definition: m_io_ble.h:1169
@ M_IO_BLE_PROPERTY_READ
Definition: m_io_ble.h:1167
@ M_IO_BLE_PROPERTY_NONE
Definition: m_io_ble.h:1166
@ M_IO_BLE_PROPERTY_NOTIFY
Definition: m_io_ble.h:1170
@ M_IO_BLE_RTYPE_RSSI
Definition: m_io_ble.h:1153
@ M_IO_BLE_RTYPE_NOTIFY
Definition: m_io_ble.h:1154
@ M_IO_BLE_RTYPE_READ
Definition: m_io_ble.h:1152
enum M_io_error M_io_error_t
Definition: m_io.h:93
struct M_io M_io_t
Definition: m_io.h:59
struct M_io_meta M_io_meta_t
Definition: m_io.h:64
struct M_list_str M_list_str_t
Definition: m_list_str.h:80
M_int64 M_time_t
Definition: m_time.h:161