Subject:
|
Re: Sending Textmessages via Bluetooth to PC
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Sun, 14 Jan 2007 21:24:03 GMT
|
Viewed:
|
11535 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:
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 (...) (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
|
|
|
|