To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 338
337  |  339
Subject: 
Re: Sending Textmessages via Bluetooth to PC
Newsgroups: 
lugnet.robotics.nxt
Date: 
Sun, 14 Jan 2007 21:37:36 GMT
Viewed: 
11616 times
  
In lugnet.robotics.nxt, David Wallace wrote:
I have written a quick-and-dirty NBC program that sends messages via BT to
the PC. Then I have another quick-and-dirty Perl script on the PC that
captures the messages and displays them to the screen or you can redirect to
a file. I've been using it for debugging.

The Perl script should work with Linux with little or no modification I
would think. Let me know if you want to check it out.

Example setup:

#include "NxtLogger.nbc"
...
call NL_Init

Example use:
NL_BT_WRITE_STR('some string', FALSE) // FALSE means don't output yet
NL_BT_WRITE_NUM(numeric_value, TRUE) // TRUE means dump the buffer

Let me know if you want to check it out.

David Wallace

Hi David,
yes please... I'm very interessed in setting up BT-Communication-Parameters...
Is there a snapshot of your code public available ?

Thanx
Christian



Message has 1 Reply:
  Re: Sending Textmessages via Bluetooth to PC
 
OK, sent you an email with the NBC program and the Perl script. If anyone else would like it let me know. (18 years ago, 15-Jan-07, to lugnet.robotics.nxt)

Message is in Reply To:
  Re: Sending Textmessages via Bluetooth to PC
 
I have written a quick-and-dirty NBC program that sends messages via BT to the PC. Then I have another quick-and-dirty Perl script on the PC that captures the messages and displays them to the screen or you can redirect to a file. I've been using it (...) (18 years ago, 14-Jan-07, to lugnet.robotics.nxt)

6 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in NXT programmable brick

 
Verified and Trusted Team of Hackers
11 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR