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 / 337
336  |  338
Subject: 
Re: Sending Textmessages via Bluetooth to PC
Newsgroups: 
lugnet.robotics.nxt
Date: 
Sun, 14 Jan 2007 21:24:03 GMT
Viewed: 
11125 times
  
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



Message has 1 Reply:
  Re: Sending Textmessages via Bluetooth to PC
 
(...) 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 (17 years ago, 14-Jan-07, to lugnet.robotics.nxt)

Message is in Reply To:
  Re: Sending Textmessages via Bluetooth to PC
 
(...) Yes, I've seen it, but I have no Win32 system ... I'd like to create a general soltution for any system (e.g. OSX and Linux). NXT-->BT-->Serial2Net-->Syslog Simple Serial2Net-functionality can be realized with socat. Thanx for more (...) (17 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
    

Custom Search

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