Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BahlDecrypModified CyaSSL mbed nRF51822
Fork of Decryptulator by
LookupTable.h
00001 #pragma once 00002 00003 #include <stdio.h> 00004 #include "mbed.h" 00005 #include "ble/BLE.h" 00006 #include "ble/BLEProtocol.h" 00007 #include <map> 00008 00009 using namespace std; 00010 00011 class LookupTable{ 00012 private: 00013 pair<BLEProtocol::AddressBytes_t, unsigned char *> ** LookupTableStruct; 00014 void buildInitialLookupTable(); 00015 void lookupValue(); 00016 void clearLookupTable(void); 00017 public: 00018 LookupTable(void); 00019 ~LookupTable(void); 00020 int insertValue(BLEProtocol::AddressBytes_t scanned_ble_address, unsigned char * encryptedCounter); 00021 };
Generated on Fri Jul 15 2022 14:11:05 by
1.7.2
