Re: [dtn-users] dtnsend problem with a listener in a multicat group

"Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]" <david.a.zoller@nasa.gov> Thu, 07 August 2014 15:10 UTC

Return-Path: <david.a.zoller@nasa.gov>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 274461B2C29 for <dtn-users@ietfa.amsl.com>; Thu, 7 Aug 2014 08:10:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.298
X-Spam-Level: **
X-Spam-Status: No, score=2.298 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, MANGLED_MEDS=2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rLwUQzm5021u for <dtn-users@ietfa.amsl.com>; Thu, 7 Aug 2014 08:10:11 -0700 (PDT)
Received: from ndjsnpf03.ndc.nasa.gov (ndjsnpf03.ndc.nasa.gov [IPv6:2001:4d0:a302:1100::103]) by ietfa.amsl.com (Postfix) with ESMTP id 4BF551B2C23 for <dtn-users@irtf.org>; Thu, 7 Aug 2014 08:10:11 -0700 (PDT)
Received: from ndmsppt105.ndc.nasa.gov (ndmsppt105.ndc.nasa.gov [198.117.0.70]) by ndjsnpf03.ndc.nasa.gov (Postfix) with ESMTP id B0F982D8191; Thu, 7 Aug 2014 10:10:10 -0500 (CDT)
Received: from NDMSCHT110.ndc.nasa.gov (ndmscht110-pub.ndc.nasa.gov [198.117.0.210]) by ndmsppt105.ndc.nasa.gov (8.14.5/8.14.5) with ESMTP id s77FAAdK005331; Thu, 7 Aug 2014 10:10:10 -0500
Received: from NDMSMBX404.ndc.nasa.gov ([169.254.4.67]) by NDMSCHT110.ndc.nasa.gov ([198.117.0.210]) with mapi id 14.03.0195.001; Thu, 7 Aug 2014 10:10:10 -0500
From: "Zoller, David A. (MSFC-EO50)[HOSC SERVICES CONTRACT]" <david.a.zoller@nasa.gov>
To: Patsali Konstantinia <kpatsali@gmail.com>, "dtn-users@irtf.org" <dtn-users@irtf.org>
Thread-Topic: [dtn-users] dtnsend problem with a listener in a multicat group
Thread-Index: AQHPsh7xswSlubxUg0yr2wFAiGUd6JvFPERQ
Date: Thu, 7 Aug 2014 15:10:09 +0000
Message-ID: <94CFB3711B4CAE4DBFC5BEB3374BF0C610B24A@NDMSMBX404.ndc.nasa.gov>
References: <53E341A1.5040502@gmail.com>
In-Reply-To: <53E341A1.5040502@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [198.119.225.186]
Content-Type: multipart/alternative; boundary="_000_94CFB3711B4CAE4DBFC5BEB3374BF0C610B24ANDMSMBX404ndcnasa_"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.27, 0.0.0000 definitions=2014-08-07_04:2014-08-06,2014-08-07,1970-01-01 signatures=0
Archived-At: http://mailarchive.ietf.org/arch/msg/dtn-users/v0ikWFIC1q5nz2qShTcAeFSz-d0
Subject: Re: [dtn-users] dtnsend problem with a listener in a multicat group
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/dtn-users/>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Aug 2014 15:10:14 -0000

Hi Patsali,

Could the problem be just a typo in the destination EID?

The base of the source and destination EIDs are the same in the sample dtnsend command:



dtnsend -s dtn://dtn-a.dtn/me -d dtn://dtn-a.dtn/testing -t m -p "testing"

Let’s hope it is that simple,
DZ

From: dtn-users [mailto:dtn-users-bounces@irtf.org] On Behalf Of Patsali Konstantinia
Sent: Thursday, August 07, 2014 4:07 AM
To: dtn-users@irtf.org
Subject: [dtn-users] dtnsend problem with a listener in a multicat group


Hello to all of you Users and Developers,



Thank you for the great job you are doing!



I am in the midst of research project where I use dtn2 with Raspberry Pi and I am facing an issue

sending bundles from Raspberry Pi to my computer.



First of all, i must explain that i have a typical listener code in c to receive data from a GPS module

uses I2C bus and i want these data to be echoed by the listener to my computer over dtn2.



I configured dtn.conf in both Raspberry Pi and my computer and they communicate each other via ethernet.

I used dtnsend to send bundles to Raspberry Pi and it worked fine!



My Raspberry Pi is configured to run listener.c when boot, but still i haven't receive any bundles waiting

to be sent to my pc after dtn starts.



Also, i configured raspbian to load i2c when boot



When i run the code without dtn running, it echoes the receiving data from my GPS and after that gives me a

message "fatal error opening dtn handle: error in ipc communication" which is because dtn is not running.

The problem is to send them with dtn2...



In my listener code i use sprintf with the dtn send command



dtnsend -s dtn://dtn-a.dtn/me -d dtn://dtn-a.dtn/testing -t m -p "testing"



Can any one help me?



Thank you all in advance