MCPcopy Create free account
hub / github.com/BruceDevices/firmware / AuthBypassEngine

Method AuthBypassEngine

src/modules/ble/BLE_Suite.cpp:2061–2066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2059//=============================================================================
2060
2061AuthBypassEngine::AuthBypassEngine() {
2062 uint8_t defaultKey[16] = {0};
2063 addKnownDevice("Windows-PC", "AA:BB:CC:DD:EE:FF", defaultKey);
2064 addKnownDevice("Android-Phone", "11:22:33:44:55:66", defaultKey);
2065 addKnownDevice("MacBook-Pro", "FF:EE:DD:CC:BB:AA", defaultKey);
2066}
2067
2068void AuthBypassEngine::addKnownDevice(const String &name, const String &address, uint8_t linkKey[16]) {
2069 PairedDevice device;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected