| 188 | } |
| 189 | |
| 190 | int 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 | |
| 203 | int BTLibBoard::find_bt_addr (const char *name_selector) |
| 204 | { |
nothing calls this directly
no test coverage detected