07-11-2007
The Win32 APIs GetCommState and SetCommState will let to change the flow control handling of a serial connection. Of course both parties on either end of the serial cable need to be using the same flow control mechanism.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear all,
I unable to connect my sun machnie through hyperterminal .
when I am trying , the screen (hyperterminal )shows all the key letters (like !@#$%^ ... 12345.... abcd...ABCD..) but i unable get login screen.
Sun ultra enterprise 3000 / serial port cable 9-9 pin.
can any one... (4 Replies)
Discussion started by: sbaloo
4 Replies
2. UNIX for Advanced & Expert Users
I'm trying to compile and install both most recent version of 'make' and the
most recent version of 'openssh' on my Sparc20.
I've run into the following problems... and I don't know what they mean. Can
someone please help me resolve these issues?
I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies
3. UNIX for Dummies Questions & Answers
I am new to Unix. I just got my SUN box from ebay with Solaris supposedly preloaded. The problem is I am unable to connect via Hyperterminal to Solaris, or more to the point, cannot tell if I have a successful connection and that solaris is the one not properly booted up.
I hooked up a null... (3 Replies)
Discussion started by: seethams
3 Replies
4. UNIX for Dummies Questions & Answers
Hi
how can i do this?
1) shell script which writes data and time on to a file if filesystem exceeds 70% of space.
2) make entry to cron table to run a script every 15 mins.
and can anyone expplain or demonstrate the difference between variables used in inside a function and outside a... (3 Replies)
Discussion started by: vivekshankar
3 Replies
5. Solaris
Hi all,
I currently have my WinXP machine connected to my Sun server via serial cable then hyperterminal. I would like to connect my Solaris 10 machine to the server via serial cable but there doesn't appear to be a hyperterminal application included with Solaris 10. Anyone know of a... (3 Replies)
Discussion started by: bad-ash
3 Replies
6. Solaris
Hi All,
I connected my serial connection to the installation of solaris 8 and sorry to tell you I use XP/hyperterminal, don't get mad on me... I might use ubuntu later.
When I'm installing it, it's ask me below:
What type of terminal are you using?
1) ANSI Standard CRT
2) DEC VT52
... (3 Replies)
Discussion started by: itik
3 Replies
7. UNIX for Dummies Questions & Answers
I'm having problems uses "if"
it works fine when i do this.
#!/bin/sh
a= 10
qw= 2
w= 20
{
if && ;then
echo 3
fi
}
However if i try to do
#!/bin/sh
a= 10 (5 Replies)
Discussion started by: THM
5 Replies
8. Solaris
greetings.
im a very new user to solaris (and to servers for that matter) and i need to conect to a t5120 sun server, i tried using the SER-MGT port on the back of the server, then to a rj-45/db-9 adaptor, and to a serial-usb adaptor (my laptop doesn't have a com port).
when i try to conect with... (2 Replies)
Discussion started by: darklilith
2 Replies
9. Solaris
hi
I am new to unix and have found a SPARCstation 5 in the shed. I'm told by my father that it was working when it was put there about 8 years ago.
It seems to boot up and makes all the right noises, both discs appear to make a noise, the keyboard lights flash etc., etc., but i can't seem to get... (2 Replies)
Discussion started by: harrystrickland
2 Replies
LEARN ABOUT DEBIAN
auelementnotifyevent
AuElementNotifyEvent(3) Library Functions Manual AuElementNotifyEvent(3)
Name
AuElementNotifyEvent - element notify event structure
Structures
#include <audio/audiolib.h>
typedef union _AuEvent
{
. . .
AuElementNotifyEvent auelementnotify;
. . .
}AuEvent;
typedef struct _AuElementNotifyEvent
{
int type;
AuUint32 serial;
AuBool send_event;
AuServer *server;
AuTime time;
AuFlowID flow;
unsigned char element_num;
unsigned char kind;
unsigned char prev_state;
unsigned char cur_state;
unsigned char reason;
AuUint32 num_bytes;
}AuElementNotifyEvent;
Members
type The event type. ElementNotify events are type AuEventTypeElementNotify.
serial The serial ID of the event expanded from the 16 bit value sent by the server.
send_event
AuTrue if the event came from a SendEvent protocol request.
server The connection to the audio server that the event was read from.
time The server time in milliseconds when the event was generated.
flow The ID of the flow that caused the event.
element_num
The index of the element that caused the event or AuElementAll to indicate the flow.
kind The kind of notify event. This will be one of these constants: AuElementNotifyKindLowWater, AuElementNotifyKindHighWater, or
AuElementNotifyKindState.
prev_state
The previous state of the element indexed by element_num. This will be one of these constants: AuStateStop, AuStateStart, or
AuStatePause.
cur_state The current state of the element indexed by element_num. This will be one of these constants: AuStateStop, AuStateStart, or AuS-
tatePause.
reason The reason for the notify event. This will be one of these constants: AuReasonUser, AuReasonUnderrun, AuReasonOverrun, AuReaso-
nEOF, AuReasonWatermark, or AuReasonHardware.
num_bytes The number of bytes to send or receive. Only valid if the the element indexed by element_num is an ImportClient or ExportClient.
Description
ElementNotify events are sent to client applications to notify them of a watermark condition or state change. If kind is AuElementNoti-
fyKindLowWater, the ImportClient element indexed by element_num in flow is ready to receive num_bytes of audio data from the client appli-
cation. If kind is AuElementNotifyKindHighWater, the ExportClient element indexed by element_num in flow is ready to send num_bytes of
audio data to the client application. If kind is AuElementNotifyKindState, the element indexed by element_num (or flow if element_num is
AuElementAll) has made a state transition from prev_state to cur_state triggering the event. Reguardless of kind, prev_state and cur_state
contain the old and new states and reason contains the reason for the event.
See Also
AuAnyEvent, AuErrorEvent, AuGrabNotifyEvent, AuMakeSendNotifyAction, AuMonitorNotifyEvent.
audiolib - Network Audio System C Language Interface
audiolib - events 1.9.3 AuElementNotifyEvent(3)