CANOE SOME/IP IL函数API

前提:要使用CAPL函数,必须调用 SomeIP_IL.vmodule (在节点的配置里添加此库文件,.vmodule会自动适配32/64位)

1、Callback Functions 回调函数

Functions

Short Description

<OnSomeIpEventReceived>

CAPL handler to receive events.
接收事件的CAPL处理程序。

<OnSomeIpFieldNotification>

CAPL handler to receive field change notifications.
接收字段更改通知的CAPL处理程序。

<OnSomeIpMethodError>

A callback function with this signature must be passed to the CAPL function SomeIpCreateMethodCall.
带有此签名的回调函数必须传递给CAPL函数SomeIpCreateMethodCall

<OnSomeIpMethodRequest>

CAPL handler to request a method.
请求方法的CAPL处理程序。

<OnSomeIpMethodResponse>

CAPL handler to response a method.
响应方法的CAPL处理程序。

<OnSomeIpPrepareEvent>

CAPL handler to prepare an event before sending.
在发送之前准备事件的CAPL处理程序。

OnSomeIpClientAepConnected

This callback gets called when a client-side SOME/IP Application Endpoint gets connected to a remote peer.
当客户端SOME/IP应用程序端点连接到远程对等点时,将调用此回调。

OnSomeIpNewServerAep

This callback gets called when a server-side SOME/IP Application Endpoint gets opened.
当打开服务器端SOME/IP应用程序端点时,将调用此回调。

OnSomeIpClosedIPv6TCPConnection

CAPL handler to be called after a IL’s TCP connection has been closed
CAPL处理程序将在IL的TCP连接关闭后调用

OnSomeIpEstablishedIPv6TCPConnection

CAPL handler to be called after an incoming or outgoing TCP connection.
在传入或传出TCP连接后调用的CAPL处理程序。

OnSomeIpClosedTLSConnection

This callback will be called after a (D)TLS connection between the local endpoint and remote endpoint has been closed and it indicates whether the connection was closed by peer.
此回调将在本地端点和远程端点之间的(D)TLS连接关闭后调用,它指示连接是否被对等端关闭。

OnSomeIpEstablishedTLSConnection

This callback will be called after a (D)TLS connection between the local endpoint and remote endpoint has been established.
此回调将在本地端点和远程端点之间建立(D)TLS连接后调用。

OnSomeIpMessage

CAPL handler to receive SOME/IP messages.
接收SOME/IP消息的CAPL处理程序。

OnSomeIpProcessRxMessage

CAPL handler to be called when the IL has received a SOME/IP message.
CAPL处理程序将在IL接收到SOME/IP消息时调用。

OnSomeIpProcessTxMessage

CAPL handler to be called when the IL wants to send a SOME/IP message.
当IL想要发送SOME/IP消息时调用的CAPL处理程序。

OnSomeIpSDClientEventGroupStatusChanged

CAPL handler to be called when the status of an Event Group changes.
当事件组的状态发生变化时调用的CAPL处理程序。

OnSomeIpSDClientServiceStatusChanged

CAPL handler to be called when the status of a service changes.
服务状态更改时调用的CAPL处理程序。

OnSomeIpSDServerEventGroupStatusChanged

CAPL handler to be called when a Client executes the Require Service or Release Service.
当客户端执行请求服务或释放服务时调用的CAPL处理程序。

OnSomeIpSDServerEventGroupStatusChangedIPv6

CAPL handler to be called when a Client executes the Require Service or Release Service.
当客户端执行请求服务或释放服务时调用的CAPL处理程序。

2、Client-Side API 客户端API

Functions

Short Description

SomeIpAddConsumedEventGroup

Adds an Event Group to a Consumed Service Instance
将事件组添加到使用的服务实例

SomeIpCallMethod

Sends a request to the server.
向服务器发送请求。

SomeIpCreateConsumedServiceInstance

Creates a Consumed Service Instance.
创建一个消费服务实例。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值