







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
computer network notes it contain all topics
Typology: Lecture notes
1 / 13
This page cannot be seen from the preview
Don't miss anything!
Contnollh. Desciphon Panallel (^) Comunication (^) implies (^) Sendins (^) mulhple.
Cammunicahon_impliesJ Sendingq data bit by bit
we (^) uie (^) SenialCammunicahon that (^) helps to (^) nedue (^) cojt ONe langen distunte
iSSyes
The (^) Uniyensal (^) Asynchnonaus (^) Reteiven Tnansmities (^) a.k.a
T's an integnaled Cincwi on mothen-boand used fon Senial communi.cahon Contains tndnimitte and heLeiyen. Cenalwloakinqof yAR PanallelLines of UARI usually connecled o buses ot Machine 1 When a machine CALikes data- byBes to
Stadus aegistea use do indicalt uhethena dakuhas heen Stnt ecei ved by 0AR O not
Data (^) hus (^) been heceived by^ UARTia^ can^ be 9et tham^ statuy-flug^ In^ that^ Case^ amo^ the machine (^) can stant (^) neading fnom^ RDR tortnol signals Machine CPU
Addness Jines Datu lines
Ri TL
fuams. iJ Sunchnonous ii) Asynchnanous. Symchaanous ommunicaion : Synchaonous Seual
shane a (^) tlock_wih each othe (^) h (^) helps Receirta
bitosth paniiy bit
MsB (^) end
LSB
Connwion has been wih modem Onnot RaD (^) Seni pat Input
c neceivVeh tnansmite i S heudyfo^ tnansmii
Pin-Numben Abbneviaion (^) Funchun,
heceive RIS (^) Ready to Send Tnun1miBta
flaw anthol CTS (^) clean to Send, Rereivenis
BI (^) Bing- incdicatos uhen heceivea i madem and ges (alled fnom PSTA Assgnment duesbions
xchanqe beBween the devices, the signals Conntchinq bel pTE andpCE, (ommon2in uine conhqunaian and m1nimum maunt of contnol si9 nal
Nu mulHple bits ane not suppanteelin UHRI hundwqae, you want to ad you can do it pnaghamthall
Lolb- SenialV Am Sel^ up Connechion (^) belween two (^) Compuens (^) and
by (pentcnmin 1 Running Paoqnams in Linu
indudeLstdia.h>
indude as232.h
int mun)
pont na : 0,
chun mode Cj 's,'N L'o stt2cS stntp st»coj,Hello 3 Staupy st»l11," Wonld In"
nelunnt0Jj whle1) RS232-puds (cpont.na, stati1)j--
ifde WIN sleepLloo) Helse UnsleepJ000) Hendif
netuan o,
Reteivea Code
tincludestdlib.hs Hindudeiwindaa.h indudei unistd.hs includen232.hy ind muint)A int i,n cpOntnn bdnake z A unsijntd. chan^ but^ luos
s232 htaden le
ton St^ it chan made
int status
Switch haudnaky Caye 50 bdn^ =^ B
Cast 153- bd B bnecuk tase 1600 bdh^ a^ B
(ose 3So0o0o bdn s B3s00o bneck case u 000000 bdh 2 Suoo defad pninti invalid baudna In")- neunn(1)
i Stnlen (^) (mode) e (^3) priint f ( InYalid mode 15 In", mode ) neunn C1) Swlh mode co)){ case 's chis E (S8 bneck cCLI (^) chib: (^) (S1 (^) bak- dekaultpnintl Invalid numbe 1In madeCo)l,
Lase'n (^) pon0- 1pUnE 1GNPAR-
Swiich Lmode Caj )
aje (^1) bstop 0 bntak (ase bstop_r CS 1oP baale