modified the mandatory fields with the ilhavo spot info
This commit is contained in:
parent
16b70f92da
commit
dd46251048
|
|
@ -71,9 +71,9 @@ static int mk_evcsnm(uint8_t *evcsnm_oer, uint32_t *evcsnm_len)
|
|||
cs0->chargingStationLocation.positionConfidenceEllipse.semiMajorConfidence = SemiAxisLength_unavailable;
|
||||
cs0->chargingStationLocation.positionConfidenceEllipse.semiMinorConfidence = SemiAxisLength_unavailable;
|
||||
cs0->chargingStationLocation.positionConfidenceEllipse.semiMajorOrientation = HeadingValue_unavailable;
|
||||
cs0->accessibility = *create_empty_utf8_string();
|
||||
cs0->pricing = *create_empty_utf8_string();
|
||||
cs0->openingDaysHours = *create_empty_utf8_string();
|
||||
cs0->accessibility = *create_utf8_from_string("Free Access", 11);
|
||||
cs0->pricing = *create_utf8_from_string(".15 €/kWh", 9);
|
||||
cs0->openingDaysHours = *create_utf8_from_string("Always", 6);
|
||||
const char* booking_url = "ccam.av.it.pt";
|
||||
cs0->bookingContactInfo = create_utf8_from_string(booking_url, strlen(booking_url));
|
||||
cs0->chargingSpotsAvailable.list.array = calloc(1, sizeof(void *));
|
||||
|
|
@ -81,7 +81,7 @@ static int mk_evcsnm(uint8_t *evcsnm_oer, uint32_t *evcsnm_len)
|
|||
cs0->chargingSpotsAvailable.list.size = sizeof(void *) * 1;
|
||||
cs0->chargingSpotsAvailable.list.array[0] = calloc(1, sizeof(struct ItsChargingSpotDataElements));
|
||||
struct ItsChargingSpotDataElements *cs_elem0 = cs0->chargingSpotsAvailable.list.array[0];
|
||||
cs_elem0->energyAvailability = *create_empty_utf8_string();
|
||||
cs_elem0->energyAvailability = *create_utf8_from_string("Max: 30kW", 9);
|
||||
cs_elem0->type.buf = calloc(1, sizeof(uint8_t));
|
||||
cs_elem0->type.size = 1;
|
||||
cs_elem0->type.bits_unused = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue