Skip to main content

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

Hi Thomas,

yes, SPPs are always generated as replicated ports regardless whether they are connected several times, once or even not at all.

-Henrik

Am 30.04.2012 14:44, schrieb Thomas.Jung@xxxxxxxxx:

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.

 



_______________________________________________
etrice-dev mailing list
etrice-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/etrice-dev

-- 
______________________________

Dr. Henrik Rentz-Reichert

mailto:hrr@xxxxxxxxx
+49-7551-831365

Am Bacheck 7A
D-88662 Überlingen-Deisendorf

Back to the top