On Wed, July 25, 2007 15:01, Jan Kiszka wrote:
> Nadym Salem schrieb:
>> On Wed, July 25, 2007 14:26, Jan Kiszka wrote:
>>> [please keep the list cc'ed]
>>
>> Just forgot it that time... ;)
>>
>>> Nadym Salem schrieb:
>>>> On Wed, July 25, 2007 13:59, Jan Kiszka wrote:
>>>> Hi,
>>>>
>>>>> Nadym Salem schrieb:
>>>>>> I am trying to use RTnet with rtmac but without IP Layer. I do not
>>>>>> find
>>>>>> anything in documentation about how to do that. Is there an API for
>>>>>> that,
>>>>>> or do I have to geht into sources myself ? Sorry if I was just to
>>>>>> blind
>>>>>> to
>>>>>> find it.
>>>>> You may (re-)use the excisting rtnet startup script for this. Just
>>>>> clear
>>>>> all IP-related variables in rtnet.conf. Information about how to
>>>>> define
>>>>> your IP-less nodes in tdma.conf can be found in README.rtmac. You may
>>>>> also delete the loading of rtipv4.ko from the rtnet script as this
>>>>> currently happens unconditionally.
>>>> I didn't mean to configure the system but to build an application
>>>> relying
>>>> on that system.
>>>> To be more concrete (I wasn't that far yesterday :) ), trying to send
>>>> a
>>>> message via rt_dev_xxx (while xxx being any send function of rtdm) I
>>>> am
>>>> not able to find the parameter for the destination address.
>>>> If I use rt_dev_sendto I have no idea how to get the mac address into
>>>> the
>>>> sockaddr struct instead of the IP.
>>> Ah, ok. My attention is shared ATM, so be careful with what I suggest.
>>> :)
>>>
>>> Did you already study the packet socket API provided by RTnet (just
>>> like
>>> Linux)?
>>
>> Feeling a little bit blind, that's what I am still searching for ... :-/
> Without anything to check at hand: try "man 7 packet". Beyond this,
> there are examples included in Rtnet that exploit this API.

The standard Linux stuff is clear, misunderstood your "just like linux"
and thought it would be different. The examples is quite clear as well,
since the tdma-api is the only relevant for me because of not using IP.
Ok, but still missing some stuff in Documentation, for example
documentation of rtmac_waitinfo struct.
Is there any documentation for programming interfaces except the online API ?

Greets and thanks for patience ;)

Nadym


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to