Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[etrice-dev] SPPs in ANSI C

Hi Henrik,

 

I am writing a Timing Service for C and I have a short question.

Do you always generate the SPPs as replicated ports?

 

Background:

The Timing Service must save the index of the port that is requesting a timed message. Therefore I have to access the index of the receiving port and save it to a timer struct for later use.

If there is just one SAP it would not be necessary to generate the SPP as replicated port, but within the code of the timing service you do not have this information.

 

So it is necessary to have a pointer to a “etReplSubPort”, regardless if there is just one SAP which is using the Service.

 

Thanks

Thomas

 

 

 

Thomas Jung, Senior Developer Embedded Systems
Tieto ES GmbH,
email
thomas.jung@xxxxxxxxxxx, Telefon +49 89 78 722 352, Mobil +49 160 90 77 23 61,
Schertlinstraße 8, 81379 München

Tieto ES GmbH, Schertlinstraße 8, 81379 München
Geschäftsführung: Olaf Dicker, Willem Huisman
Sitz der Gesellschaft: München, Amtsgericht München HRB 188002

Wichtiger Hinweis: Diese E-Mail und etwaige Anlagen können Betriebs- oder Geschäftsgeheimnisse, dem Anwaltsgeheimnis unterliegende oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen der Status dieser E-Mail bekannt. Bitte benachrichtigen Sie uns in diesem Fall sofort durch Antwort-Mail und löschen Sie diese E-Mail nebst etwaigen Anlagen von Ihrem System. Ebenso dürfen Sie diese E-Mail oder seine Anlagen nicht kopieren oder an Dritte weitergeben. Vielen Dank.

 


Back to the top