ble/services/EddystoneService.h
int constructURLFrame(uint8_t *Data, uint8_t maxSize) {
        int index = 0;
        Data[index++] = FRAME_TYPE_URL;                     // 1B  Type
        Data[index++] = defaultUrlPower;                    // 1B  TX Power
        for (int x = 0; x < defaultUriDataLength; x++) {    // 18B of URL Prefix + encoded URL
            Data[index++] = defaultUriData[x];
        }
        DBG("constructURLFrame: %d, %d", maxSize, index);
        return index;
    }
/*
    *  Construct URL frame from private variables
    *  @param[in/out] Data pointer to array to store constructed frame in
    *  @param[in] maxSize number of bytes left in array, effectively how much emtpy space is available to write to
    *  @return number of bytes used. negative number indicates error message.
    */
Construct URL frame from private variables
@param[in/out] Data pointer to array to store constructed frame in
@param[in] maxSize number of bytes left in array, effectively how much emtpy space is available to write to
@return number of bytes used. negative number indicates error message.
Construct URL frame from private variables @param [ in / out ] Data pointer to array to store constructed frame in @param [ in ] maxSize number of bytes left in array effectively how much emtpy space is available to write to @return number of bytes used . negative number indicates error message .
int constructURLFrame(uint8_t *Data, uint8_t maxSize) {
        int index = 0;
        Data[index++] = FRAME_TYPE_URL;                     
        Data[index++] = defaultUrlPower;                    
        for (int x = 0; x < defaultUriDataLength; x++) {    
            Data[index++] = defaultUriData[x];
        }
        DBG("constructURLFrame: %d, %d", maxSize, index);
        return index;
    }
int constructURLFrame ( uint8_t * Data , uint8_t maxSize ) { int index = 0 ; Data [ index ++ ] = FRAME_TYPE_URL ; Data [ index ++ ] = defaultUrlPower ; for ( int x = 0 ; x < defaultUriDataLength ; x ++ ) { Data [ index ++ ] = defaultUriData [ x ] ; } DBG ( " " , maxSize , index ) ; return index ; }
Construct URL frame from private variables
  @param[in/out] Data pointer to array to store constructed frame in
  @param[in] maxSize number of bytes left in array, effectively how much emtpy space is available to write to
  @return number of bytes used.
Construct URL frame from private variables @param [ in / out ] Data pointer to array to store constructed frame in @param [ in ] maxSize number of bytes left in array effectively how much emtpy space is available to write to @return number of bytes used .
// 1B  Type // 1B  TX Power // 18B of URL Prefix + encoded URL