Varun Bahl / Mbed 2 deprecated Decryptulator

Dependencies:   BahlDecrypModified CyaSSL mbed nRF51822

Fork of Decryptulator by Mobius IoT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LookupTable.h Source File

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 };