         .flag                = (ESP_BLE_ADV_FLAG_GEN_DISC|ESP_BLE_ADV_FLAG_BREDR_NOT_SPT)
 };
 
-static esp_ble_adv_params_t _adv_params = {
+static esp_ble_adv_params_t advertisement_params = {
         .adv_int_min         = 512,
         .adv_int_max         = 1024,
         .adv_type            = ADV_TYPE_NONCONN_IND,

        return false;
    }

    _adv_config.p_manufacturer_data = custom_data.raw;
    _adv_config.manufacturer_len = sizeof(custom_data_t);
    if(esp_ble_gap_config_adv_data(&_adv_config)){
        log_e("gap_config_adv_data failed");
        return false;
    }

    return true;
}

///////////////////////////
// GPS INPUT PARSING

void 
gps_read_into( beacon_data_t * beaconData)
{   
    static long counter = 0;  //example only
    counter = counter + 1;    //example only
    Serial.println(counter);
    //@Nancy, can you fill out the following with real GPS info?
    beaconData->fields.gpsForwardBearing            = counter;
    beaconData->fields.gpsLatitute                  = beaconData->fields.gpsLatitute;  // times by GPS_SCALE;
    beaconData->fields.gpsLongitude                 = beaconData->fields.gpsLongitude; // times by GPS_SCALE;
    beaconData->fields.gpsForwardSpeed              = beaconData->fields.gpsForwardSpeed;
    beaconData->fields.forwardExclusionZoneDistance = beaconData->fields.forwardExclusionZoneDistance;
    beaconData->fields.rearExclusionZoneDistance    = beaconData->fields.rearExclusionZoneDistance;
    beaconData->fields.sideExclusionZoneDistance    = beaconData->fields.sideExclusionZoneDistance;
}

 
//////////////////////////////
// ARDUINO SUPPORT FUNCTIONS

void 
setup() {
    Serial.begin(115200);
    Serial.setDebugOutput(true);
    pinMode(LED_BUILTIN, OUTPUT);
