Functions and types for data received from an MblMwDataSignal.
void(* MblMwFnData)(void *context, const MblMwData *data)
Definition for callback functions that handle data from an MblMwDataSignal.
Definition: data.h:52
Forward declaration for the MblMwDataSignal type.
struct MblMwDataSignal MblMwDataSignal
A event fired from the MetaWear board that also contains data.
Definition: datasignal_fwd.h:15
METAWEAR_API void mbl_mw_debug_set_stack_overflow_assertion(const MblMwMetaWearBoard *board, uint8_t enable)
Enables/disables stack overflow assertion.
METAWEAR_API void mbl_mw_debug_reset_after_gc(const MblMwMetaWearBoard *board)
Restarts the board after performing garbage collection.
METAWEAR_API void mbl_mw_debug_send_command(const MblMwMetaWearBoard *board, const uint8_t *value, uint8_t length)
Sends a raw command directly to the MetaWear.
METAWEAR_API void mbl_mw_debug_read_stack_overflow_state(const MblMwMetaWearBoard *board, void *context, MblMwFnData handler)
Reads the current stack state.
METAWEAR_API void mbl_mw_debug_reset(const MblMwMetaWearBoard *board)
Issues a soft reset.
METAWEAR_API void mbl_mw_debug_read_schedule_queue_usage(const MblMwMetaWearBoard *board, void *context, MblMwFnData handler)
Reads the internal queues' current usage statistics; data is returned as a byte array.
METAWEAR_API MblMwDataSignal * mbl_mw_debug_get_key_register_data_signal(const MblMwMetaWearBoard *board)
Retrieves a data signal representing the key register value.
METAWEAR_API void mbl_mw_debug_jump_to_bootloader(const MblMwMetaWearBoard *board)
Restarts the board in bootloader mode.
METAWEAR_API void mbl_mw_debug_set_key_register(const MblMwMetaWearBoard *board, uint32_t value)
Sets the key register value.
METAWEAR_API void mbl_mw_debug_enable_power_save(const MblMwMetaWearBoard *board)
Places the board in a powered down state after the next reset.
METAWEAR_API void mbl_mw_debug_disconnect(const MblMwMetaWearBoard *board)
Instructs the board to terminate the connection.
METAWEAR_API void mbl_mw_debug_spoof_notification(const MblMwMetaWearBoard *board, const uint8_t *value, uint8_t length)
Creates a synthetic notification internally to the MetaWear system.
Macros for identifying exported functions.
#define METAWEAR_API
Indicates the function should be exported to the symbol table
Definition: dllmarker.h:27