client

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CP

type CP struct{ *cp.Client }

CP wraps *cp.Client with typed send methods for messages a charge point sends to the CSMS.

func NewCP

func NewCP(c *cp.Client) CP

NewCP wraps c so its CP->CSMS messages can be sent as methods.

func (CP) Authorize

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

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) ClearedChargingLimit

ClearedChargingLimit sends a ClearedChargingLimit request from the charge point to the CSMS.

func (CP) ClearedChargingLimitAsync

func (c CP) ClearedChargingLimitAsync(ctx context.Context, req messages.ClearedChargingLimitRequest, cb func(messages.ClearedChargingLimitResponse, error)) error

ClearedChargingLimitAsync sends a ClearedChargingLimit request without blocking, delivering the response to cb.

func (CP) DataTransfer

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) FirmwareStatusNotification

FirmwareStatusNotification sends a FirmwareStatusNotification request from the charge point to the CSMS.

func (CP) FirmwareStatusNotificationAsync

FirmwareStatusNotificationAsync sends a FirmwareStatusNotification request without blocking, delivering the response to cb.

func (CP) Get15118EVCertificate

Get15118EVCertificate sends a Get15118EVCertificate request from the charge point to the CSMS.

func (CP) Get15118EVCertificateAsync

func (c CP) Get15118EVCertificateAsync(ctx context.Context, req messages.Get15118EVCertificateRequest, cb func(messages.Get15118EVCertificateResponse, error)) error

Get15118EVCertificateAsync sends a Get15118EVCertificate request without blocking, delivering the response to cb.

func (CP) GetCertificateStatus

GetCertificateStatus sends a GetCertificateStatus request from the charge point to the CSMS.

func (CP) GetCertificateStatusAsync

func (c CP) GetCertificateStatusAsync(ctx context.Context, req messages.GetCertificateStatusRequest, cb func(messages.GetCertificateStatusResponse, error)) error

GetCertificateStatusAsync sends a GetCertificateStatus request without blocking, delivering the response to cb.

func (CP) Heartbeat

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

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

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) NotifyChargingLimit

NotifyChargingLimit sends a NotifyChargingLimit request from the charge point to the CSMS.

func (CP) NotifyChargingLimitAsync

func (c CP) NotifyChargingLimitAsync(ctx context.Context, req messages.NotifyChargingLimitRequest, cb func(messages.NotifyChargingLimitResponse, error)) error

NotifyChargingLimitAsync sends a NotifyChargingLimit request without blocking, delivering the response to cb.

func (CP) NotifyCustomerInformation

NotifyCustomerInformation sends a NotifyCustomerInformation request from the charge point to the CSMS.

func (CP) NotifyCustomerInformationAsync

NotifyCustomerInformationAsync sends a NotifyCustomerInformation request without blocking, delivering the response to cb.

func (CP) NotifyDisplayMessages

NotifyDisplayMessages sends a NotifyDisplayMessages request from the charge point to the CSMS.

func (CP) NotifyDisplayMessagesAsync

func (c CP) NotifyDisplayMessagesAsync(ctx context.Context, req messages.NotifyDisplayMessagesRequest, cb func(messages.NotifyDisplayMessagesResponse, error)) error

NotifyDisplayMessagesAsync sends a NotifyDisplayMessages request without blocking, delivering the response to cb.

func (CP) NotifyEVChargingNeeds

NotifyEVChargingNeeds sends a NotifyEVChargingNeeds request from the charge point to the CSMS.

func (CP) NotifyEVChargingNeedsAsync

func (c CP) NotifyEVChargingNeedsAsync(ctx context.Context, req messages.NotifyEVChargingNeedsRequest, cb func(messages.NotifyEVChargingNeedsResponse, error)) error

NotifyEVChargingNeedsAsync sends a NotifyEVChargingNeeds request without blocking, delivering the response to cb.

func (CP) NotifyEVChargingSchedule

NotifyEVChargingSchedule sends a NotifyEVChargingSchedule request from the charge point to the CSMS.

func (CP) NotifyEVChargingScheduleAsync

func (c CP) NotifyEVChargingScheduleAsync(ctx context.Context, req messages.NotifyEVChargingScheduleRequest, cb func(messages.NotifyEVChargingScheduleResponse, error)) error

NotifyEVChargingScheduleAsync sends a NotifyEVChargingSchedule request without blocking, delivering the response to cb.

func (CP) NotifyEvent

NotifyEvent sends a NotifyEvent request from the charge point to the CSMS.

func (CP) NotifyEventAsync

func (c CP) NotifyEventAsync(ctx context.Context, req messages.NotifyEventRequest, cb func(messages.NotifyEventResponse, error)) error

NotifyEventAsync sends a NotifyEvent request without blocking, delivering the response to cb.

func (CP) NotifyMonitoringReport

NotifyMonitoringReport sends a NotifyMonitoringReport request from the charge point to the CSMS.

func (CP) NotifyMonitoringReportAsync

func (c CP) NotifyMonitoringReportAsync(ctx context.Context, req messages.NotifyMonitoringReportRequest, cb func(messages.NotifyMonitoringReportResponse, error)) error

NotifyMonitoringReportAsync sends a NotifyMonitoringReport request without blocking, delivering the response to cb.

func (CP) NotifyReport

NotifyReport sends a NotifyReport request from the charge point to the CSMS.

func (CP) NotifyReportAsync

func (c CP) NotifyReportAsync(ctx context.Context, req messages.NotifyReportRequest, cb func(messages.NotifyReportResponse, error)) error

NotifyReportAsync sends a NotifyReport request without blocking, delivering the response to cb.

func (CP) PublishFirmwareStatusNotification

PublishFirmwareStatusNotification sends a PublishFirmwareStatusNotification request from the charge point to the CSMS.

func (CP) PublishFirmwareStatusNotificationAsync

PublishFirmwareStatusNotificationAsync sends a PublishFirmwareStatusNotification request without blocking, delivering the response to cb.

func (CP) ReportChargingProfiles

ReportChargingProfiles sends a ReportChargingProfiles request from the charge point to the CSMS.

func (CP) ReportChargingProfilesAsync

func (c CP) ReportChargingProfilesAsync(ctx context.Context, req messages.ReportChargingProfilesRequest, cb func(messages.ReportChargingProfilesResponse, error)) error

ReportChargingProfilesAsync sends a ReportChargingProfiles request without blocking, delivering the response to cb.

func (CP) ReservationStatusUpdate

ReservationStatusUpdate sends a ReservationStatusUpdate request from the charge point to the CSMS.

func (CP) ReservationStatusUpdateAsync

func (c CP) ReservationStatusUpdateAsync(ctx context.Context, req messages.ReservationStatusUpdateRequest, cb func(messages.ReservationStatusUpdateResponse, error)) error

ReservationStatusUpdateAsync sends a ReservationStatusUpdate request without blocking, delivering the response to cb.

func (CP) SecurityEventNotification

SecurityEventNotification sends a SecurityEventNotification request from the charge point to the CSMS.

func (CP) SecurityEventNotificationAsync

SecurityEventNotificationAsync sends a SecurityEventNotification request without blocking, delivering the response to cb.

func (CP) SignCertificate

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) StatusNotification

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) TransactionEvent

TransactionEvent sends a TransactionEvent request from the charge point to the CSMS.

func (CP) TransactionEventAsync

func (c CP) TransactionEventAsync(ctx context.Context, req messages.TransactionEventRequest, cb func(messages.TransactionEventResponse, error)) error

TransactionEventAsync sends a TransactionEvent request without blocking, delivering the response to cb.

type CSMS

type CSMS struct{ *csms.Conn }

CSMS wraps *csms.Conn with typed send methods for messages a CSMS sends to a connected charge point.

func NewCSMS

func NewCSMS(c *csms.Conn) CSMS

NewCSMS wraps c so its CSMS->CP messages can be sent as methods.

func (CSMS) CancelReservation

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

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

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) ClearCache

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

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) ClearDisplayMessage

ClearDisplayMessage sends a ClearDisplayMessage request from the CSMS to the charge point.

func (CSMS) ClearDisplayMessageAsync

func (c CSMS) ClearDisplayMessageAsync(ctx context.Context, req messages.ClearDisplayMessageRequest, cb func(messages.ClearDisplayMessageResponse, error)) error

ClearDisplayMessageAsync sends a ClearDisplayMessage request without blocking, delivering the response to cb.

func (CSMS) ClearVariableMonitoring

ClearVariableMonitoring sends a ClearVariableMonitoring request from the CSMS to the charge point.

func (CSMS) ClearVariableMonitoringAsync

ClearVariableMonitoringAsync sends a ClearVariableMonitoring request without blocking, delivering the response to cb.

func (CSMS) CostUpdated

CostUpdated sends a CostUpdated request from the CSMS to the charge point.

func (CSMS) CostUpdatedAsync

func (c CSMS) CostUpdatedAsync(ctx context.Context, req messages.CostUpdatedRequest, cb func(messages.CostUpdatedResponse, error)) error

CostUpdatedAsync sends a CostUpdated request without blocking, delivering the response to cb.

func (CSMS) CustomerInformation

CustomerInformation sends a CustomerInformation request from the CSMS to the charge point.

func (CSMS) CustomerInformationAsync

func (c CSMS) CustomerInformationAsync(ctx context.Context, req messages.CustomerInformationRequest, cb func(messages.CustomerInformationResponse, error)) error

CustomerInformationAsync sends a CustomerInformation request without blocking, delivering the response to cb.

func (CSMS) DataTransfer

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

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) GetBaseReport

GetBaseReport sends a GetBaseReport request from the CSMS to the charge point.

func (CSMS) GetBaseReportAsync

func (c CSMS) GetBaseReportAsync(ctx context.Context, req messages.GetBaseReportRequest, cb func(messages.GetBaseReportResponse, error)) error

GetBaseReportAsync sends a GetBaseReport request without blocking, delivering the response to cb.

func (CSMS) GetChargingProfiles

GetChargingProfiles sends a GetChargingProfiles request from the CSMS to the charge point.

func (CSMS) GetChargingProfilesAsync

func (c CSMS) GetChargingProfilesAsync(ctx context.Context, req messages.GetChargingProfilesRequest, cb func(messages.GetChargingProfilesResponse, error)) error

GetChargingProfilesAsync sends a GetChargingProfiles request without blocking, delivering the response to cb.

func (CSMS) GetCompositeSchedule

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) GetDisplayMessages

GetDisplayMessages sends a GetDisplayMessages request from the CSMS to the charge point.

func (CSMS) GetDisplayMessagesAsync

func (c CSMS) GetDisplayMessagesAsync(ctx context.Context, req messages.GetDisplayMessagesRequest, cb func(messages.GetDisplayMessagesResponse, error)) error

GetDisplayMessagesAsync sends a GetDisplayMessages request without blocking, delivering the response to cb.

func (CSMS) GetInstalledCertificateIds

GetInstalledCertificateIds sends a GetInstalledCertificateIds request from the CSMS to the charge point.

func (CSMS) GetInstalledCertificateIdsAsync

GetInstalledCertificateIdsAsync sends a GetInstalledCertificateIds request without blocking, delivering the response to cb.

func (CSMS) GetLocalListVersion

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

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) GetMonitoringReport

GetMonitoringReport sends a GetMonitoringReport request from the CSMS to the charge point.

func (CSMS) GetMonitoringReportAsync

func (c CSMS) GetMonitoringReportAsync(ctx context.Context, req messages.GetMonitoringReportRequest, cb func(messages.GetMonitoringReportResponse, error)) error

GetMonitoringReportAsync sends a GetMonitoringReport request without blocking, delivering the response to cb.

func (CSMS) GetReport

GetReport sends a GetReport request from the CSMS to the charge point.

func (CSMS) GetReportAsync

func (c CSMS) GetReportAsync(ctx context.Context, req messages.GetReportRequest, cb func(messages.GetReportResponse, error)) error

GetReportAsync sends a GetReport request without blocking, delivering the response to cb.

func (CSMS) GetTransactionStatus

GetTransactionStatus sends a GetTransactionStatus request from the CSMS to the charge point.

func (CSMS) GetTransactionStatusAsync

func (c CSMS) GetTransactionStatusAsync(ctx context.Context, req messages.GetTransactionStatusRequest, cb func(messages.GetTransactionStatusResponse, error)) error

GetTransactionStatusAsync sends a GetTransactionStatus request without blocking, delivering the response to cb.

func (CSMS) GetVariables

GetVariables sends a GetVariables request from the CSMS to the charge point.

func (CSMS) GetVariablesAsync

func (c CSMS) GetVariablesAsync(ctx context.Context, req messages.GetVariablesRequest, cb func(messages.GetVariablesResponse, error)) error

GetVariablesAsync sends a GetVariables request without blocking, delivering the response to cb.

func (CSMS) InstallCertificate

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) PublishFirmware

PublishFirmware sends a PublishFirmware request from the CSMS to the charge point.

func (CSMS) PublishFirmwareAsync

func (c CSMS) PublishFirmwareAsync(ctx context.Context, req messages.PublishFirmwareRequest, cb func(messages.PublishFirmwareResponse, error)) error

PublishFirmwareAsync sends a PublishFirmware request without blocking, delivering the response to cb.

func (CSMS) RequestStartTransaction

RequestStartTransaction sends a RequestStartTransaction request from the CSMS to the charge point.

func (CSMS) RequestStartTransactionAsync

RequestStartTransactionAsync sends a RequestStartTransaction request without blocking, delivering the response to cb.

func (CSMS) RequestStopTransaction

RequestStopTransaction sends a RequestStopTransaction request from the CSMS to the charge point.

func (CSMS) RequestStopTransactionAsync

RequestStopTransactionAsync sends a RequestStopTransaction request without blocking, delivering the response to cb.

func (CSMS) ReserveNow

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

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

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

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) SetDisplayMessage

SetDisplayMessage sends a SetDisplayMessage request from the CSMS to the charge point.

func (CSMS) SetDisplayMessageAsync

func (c CSMS) SetDisplayMessageAsync(ctx context.Context, req messages.SetDisplayMessageRequest, cb func(messages.SetDisplayMessageResponse, error)) error

SetDisplayMessageAsync sends a SetDisplayMessage request without blocking, delivering the response to cb.

func (CSMS) SetMonitoringBase

SetMonitoringBase sends a SetMonitoringBase request from the CSMS to the charge point.

func (CSMS) SetMonitoringBaseAsync

func (c CSMS) SetMonitoringBaseAsync(ctx context.Context, req messages.SetMonitoringBaseRequest, cb func(messages.SetMonitoringBaseResponse, error)) error

SetMonitoringBaseAsync sends a SetMonitoringBase request without blocking, delivering the response to cb.

func (CSMS) SetMonitoringLevel

SetMonitoringLevel sends a SetMonitoringLevel request from the CSMS to the charge point.

func (CSMS) SetMonitoringLevelAsync

func (c CSMS) SetMonitoringLevelAsync(ctx context.Context, req messages.SetMonitoringLevelRequest, cb func(messages.SetMonitoringLevelResponse, error)) error

SetMonitoringLevelAsync sends a SetMonitoringLevel request without blocking, delivering the response to cb.

func (CSMS) SetNetworkProfile

SetNetworkProfile sends a SetNetworkProfile request from the CSMS to the charge point.

func (CSMS) SetNetworkProfileAsync

func (c CSMS) SetNetworkProfileAsync(ctx context.Context, req messages.SetNetworkProfileRequest, cb func(messages.SetNetworkProfileResponse, error)) error

SetNetworkProfileAsync sends a SetNetworkProfile request without blocking, delivering the response to cb.

func (CSMS) SetVariableMonitoring

SetVariableMonitoring sends a SetVariableMonitoring request from the CSMS to the charge point.

func (CSMS) SetVariableMonitoringAsync

SetVariableMonitoringAsync sends a SetVariableMonitoring request without blocking, delivering the response to cb.

func (CSMS) SetVariables

SetVariables sends a SetVariables request from the CSMS to the charge point.

func (CSMS) SetVariablesAsync

func (c CSMS) SetVariablesAsync(ctx context.Context, req messages.SetVariablesRequest, cb func(messages.SetVariablesResponse, error)) error

SetVariablesAsync sends a SetVariables request without blocking, delivering the response to cb.

func (CSMS) TriggerMessage

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

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) UnpublishFirmware

UnpublishFirmware sends a UnpublishFirmware request from the CSMS to the charge point.

func (CSMS) UnpublishFirmwareAsync

func (c CSMS) UnpublishFirmwareAsync(ctx context.Context, req messages.UnpublishFirmwareRequest, cb func(messages.UnpublishFirmwareResponse, error)) error

UnpublishFirmwareAsync sends a UnpublishFirmware request without blocking, delivering the response to cb.

func (CSMS) UpdateFirmware

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL