LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-13-2013, 06:05 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,133

Rep: Reputation: 45
Configuring Serial terminal


Hi all,
I am using a special printf statement that prints the following to the serial port (for advanced users, there is a printf library for telosb programming that writes to the serial port).

What I am printing is
printf("Hi I am writing to you from my TinyOS application!!\n");
printf("Here is a uint8: %u\n", dummyVar1);
printf("Here is a uint16: %u\n", dummyVar2);
printf("Here is a uint32: %ld\n", dummyVar3);
printfflush();


but what I am receiving has some characters that I do not understand...

http://i44.tinypic.com/sb0boj.jpg

perhaps it might be something funny with my configuration that is

http://i44.tinypic.com/ay93l1.png

Can someone please help me understand what these characters are and how I can see the string the way I am sending it?

I would like to thank you in advance for your reply


Regards
Alex

Last edited by alaios; 11-13-2013 at 06:09 PM.
 
Old 11-15-2013, 10:35 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,138

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
Not seeing your pictures - the links are redirecting. You can attach them to the thread if they are small. Thatś impolite if they are not small.
 
Old 11-16-2013, 12:23 AM   #3
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,133

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by business_kid View Post
Thatś impolite if they are not small.
??????
 
Old 11-17-2013, 07:42 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,138

Rep: Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526Reputation: 526
We don want 10meg bitmaps :-P.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Serial terminal connected to USB Serial Port on Ubuntu 12.04 809areacode Linux - General 3 07-18-2013 10:06 PM
Problem in configuring the serial terminal pravinchanm Linux - Hardware 1 03-26-2012 07:12 AM
Configuring Serial Port dwhitney67 Linux - Software 2 10-10-2007 07:34 AM
configuring serial ports yashika Linux - Newbie 6 10-28-2004 06:44 AM
Configuring a serial card ganninu Linux - Hardware 1 09-09-2003 07:44 PM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration