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

Function uchar2hex

src/utils/bluetooth/socket_bluetooth_win.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17
18std::string uchar2hex (unsigned char inchar)
19{
20 std::ostringstream oss (std::ostringstream::out);
21 oss << std::setw (2) << std::setfill ('0') << std::hex << (int)(inchar);
22 return oss.str ();
23}
24
25SocketBluetooth::SocketBluetooth (std::string mac_addr, int port)
26{

Callers 1

discoverMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected