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

Patsali Konstantinia <kpatsali@gmail.com> Thu, 07 August 2014 09:00 UTC

Return-Path: <kpatsali@gmail.com>
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 336181B2A18 for <dtn-users@ietfa.amsl.com>; Thu, 7 Aug 2014 02:00:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.001
X-Spam-Level: ***
X-Spam-Status: No, score=3.001 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MANGLED_MEDS=2.3, 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 3HrjoQCUyGY2 for <dtn-users@ietfa.amsl.com>; Thu, 7 Aug 2014 02:00:09 -0700 (PDT)
Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 709151B2A17 for <dtn-users@irtf.org>; Thu, 7 Aug 2014 02:00:09 -0700 (PDT)
Received: by mail-wg0-f42.google.com with SMTP id l18so3809070wgh.1 for <dtn-users@irtf.org>; Thu, 07 Aug 2014 02:00:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=zIPR+rsyRnwAifVKr+ZVrItWKakslaHtMFsW9PT4bLQ=; b=myWefU89XUE9Xt/mUbVrw5oXB5ftxcjqevQOsy8LnDIQMHQ893RW01uolZXaP3lEB7 Grt5SK37fHu4T8CGgXOICxyMMvswMykv5ZRkeU/ZVcyNpUkbPdOJG0ewDEKOnuXU8oTh rXs/ItQf9CeHS5UXdQpWbgIG3ZBgXOQNvHsyF62W6Wv7K6a80qdlplRzhR36LVumwO8+ b3DINVj7rePP6JgGKwvDzYCctNXQpw8BKz3Zfcu5xp+qM51Soc5rMoxlBUpJ3dogbrVn 36+e8Y0ufjL3vIxMePg8aeGk6X+F5eUg4rZe7VRx/eP1BBauejDZ31cFRe3J0AStF1Op HK4g==
X-Received: by 10.180.106.6 with SMTP id gq6mr23348900wib.5.1407402007880; Thu, 07 Aug 2014 02:00:07 -0700 (PDT)
Received: from [192.168.1.2] (62.1.250.225.dsl.dyn.forthnet.gr. [62.1.250.225]) by mx.google.com with ESMTPSA id k6sm8442080wjq.5.2014.08.07.02.00.06 for <dtn-users@irtf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Aug 2014 02:00:07 -0700 (PDT)
Message-ID: <53E34015.5030202@gmail.com>
Date: Thu, 07 Aug 2014 12:00:05 +0300
From: Patsali Konstantinia <kpatsali@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: dtn-users@irtf.org
Content-Type: multipart/alternative; boundary="------------060204050603060801090903"
Archived-At: http://mailarchive.ietf.org/arch/msg/dtn-users/TvA6jWunXDP5R5jf1Xjum0unFdE
Subject: [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 09:03:17 -0000

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