• Jan's avatar
    Implement the BD_ADDR(char * address_string) constructor. (#1440) · 4def2f21
    Jan authored
    * Implement the BD_ADDR(char * address_string) constructor.
    
    * Updating implementation to use sscanf.
    
    There is an extra step after the sscanf that checks that we got
    six bytes back and if we did not, it will set all bytes in the
    address to zero.
    
    * Example using BD_ADDR(const char * address_string)
    
    This example shows how BD_ADDR(const char * address_string) can
    be used to create BD_ADDR objects to use for comparisons etc.
    
    * Update LEDeviceScanner.ino formatting
    4def2f21
LEDeviceScanner.ino 2.08 KB