4 Replies Latest reply on Aug 6, 2015 10:55 AM by bob.marlowe

    whitelist help


      Hello everyone!


      I am working with the whitelist example from the 100 projects list.


      I wanted to take it a step further and via code have an address already in the whitelist.


      So in the beginning of main.c I've added the definition for MasterFob as follows:


      //Structure containing address of device


      CYBLE_GAP_BD_ADDR_T whitelistdeviceaddress;


      CYBLE_GAP_BD_ADDR_T MasterFob;


      Then in the main() when initizing variables I tryed to do this:


      MasterFob = 0x00A050022629;


      I get an error here about trying to assign type "CYBLE_GAP_BD_ADDR_T" from type 'long long int'


      Can someone tell me the correct way of doing this?


      Afterwards, I plan on adding:




      This I think will get my device into the list.


      All help is appreciated!