MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / bluetooth_get_data

Method bluetooth_get_data

src/board_controller/bt_lib_board.cpp:190–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190int BTLibBoard::bluetooth_get_data (char *data, int len)
191{
192 int (*func_get) (char *, int, char *) =
193 (int (*) (char *, int, char *))dll_loader->get_address ("bluetooth_get_data");
194 if (func_get == NULL)
195 {
196 safe_logger (spdlog::level::err, "failed to get function address for bluetooth_get_data");
197 return (int)BrainFlowExitCodes::GENERAL_ERROR;
198 }
199
200 return func_get (data, len, const_cast<char *> (params.mac_address.c_str ()));
201}
202
203int BTLibBoard::find_bt_addr (const char *name_selector)
204{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected