Documentation
¶
Index ¶
- type CP
- func (c CP) Authorize(ctx context.Context, req messages.AuthorizeRequest) (messages.AuthorizeResponse, error)
- func (c CP) AuthorizeAsync(ctx context.Context, req messages.AuthorizeRequest, ...) error
- func (c CP) BootNotification(ctx context.Context, req messages.BootNotificationRequest) (messages.BootNotificationResponse, error)
- func (c CP) BootNotificationAsync(ctx context.Context, req messages.BootNotificationRequest, ...) error
- func (c CP) DataTransfer(ctx context.Context, req messages.DataTransferRequest) (messages.DataTransferResponse, error)
- func (c CP) DataTransferAsync(ctx context.Context, req messages.DataTransferRequest, ...) error
- func (c CP) DiagnosticsStatusNotification(ctx context.Context, req messages.DiagnosticsStatusNotificationRequest) (messages.DiagnosticsStatusNotificationResponse, error)
- func (c CP) DiagnosticsStatusNotificationAsync(ctx context.Context, req messages.DiagnosticsStatusNotificationRequest, ...) error
- func (c CP) FirmwareStatusNotification(ctx context.Context, req messages.FirmwareStatusNotificationRequest) (messages.FirmwareStatusNotificationResponse, error)
- func (c CP) FirmwareStatusNotificationAsync(ctx context.Context, req messages.FirmwareStatusNotificationRequest, ...) error
- func (c CP) Heartbeat(ctx context.Context, req messages.HeartbeatRequest) (messages.HeartbeatResponse, error)
- func (c CP) HeartbeatAsync(ctx context.Context, req messages.HeartbeatRequest, ...) error
- func (c CP) LogStatusNotification(ctx context.Context, req messages.LogStatusNotificationRequest) (messages.LogStatusNotificationResponse, error)
- func (c CP) LogStatusNotificationAsync(ctx context.Context, req messages.LogStatusNotificationRequest, ...) error
- func (c CP) MeterValues(ctx context.Context, req messages.MeterValuesRequest) (messages.MeterValuesResponse, error)
- func (c CP) MeterValuesAsync(ctx context.Context, req messages.MeterValuesRequest, ...) error
- func (c CP) SecurityEventNotification(ctx context.Context, req messages.SecurityEventNotificationRequest) (messages.SecurityEventNotificationResponse, error)
- func (c CP) SecurityEventNotificationAsync(ctx context.Context, req messages.SecurityEventNotificationRequest, ...) error
- func (c CP) SignCertificate(ctx context.Context, req messages.SignCertificateRequest) (messages.SignCertificateResponse, error)
- func (c CP) SignCertificateAsync(ctx context.Context, req messages.SignCertificateRequest, ...) error
- func (c CP) SignedFirmwareStatusNotification(ctx context.Context, req messages.SignedFirmwareStatusNotificationRequest) (messages.SignedFirmwareStatusNotificationResponse, error)
- func (c CP) SignedFirmwareStatusNotificationAsync(ctx context.Context, req messages.SignedFirmwareStatusNotificationRequest, ...) error
- func (c CP) StartTransaction(ctx context.Context, req messages.StartTransactionRequest) (messages.StartTransactionResponse, error)
- func (c CP) StartTransactionAsync(ctx context.Context, req messages.StartTransactionRequest, ...) error
- func (c CP) StatusNotification(ctx context.Context, req messages.StatusNotificationRequest) (messages.StatusNotificationResponse, error)
- func (c CP) StatusNotificationAsync(ctx context.Context, req messages.StatusNotificationRequest, ...) error
- func (c CP) StopTransaction(ctx context.Context, req messages.StopTransactionRequest) (messages.StopTransactionResponse, error)
- func (c CP) StopTransactionAsync(ctx context.Context, req messages.StopTransactionRequest, ...) error
- type CSMS
- func (c CSMS) CancelReservation(ctx context.Context, req messages.CancelReservationRequest) (messages.CancelReservationResponse, error)
- func (c CSMS) CancelReservationAsync(ctx context.Context, req messages.CancelReservationRequest, ...) error
- func (c CSMS) CertificateSigned(ctx context.Context, req messages.CertificateSignedRequest) (messages.CertificateSignedResponse, error)
- func (c CSMS) CertificateSignedAsync(ctx context.Context, req messages.CertificateSignedRequest, ...) error
- func (c CSMS) ChangeAvailability(ctx context.Context, req messages.ChangeAvailabilityRequest) (messages.ChangeAvailabilityResponse, error)
- func (c CSMS) ChangeAvailabilityAsync(ctx context.Context, req messages.ChangeAvailabilityRequest, ...) error
- func (c CSMS) ChangeConfiguration(ctx context.Context, req messages.ChangeConfigurationRequest) (messages.ChangeConfigurationResponse, error)
- func (c CSMS) ChangeConfigurationAsync(ctx context.Context, req messages.ChangeConfigurationRequest, ...) error
- func (c CSMS) ClearCache(ctx context.Context, req messages.ClearCacheRequest) (messages.ClearCacheResponse, error)
- func (c CSMS) ClearCacheAsync(ctx context.Context, req messages.ClearCacheRequest, ...) error
- func (c CSMS) ClearChargingProfile(ctx context.Context, req messages.ClearChargingProfileRequest) (messages.ClearChargingProfileResponse, error)
- func (c CSMS) ClearChargingProfileAsync(ctx context.Context, req messages.ClearChargingProfileRequest, ...) error
- func (c CSMS) DataTransfer(ctx context.Context, req messages.DataTransferRequest) (messages.DataTransferResponse, error)
- func (c CSMS) DataTransferAsync(ctx context.Context, req messages.DataTransferRequest, ...) error
- func (c CSMS) DeleteCertificate(ctx context.Context, req messages.DeleteCertificateRequest) (messages.DeleteCertificateResponse, error)
- func (c CSMS) DeleteCertificateAsync(ctx context.Context, req messages.DeleteCertificateRequest, ...) error
- func (c CSMS) ExtendedTriggerMessage(ctx context.Context, req messages.ExtendedTriggerMessageRequest) (messages.ExtendedTriggerMessageResponse, error)
- func (c CSMS) ExtendedTriggerMessageAsync(ctx context.Context, req messages.ExtendedTriggerMessageRequest, ...) error
- func (c CSMS) GetCompositeSchedule(ctx context.Context, req messages.GetCompositeScheduleRequest) (messages.GetCompositeScheduleResponse, error)
- func (c CSMS) GetCompositeScheduleAsync(ctx context.Context, req messages.GetCompositeScheduleRequest, ...) error
- func (c CSMS) GetConfiguration(ctx context.Context, req messages.GetConfigurationRequest) (messages.GetConfigurationResponse, error)
- func (c CSMS) GetConfigurationAsync(ctx context.Context, req messages.GetConfigurationRequest, ...) error
- func (c CSMS) GetDiagnostics(ctx context.Context, req messages.GetDiagnosticsRequest) (messages.GetDiagnosticsResponse, error)
- func (c CSMS) GetDiagnosticsAsync(ctx context.Context, req messages.GetDiagnosticsRequest, ...) error
- func (c CSMS) GetInstalledCertificateIds(ctx context.Context, req messages.GetInstalledCertificateIdsRequest) (messages.GetInstalledCertificateIdsResponse, error)
- func (c CSMS) GetInstalledCertificateIdsAsync(ctx context.Context, req messages.GetInstalledCertificateIdsRequest, ...) error
- func (c CSMS) GetLocalListVersion(ctx context.Context, req messages.GetLocalListVersionRequest) (messages.GetLocalListVersionResponse, error)
- func (c CSMS) GetLocalListVersionAsync(ctx context.Context, req messages.GetLocalListVersionRequest, ...) error
- func (c CSMS) GetLog(ctx context.Context, req messages.GetLogRequest) (messages.GetLogResponse, error)
- func (c CSMS) GetLogAsync(ctx context.Context, req messages.GetLogRequest, ...) error
- func (c CSMS) InstallCertificate(ctx context.Context, req messages.InstallCertificateRequest) (messages.InstallCertificateResponse, error)
- func (c CSMS) InstallCertificateAsync(ctx context.Context, req messages.InstallCertificateRequest, ...) error
- func (c CSMS) RemoteStartTransaction(ctx context.Context, req messages.RemoteStartTransactionRequest) (messages.RemoteStartTransactionResponse, error)
- func (c CSMS) RemoteStartTransactionAsync(ctx context.Context, req messages.RemoteStartTransactionRequest, ...) error
- func (c CSMS) RemoteStopTransaction(ctx context.Context, req messages.RemoteStopTransactionRequest) (messages.RemoteStopTransactionResponse, error)
- func (c CSMS) RemoteStopTransactionAsync(ctx context.Context, req messages.RemoteStopTransactionRequest, ...) error
- func (c CSMS) ReserveNow(ctx context.Context, req messages.ReserveNowRequest) (messages.ReserveNowResponse, error)
- func (c CSMS) ReserveNowAsync(ctx context.Context, req messages.ReserveNowRequest, ...) error
- func (c CSMS) Reset(ctx context.Context, req messages.ResetRequest) (messages.ResetResponse, error)
- func (c CSMS) ResetAsync(ctx context.Context, req messages.ResetRequest, ...) error
- func (c CSMS) SendLocalList(ctx context.Context, req messages.SendLocalListRequest) (messages.SendLocalListResponse, error)
- func (c CSMS) SendLocalListAsync(ctx context.Context, req messages.SendLocalListRequest, ...) error
- func (c CSMS) SetChargingProfile(ctx context.Context, req messages.SetChargingProfileRequest) (messages.SetChargingProfileResponse, error)
- func (c CSMS) SetChargingProfileAsync(ctx context.Context, req messages.SetChargingProfileRequest, ...) error
- func (c CSMS) SignedUpdateFirmware(ctx context.Context, req messages.SignedUpdateFirmwareRequest) (messages.SignedUpdateFirmwareResponse, error)
- func (c CSMS) SignedUpdateFirmwareAsync(ctx context.Context, req messages.SignedUpdateFirmwareRequest, ...) error
- func (c CSMS) TriggerMessage(ctx context.Context, req messages.TriggerMessageRequest) (messages.TriggerMessageResponse, error)
- func (c CSMS) TriggerMessageAsync(ctx context.Context, req messages.TriggerMessageRequest, ...) error
- func (c CSMS) UnlockConnector(ctx context.Context, req messages.UnlockConnectorRequest) (messages.UnlockConnectorResponse, error)
- func (c CSMS) UnlockConnectorAsync(ctx context.Context, req messages.UnlockConnectorRequest, ...) error
- func (c CSMS) UpdateFirmware(ctx context.Context, req messages.UpdateFirmwareRequest) (messages.UpdateFirmwareResponse, error)
- func (c CSMS) UpdateFirmwareAsync(ctx context.Context, req messages.UpdateFirmwareRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CP ¶
CP wraps *cp.Client with typed send methods for messages a charge point sends to the CSMS.
func (CP) Authorize ¶
func (c CP) Authorize(ctx context.Context, req messages.AuthorizeRequest) (messages.AuthorizeResponse, error)
Authorize sends a Authorize request from the charge point to the CSMS.
func (CP) AuthorizeAsync ¶
func (c CP) AuthorizeAsync(ctx context.Context, req messages.AuthorizeRequest, cb func(messages.AuthorizeResponse, error)) error
AuthorizeAsync sends a Authorize request without blocking, delivering the response to cb.
func (CP) BootNotification ¶
func (c CP) BootNotification(ctx context.Context, req messages.BootNotificationRequest) (messages.BootNotificationResponse, error)
BootNotification sends a BootNotification request from the charge point to the CSMS.
func (CP) BootNotificationAsync ¶
func (c CP) BootNotificationAsync(ctx context.Context, req messages.BootNotificationRequest, cb func(messages.BootNotificationResponse, error)) error
BootNotificationAsync sends a BootNotification request without blocking, delivering the response to cb.
func (CP) DataTransfer ¶
func (c CP) DataTransfer(ctx context.Context, req messages.DataTransferRequest) (messages.DataTransferResponse, error)
DataTransfer sends a DataTransfer request from the charge point to the CSMS.
func (CP) DataTransferAsync ¶
func (c CP) DataTransferAsync(ctx context.Context, req messages.DataTransferRequest, cb func(messages.DataTransferResponse, error)) error
DataTransferAsync sends a DataTransfer request without blocking, delivering the response to cb.
func (CP) DiagnosticsStatusNotification ¶
func (c CP) DiagnosticsStatusNotification(ctx context.Context, req messages.DiagnosticsStatusNotificationRequest) (messages.DiagnosticsStatusNotificationResponse, error)
DiagnosticsStatusNotification sends a DiagnosticsStatusNotification request from the charge point to the CSMS.
func (CP) DiagnosticsStatusNotificationAsync ¶
func (c CP) DiagnosticsStatusNotificationAsync(ctx context.Context, req messages.DiagnosticsStatusNotificationRequest, cb func(messages.DiagnosticsStatusNotificationResponse, error)) error
DiagnosticsStatusNotificationAsync sends a DiagnosticsStatusNotification request without blocking, delivering the response to cb.
func (CP) FirmwareStatusNotification ¶
func (c CP) FirmwareStatusNotification(ctx context.Context, req messages.FirmwareStatusNotificationRequest) (messages.FirmwareStatusNotificationResponse, error)
FirmwareStatusNotification sends a FirmwareStatusNotification request from the charge point to the CSMS.
func (CP) FirmwareStatusNotificationAsync ¶
func (c CP) FirmwareStatusNotificationAsync(ctx context.Context, req messages.FirmwareStatusNotificationRequest, cb func(messages.FirmwareStatusNotificationResponse, error)) error
FirmwareStatusNotificationAsync sends a FirmwareStatusNotification request without blocking, delivering the response to cb.
func (CP) Heartbeat ¶
func (c CP) Heartbeat(ctx context.Context, req messages.HeartbeatRequest) (messages.HeartbeatResponse, error)
Heartbeat sends a Heartbeat request from the charge point to the CSMS.
func (CP) HeartbeatAsync ¶
func (c CP) HeartbeatAsync(ctx context.Context, req messages.HeartbeatRequest, cb func(messages.HeartbeatResponse, error)) error
HeartbeatAsync sends a Heartbeat request without blocking, delivering the response to cb.
func (CP) LogStatusNotification ¶
func (c CP) LogStatusNotification(ctx context.Context, req messages.LogStatusNotificationRequest) (messages.LogStatusNotificationResponse, error)
LogStatusNotification sends a LogStatusNotification request from the charge point to the CSMS.
func (CP) LogStatusNotificationAsync ¶
func (c CP) LogStatusNotificationAsync(ctx context.Context, req messages.LogStatusNotificationRequest, cb func(messages.LogStatusNotificationResponse, error)) error
LogStatusNotificationAsync sends a LogStatusNotification request without blocking, delivering the response to cb.
func (CP) MeterValues ¶
func (c CP) MeterValues(ctx context.Context, req messages.MeterValuesRequest) (messages.MeterValuesResponse, error)
MeterValues sends a MeterValues request from the charge point to the CSMS.
func (CP) MeterValuesAsync ¶
func (c CP) MeterValuesAsync(ctx context.Context, req messages.MeterValuesRequest, cb func(messages.MeterValuesResponse, error)) error
MeterValuesAsync sends a MeterValues request without blocking, delivering the response to cb.
func (CP) SecurityEventNotification ¶
func (c CP) SecurityEventNotification(ctx context.Context, req messages.SecurityEventNotificationRequest) (messages.SecurityEventNotificationResponse, error)
SecurityEventNotification sends a SecurityEventNotification request from the charge point to the CSMS.
func (CP) SecurityEventNotificationAsync ¶
func (c CP) SecurityEventNotificationAsync(ctx context.Context, req messages.SecurityEventNotificationRequest, cb func(messages.SecurityEventNotificationResponse, error)) error
SecurityEventNotificationAsync sends a SecurityEventNotification request without blocking, delivering the response to cb.
func (CP) SignCertificate ¶
func (c CP) SignCertificate(ctx context.Context, req messages.SignCertificateRequest) (messages.SignCertificateResponse, error)
SignCertificate sends a SignCertificate request from the charge point to the CSMS.
func (CP) SignCertificateAsync ¶
func (c CP) SignCertificateAsync(ctx context.Context, req messages.SignCertificateRequest, cb func(messages.SignCertificateResponse, error)) error
SignCertificateAsync sends a SignCertificate request without blocking, delivering the response to cb.
func (CP) SignedFirmwareStatusNotification ¶
func (c CP) SignedFirmwareStatusNotification(ctx context.Context, req messages.SignedFirmwareStatusNotificationRequest) (messages.SignedFirmwareStatusNotificationResponse, error)
SignedFirmwareStatusNotification sends a SignedFirmwareStatusNotification request from the charge point to the CSMS.
func (CP) SignedFirmwareStatusNotificationAsync ¶
func (c CP) SignedFirmwareStatusNotificationAsync(ctx context.Context, req messages.SignedFirmwareStatusNotificationRequest, cb func(messages.SignedFirmwareStatusNotificationResponse, error)) error
SignedFirmwareStatusNotificationAsync sends a SignedFirmwareStatusNotification request without blocking, delivering the response to cb.
func (CP) StartTransaction ¶
func (c CP) StartTransaction(ctx context.Context, req messages.StartTransactionRequest) (messages.StartTransactionResponse, error)
StartTransaction sends a StartTransaction request from the charge point to the CSMS.
func (CP) StartTransactionAsync ¶
func (c CP) StartTransactionAsync(ctx context.Context, req messages.StartTransactionRequest, cb func(messages.StartTransactionResponse, error)) error
StartTransactionAsync sends a StartTransaction request without blocking, delivering the response to cb.
func (CP) StatusNotification ¶
func (c CP) StatusNotification(ctx context.Context, req messages.StatusNotificationRequest) (messages.StatusNotificationResponse, error)
StatusNotification sends a StatusNotification request from the charge point to the CSMS.
func (CP) StatusNotificationAsync ¶
func (c CP) StatusNotificationAsync(ctx context.Context, req messages.StatusNotificationRequest, cb func(messages.StatusNotificationResponse, error)) error
StatusNotificationAsync sends a StatusNotification request without blocking, delivering the response to cb.
func (CP) StopTransaction ¶
func (c CP) StopTransaction(ctx context.Context, req messages.StopTransactionRequest) (messages.StopTransactionResponse, error)
StopTransaction sends a StopTransaction request from the charge point to the CSMS.
func (CP) StopTransactionAsync ¶
func (c CP) StopTransactionAsync(ctx context.Context, req messages.StopTransactionRequest, cb func(messages.StopTransactionResponse, error)) error
StopTransactionAsync sends a StopTransaction request without blocking, delivering the response to cb.
type CSMS ¶
CSMS wraps *csms.Conn with typed send methods for messages a CSMS sends to a connected charge point.
func (CSMS) CancelReservation ¶
func (c CSMS) CancelReservation(ctx context.Context, req messages.CancelReservationRequest) (messages.CancelReservationResponse, error)
CancelReservation sends a CancelReservation request from the CSMS to the charge point.
func (CSMS) CancelReservationAsync ¶
func (c CSMS) CancelReservationAsync(ctx context.Context, req messages.CancelReservationRequest, cb func(messages.CancelReservationResponse, error)) error
CancelReservationAsync sends a CancelReservation request without blocking, delivering the response to cb.
func (CSMS) CertificateSigned ¶
func (c CSMS) CertificateSigned(ctx context.Context, req messages.CertificateSignedRequest) (messages.CertificateSignedResponse, error)
CertificateSigned sends a CertificateSigned request from the CSMS to the charge point.
func (CSMS) CertificateSignedAsync ¶
func (c CSMS) CertificateSignedAsync(ctx context.Context, req messages.CertificateSignedRequest, cb func(messages.CertificateSignedResponse, error)) error
CertificateSignedAsync sends a CertificateSigned request without blocking, delivering the response to cb.
func (CSMS) ChangeAvailability ¶
func (c CSMS) ChangeAvailability(ctx context.Context, req messages.ChangeAvailabilityRequest) (messages.ChangeAvailabilityResponse, error)
ChangeAvailability sends a ChangeAvailability request from the CSMS to the charge point.
func (CSMS) ChangeAvailabilityAsync ¶
func (c CSMS) ChangeAvailabilityAsync(ctx context.Context, req messages.ChangeAvailabilityRequest, cb func(messages.ChangeAvailabilityResponse, error)) error
ChangeAvailabilityAsync sends a ChangeAvailability request without blocking, delivering the response to cb.
func (CSMS) ChangeConfiguration ¶
func (c CSMS) ChangeConfiguration(ctx context.Context, req messages.ChangeConfigurationRequest) (messages.ChangeConfigurationResponse, error)
ChangeConfiguration sends a ChangeConfiguration request from the CSMS to the charge point.
func (CSMS) ChangeConfigurationAsync ¶
func (c CSMS) ChangeConfigurationAsync(ctx context.Context, req messages.ChangeConfigurationRequest, cb func(messages.ChangeConfigurationResponse, error)) error
ChangeConfigurationAsync sends a ChangeConfiguration request without blocking, delivering the response to cb.
func (CSMS) ClearCache ¶
func (c CSMS) ClearCache(ctx context.Context, req messages.ClearCacheRequest) (messages.ClearCacheResponse, error)
ClearCache sends a ClearCache request from the CSMS to the charge point.
func (CSMS) ClearCacheAsync ¶
func (c CSMS) ClearCacheAsync(ctx context.Context, req messages.ClearCacheRequest, cb func(messages.ClearCacheResponse, error)) error
ClearCacheAsync sends a ClearCache request without blocking, delivering the response to cb.
func (CSMS) ClearChargingProfile ¶
func (c CSMS) ClearChargingProfile(ctx context.Context, req messages.ClearChargingProfileRequest) (messages.ClearChargingProfileResponse, error)
ClearChargingProfile sends a ClearChargingProfile request from the CSMS to the charge point.
func (CSMS) ClearChargingProfileAsync ¶
func (c CSMS) ClearChargingProfileAsync(ctx context.Context, req messages.ClearChargingProfileRequest, cb func(messages.ClearChargingProfileResponse, error)) error
ClearChargingProfileAsync sends a ClearChargingProfile request without blocking, delivering the response to cb.
func (CSMS) DataTransfer ¶
func (c CSMS) DataTransfer(ctx context.Context, req messages.DataTransferRequest) (messages.DataTransferResponse, error)
DataTransfer sends a DataTransfer request from the CSMS to the charge point.
func (CSMS) DataTransferAsync ¶
func (c CSMS) DataTransferAsync(ctx context.Context, req messages.DataTransferRequest, cb func(messages.DataTransferResponse, error)) error
DataTransferAsync sends a DataTransfer request without blocking, delivering the response to cb.
func (CSMS) DeleteCertificate ¶
func (c CSMS) DeleteCertificate(ctx context.Context, req messages.DeleteCertificateRequest) (messages.DeleteCertificateResponse, error)
DeleteCertificate sends a DeleteCertificate request from the CSMS to the charge point.
func (CSMS) DeleteCertificateAsync ¶
func (c CSMS) DeleteCertificateAsync(ctx context.Context, req messages.DeleteCertificateRequest, cb func(messages.DeleteCertificateResponse, error)) error
DeleteCertificateAsync sends a DeleteCertificate request without blocking, delivering the response to cb.
func (CSMS) ExtendedTriggerMessage ¶
func (c CSMS) ExtendedTriggerMessage(ctx context.Context, req messages.ExtendedTriggerMessageRequest) (messages.ExtendedTriggerMessageResponse, error)
ExtendedTriggerMessage sends a ExtendedTriggerMessage request from the CSMS to the charge point.
func (CSMS) ExtendedTriggerMessageAsync ¶
func (c CSMS) ExtendedTriggerMessageAsync(ctx context.Context, req messages.ExtendedTriggerMessageRequest, cb func(messages.ExtendedTriggerMessageResponse, error)) error
ExtendedTriggerMessageAsync sends a ExtendedTriggerMessage request without blocking, delivering the response to cb.
func (CSMS) GetCompositeSchedule ¶
func (c CSMS) GetCompositeSchedule(ctx context.Context, req messages.GetCompositeScheduleRequest) (messages.GetCompositeScheduleResponse, error)
GetCompositeSchedule sends a GetCompositeSchedule request from the CSMS to the charge point.
func (CSMS) GetCompositeScheduleAsync ¶
func (c CSMS) GetCompositeScheduleAsync(ctx context.Context, req messages.GetCompositeScheduleRequest, cb func(messages.GetCompositeScheduleResponse, error)) error
GetCompositeScheduleAsync sends a GetCompositeSchedule request without blocking, delivering the response to cb.
func (CSMS) GetConfiguration ¶
func (c CSMS) GetConfiguration(ctx context.Context, req messages.GetConfigurationRequest) (messages.GetConfigurationResponse, error)
GetConfiguration sends a GetConfiguration request from the CSMS to the charge point.
func (CSMS) GetConfigurationAsync ¶
func (c CSMS) GetConfigurationAsync(ctx context.Context, req messages.GetConfigurationRequest, cb func(messages.GetConfigurationResponse, error)) error
GetConfigurationAsync sends a GetConfiguration request without blocking, delivering the response to cb.
func (CSMS) GetDiagnostics ¶
func (c CSMS) GetDiagnostics(ctx context.Context, req messages.GetDiagnosticsRequest) (messages.GetDiagnosticsResponse, error)
GetDiagnostics sends a GetDiagnostics request from the CSMS to the charge point.
func (CSMS) GetDiagnosticsAsync ¶
func (c CSMS) GetDiagnosticsAsync(ctx context.Context, req messages.GetDiagnosticsRequest, cb func(messages.GetDiagnosticsResponse, error)) error
GetDiagnosticsAsync sends a GetDiagnostics request without blocking, delivering the response to cb.
func (CSMS) GetInstalledCertificateIds ¶
func (c CSMS) GetInstalledCertificateIds(ctx context.Context, req messages.GetInstalledCertificateIdsRequest) (messages.GetInstalledCertificateIdsResponse, error)
GetInstalledCertificateIds sends a GetInstalledCertificateIds request from the CSMS to the charge point.
func (CSMS) GetInstalledCertificateIdsAsync ¶
func (c CSMS) GetInstalledCertificateIdsAsync(ctx context.Context, req messages.GetInstalledCertificateIdsRequest, cb func(messages.GetInstalledCertificateIdsResponse, error)) error
GetInstalledCertificateIdsAsync sends a GetInstalledCertificateIds request without blocking, delivering the response to cb.
func (CSMS) GetLocalListVersion ¶
func (c CSMS) GetLocalListVersion(ctx context.Context, req messages.GetLocalListVersionRequest) (messages.GetLocalListVersionResponse, error)
GetLocalListVersion sends a GetLocalListVersion request from the CSMS to the charge point.
func (CSMS) GetLocalListVersionAsync ¶
func (c CSMS) GetLocalListVersionAsync(ctx context.Context, req messages.GetLocalListVersionRequest, cb func(messages.GetLocalListVersionResponse, error)) error
GetLocalListVersionAsync sends a GetLocalListVersion request without blocking, delivering the response to cb.
func (CSMS) GetLog ¶
func (c CSMS) GetLog(ctx context.Context, req messages.GetLogRequest) (messages.GetLogResponse, error)
GetLog sends a GetLog request from the CSMS to the charge point.
func (CSMS) GetLogAsync ¶
func (c CSMS) GetLogAsync(ctx context.Context, req messages.GetLogRequest, cb func(messages.GetLogResponse, error)) error
GetLogAsync sends a GetLog request without blocking, delivering the response to cb.
func (CSMS) InstallCertificate ¶
func (c CSMS) InstallCertificate(ctx context.Context, req messages.InstallCertificateRequest) (messages.InstallCertificateResponse, error)
InstallCertificate sends a InstallCertificate request from the CSMS to the charge point.
func (CSMS) InstallCertificateAsync ¶
func (c CSMS) InstallCertificateAsync(ctx context.Context, req messages.InstallCertificateRequest, cb func(messages.InstallCertificateResponse, error)) error
InstallCertificateAsync sends a InstallCertificate request without blocking, delivering the response to cb.
func (CSMS) RemoteStartTransaction ¶
func (c CSMS) RemoteStartTransaction(ctx context.Context, req messages.RemoteStartTransactionRequest) (messages.RemoteStartTransactionResponse, error)
RemoteStartTransaction sends a RemoteStartTransaction request from the CSMS to the charge point.
func (CSMS) RemoteStartTransactionAsync ¶
func (c CSMS) RemoteStartTransactionAsync(ctx context.Context, req messages.RemoteStartTransactionRequest, cb func(messages.RemoteStartTransactionResponse, error)) error
RemoteStartTransactionAsync sends a RemoteStartTransaction request without blocking, delivering the response to cb.
func (CSMS) RemoteStopTransaction ¶
func (c CSMS) RemoteStopTransaction(ctx context.Context, req messages.RemoteStopTransactionRequest) (messages.RemoteStopTransactionResponse, error)
RemoteStopTransaction sends a RemoteStopTransaction request from the CSMS to the charge point.
func (CSMS) RemoteStopTransactionAsync ¶
func (c CSMS) RemoteStopTransactionAsync(ctx context.Context, req messages.RemoteStopTransactionRequest, cb func(messages.RemoteStopTransactionResponse, error)) error
RemoteStopTransactionAsync sends a RemoteStopTransaction request without blocking, delivering the response to cb.
func (CSMS) ReserveNow ¶
func (c CSMS) ReserveNow(ctx context.Context, req messages.ReserveNowRequest) (messages.ReserveNowResponse, error)
ReserveNow sends a ReserveNow request from the CSMS to the charge point.
func (CSMS) ReserveNowAsync ¶
func (c CSMS) ReserveNowAsync(ctx context.Context, req messages.ReserveNowRequest, cb func(messages.ReserveNowResponse, error)) error
ReserveNowAsync sends a ReserveNow request without blocking, delivering the response to cb.
func (CSMS) Reset ¶
func (c CSMS) Reset(ctx context.Context, req messages.ResetRequest) (messages.ResetResponse, error)
Reset sends a Reset request from the CSMS to the charge point.
func (CSMS) ResetAsync ¶
func (c CSMS) ResetAsync(ctx context.Context, req messages.ResetRequest, cb func(messages.ResetResponse, error)) error
ResetAsync sends a Reset request without blocking, delivering the response to cb.
func (CSMS) SendLocalList ¶
func (c CSMS) SendLocalList(ctx context.Context, req messages.SendLocalListRequest) (messages.SendLocalListResponse, error)
SendLocalList sends a SendLocalList request from the CSMS to the charge point.
func (CSMS) SendLocalListAsync ¶
func (c CSMS) SendLocalListAsync(ctx context.Context, req messages.SendLocalListRequest, cb func(messages.SendLocalListResponse, error)) error
SendLocalListAsync sends a SendLocalList request without blocking, delivering the response to cb.
func (CSMS) SetChargingProfile ¶
func (c CSMS) SetChargingProfile(ctx context.Context, req messages.SetChargingProfileRequest) (messages.SetChargingProfileResponse, error)
SetChargingProfile sends a SetChargingProfile request from the CSMS to the charge point.
func (CSMS) SetChargingProfileAsync ¶
func (c CSMS) SetChargingProfileAsync(ctx context.Context, req messages.SetChargingProfileRequest, cb func(messages.SetChargingProfileResponse, error)) error
SetChargingProfileAsync sends a SetChargingProfile request without blocking, delivering the response to cb.
func (CSMS) SignedUpdateFirmware ¶
func (c CSMS) SignedUpdateFirmware(ctx context.Context, req messages.SignedUpdateFirmwareRequest) (messages.SignedUpdateFirmwareResponse, error)
SignedUpdateFirmware sends a SignedUpdateFirmware request from the CSMS to the charge point.
func (CSMS) SignedUpdateFirmwareAsync ¶
func (c CSMS) SignedUpdateFirmwareAsync(ctx context.Context, req messages.SignedUpdateFirmwareRequest, cb func(messages.SignedUpdateFirmwareResponse, error)) error
SignedUpdateFirmwareAsync sends a SignedUpdateFirmware request without blocking, delivering the response to cb.
func (CSMS) TriggerMessage ¶
func (c CSMS) TriggerMessage(ctx context.Context, req messages.TriggerMessageRequest) (messages.TriggerMessageResponse, error)
TriggerMessage sends a TriggerMessage request from the CSMS to the charge point.
func (CSMS) TriggerMessageAsync ¶
func (c CSMS) TriggerMessageAsync(ctx context.Context, req messages.TriggerMessageRequest, cb func(messages.TriggerMessageResponse, error)) error
TriggerMessageAsync sends a TriggerMessage request without blocking, delivering the response to cb.
func (CSMS) UnlockConnector ¶
func (c CSMS) UnlockConnector(ctx context.Context, req messages.UnlockConnectorRequest) (messages.UnlockConnectorResponse, error)
UnlockConnector sends a UnlockConnector request from the CSMS to the charge point.
func (CSMS) UnlockConnectorAsync ¶
func (c CSMS) UnlockConnectorAsync(ctx context.Context, req messages.UnlockConnectorRequest, cb func(messages.UnlockConnectorResponse, error)) error
UnlockConnectorAsync sends a UnlockConnector request without blocking, delivering the response to cb.
func (CSMS) UpdateFirmware ¶
func (c CSMS) UpdateFirmware(ctx context.Context, req messages.UpdateFirmwareRequest) (messages.UpdateFirmwareResponse, error)
UpdateFirmware sends a UpdateFirmware request from the CSMS to the charge point.
func (CSMS) UpdateFirmwareAsync ¶
func (c CSMS) UpdateFirmwareAsync(ctx context.Context, req messages.UpdateFirmwareRequest, cb func(messages.UpdateFirmwareResponse, error)) error
UpdateFirmwareAsync sends a UpdateFirmware request without blocking, delivering the response to cb.