The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Serial Bridge


  • Subject: Re: Serial Bridge
  • From: "Patrick" <patrick@xxxxxxxxxxxx>
  • Date: Tue, 23 May 2006 12:04:47 -0000

Hi Ian,
I've compared your output with the source (sorry this has taken so
long), and it looks like everything is working reasonably ok - in so
much as the serial packet is being broadcast to the network as
indicated by the "forwarding xAP message" line and the subsequent
repetition of your heartbeat message. What are you using to listen to
the message on the ethernet side?

Patrick

--- In xap_automation@xxxxxxx, "Ian Davidson" <ian@...>
wrote:
>
> Hello Patrick
>=20
>=20=20
>=20
> Nice to see you back, I hope you had a good break.
>=20
>=20=20
>=20
> Below is the output from the bridge run from a single line batch
file. It also includes a single message sent from the PIC. One other
small thing I have noticed, if I use the PC format to specify the com
port i.e COM3 I can not ctrl C or cntl break and have to shut down the
window, however if I use the other format everything exits correctly.
>=20
>=20=20
>=20
> Thank you
>=20
>=20=20
>=20
> Ian D=20
>=20
>=20=20
>=20
>=20=20
>=20
> C:\utils\xap\bridge>go3
>=20
>=20=20
>=20
> C:\utils\xap\bridge>xap-bridge /dev/ttyS2 ian:grant eth1 3639 5
>=20
> Serial Bridge for xAP v1.2
>=20
> (c) Patrick Lidstone, 2003
>=20
>=20=20
>=20
> eth1: address 192.168.1.18
>=20
> eth1: netmask 255.255.255.0
>=20
> Autoconfig: xAP broadcasts on 192.168.1.255:3639
>=20
> xAP uid=3DFF000101, source=3DRocket.Bridge.ian:grant
>=20
> Debug level 5
>=20
> Broadcast socket port 3639 in use
>=20
> Assuming a hub is active
>=20
> Discovered port 3639
>=20
> Using serial port /dev/ttyS2
>=20
> [=E2=98=BB]
>=20
> Serial Rx: <2/2> [x]
>=20
> Serial Rx: <x,120/78> [a]
>=20
> Serial Rx: <a,97/61> [p]
>=20
> Serial Rx: <p,112/70> [-]
>=20
> Serial Rx: <-,45/2d> [h]
>=20
> Serial Rx: <h,104/68> [b]
>=20
> Serial Rx: <b,98/62> [e]
>=20
> Serial Rx: <e,101/65> [a]
>=20
> Serial Rx: <a,97/61> [t]
>=20
> Serial Rx: <t,116/74> [
>=20
> ]
>=20
> Serial Rx: <10/a> [{]
>=20
> Serial Rx: <{,123/7b> [
>=20
> ]
>=20
> Serial Rx: <10/a> [v]
>=20
> Serial Rx: <v,118/76> [=3D]
>=20
> Serial Rx: <=3D,61/3d> [1]
>=20
> Serial Rx: <1,49/31> [2]
>=20
> Serial Rx: <2,50/32> [
>=20
> ]
>=20
> Serial Rx: <10/a> [h]
>=20
> Serial Rx: <h,104/68> [o]
>=20
> Serial Rx: <o,111/6f> [p]
>=20
> Serial Rx: <p,112/70> [=3D]
>=20
> Serial Rx: <=3D,61/3d> [1]
>=20
> Serial Rx: <1,49/31> [
>=20
> ]
>=20
> Serial Rx: <10/a> [u]
>=20
> Serial Rx: <u,117/75> [i]
>=20
> Serial Rx: <i,105/69> [d]
>=20
> Serial Rx: <d,100/64> [=3D]
>=20
> Serial Rx: <=3D,61/3d> [F]
>=20
> Serial Rx: <F,70/46> [F]
>=20
> Serial Rx: <F,70/46> [0]
>=20
> Serial Rx: <0,48/30> [1]
>=20
> Serial Rx: <1,49/31> [0]
>=20
> Serial Rx: <0,48/30> [1]
>=20
> Serial Rx: <1,49/31> [0]
>=20
> Serial Rx: <0,48/30> [0]
>=20
> Serial Rx: <0,48/30> [
>=20
> ]
>=20
> Serial Rx: <10/a> [c]
>=20
> Serial Rx: <c,99/63> [l]
>=20
> Serial Rx: <l,108/6c> [a]
>=20
> Serial Rx: <a,97/61> [s]
>=20
> Serial Rx: <s,115/73> [s]
>=20
> Serial Rx: <s,115/73> [=3D]
>=20
> Serial Rx: <=3D,61/3d> [x]
>=20
> Serial Rx: <x,120/78> [a]
>=20
> Serial Rx: <a,97/61> [p]
>=20
> Serial Rx: <p,112/70> [-]
>=20
> Serial Rx: <-,45/2d> [h]
>=20
> Serial Rx: <h,104/68> [b]
>=20
> Serial Rx: <b,98/62> [e]
>=20
> Serial Rx: <e,101/65> [a]
>=20
> Serial Rx: <a,97/61> [t]
>=20
> Serial Rx: <t,116/74> [.]
>=20
> Serial Rx: <.,46/2e> [a]
>=20
> Serial Rx: <a,97/61> [l]
>=20
> Serial Rx: <l,108/6c> [i]
>=20
> Serial Rx: <i,105/69> [v]
>=20
> Serial Rx: <v,118/76> [e]
>=20
> Serial Rx: <e,101/65> [
>=20
> ]
>=20
> Serial Rx: <10/a> [s]
>=20
> Serial Rx: <s,115/73> [o]
>=20
> Serial Rx: <o,111/6f> [u]
>=20
> Serial Rx: <u,117/75> [r]
>=20
> Serial Rx: <r,114/72> [c]
>=20
> Serial Rx: <c,99/63> [e]
>=20
> Serial Rx: <e,101/65> [=3D]
>=20
> Serial Rx: <=3D,61/3d> [G]
>=20
> Serial Rx: <G,71/47> [F]
>=20
> Serial Rx: <F,70/46> [O]
>=20
> Serial Rx: <O,79/4f> [R]
>=20
> Serial Rx: <R,82/52> [C]
>=20
> Serial Rx: <C,67/43> [E]
>=20
> Serial Rx: <E,69/45> [9]
>=20
> Serial Rx: <9,57/39> [.]
>=20
> Serial Rx: <.,46/2e> [I]
>=20
> Serial Rx: <I,73/49> [D]
>=20
> Serial Rx: <D,68/44> [D]
>=20
> Serial Rx: <D,68/44> [M]
>=20
> Serial Rx: <M,77/4d> [X]
>=20
> Serial Rx: <X,88/58> [.]
>=20
> Serial Rx: <.,46/2e> [L]
>=20
> Serial Rx: <L,76/4c> [I]
>=20
> Serial Rx: <I,73/49> [G]
>=20
> Serial Rx: <G,71/47> [H]
>=20
> Serial Rx: <H,72/48> [T]
>=20
> Serial Rx: <T,84/54> [I]
>=20
> Serial Rx: <I,73/49> [N]
>=20
> Serial Rx: <N,78/4e> [G]
>=20
> Serial Rx: <G,71/47> [1]
>=20
> Serial Rx: <1,49/31> [.]
>=20
> Serial Rx: <.,46/2e> [T]
>=20
> Serial Rx: <T,84/54> [E]
>=20
> Serial Rx: <E,69/45> [S]
>=20
> Serial Rx: <S,83/53> [T]
>=20
> Serial Rx: <T,84/54> [
>=20
> ]
>=20
> Serial Rx: <10/a> [i]
>=20
> Serial Rx: <i,105/69> [n]
>=20
> Serial Rx: <n,110/6e> [t]
>=20
> Serial Rx: <t,116/74> [e]
>=20
> Serial Rx: <e,101/65> [r]
>=20
> Serial Rx: <r,114/72> [v]
>=20
> Serial Rx: <v,118/76> [a]
>=20
> Serial Rx: <a,97/61> [l]
>=20
> Serial Rx: <l,108/6c> [=3D]
>=20
> Serial Rx: <=3D,61/3d> [6]
>=20
> Serial Rx: <6,54/36> [0]
>=20
> Serial Rx: <0,48/30> [
>=20
> ]
>=20
> Serial Rx: <10/a> [}]
>=20
> Serial Rx: <},125/7d> [
>=20
> ]
>=20
> Serial Rx: <10/a> [-]
>=20
> Serial Rx: <-,45/2d> [-]
>=20
> Serial Rx: <-,45/2d> [-]
>=20
> Serial Rx: <-,45/2d> [-]
>=20
> Serial Rx: <-,45/2d> [=E2=99=A5]Forwarding xAP message:
>=20
>=20=20
>=20
> xap-hbeat
>=20
> {
>=20
> v=3D12
>=20
> hop=3D1
>=20
> uid=3DFF010100
>=20
> class=3Dxap-hbeat.alive
>=20
> source=3DGFORCE9.IDDMX.LIGHTING1.TEST
>=20
> interval=3D60
>=20
> }
>=20
>=20=20
>=20
>=20=20
>=20
>=20=20
>=20
> Serial Rx: <3/3> [ ]
>=20
> Terminate batch job (Y/N)? y
>=20
>=20=20
>=20
> C:\utils\xap\bridge>
>=20
>=20=20
>=20
> ________________________________
>=20
> From: xap_automation@xxxxxxx
[mailto:xap_automation@xxxxxxx] On
Behalf Of Patrick Lidstone
(Personal E-mail)
> Sent: 28 April 2006 21:46
> To: Ian
> Subject: RE: [xap_automation] Serial Bridge
>=20
>=20=20
>=20
> Hi Ian,
>=20
> I have been away for a while - I see there have been some notes on
this topic whilst I was travelling. I will be around after the bank
holiday and can look into it in more detail then. In the meantime, can
you let me know what command line options you are seeing and send me
the start up output with verbosity turned up high?
>=20
> Thanks
>=20
> Patrick
>=20
>=20=09=20
>=20
>=20=09
> ________________________________
>=20
>=20
> 	From: xap_automation@xxxxxxx
[mailto:xap_automation@xxxxxxx] On
Behalf Of Ian Davidson
> 	Sent: 28 April 2006 20:49
> 	To: xap_automation@xxxxxxx
> 	Subject: [xap_automation] Serial Bridge
>=20
> 	Hi,
>=20
>=20=09=20
>=20
> 	Using Patrick=E2=80=99s serial bridge I can see the heartbeats
generated
by a PIC in the viewer and all is ok. However I can not get any Xap
message to go to the serial side of the bridge. Can anyone tell me
what I need to do to get this to work please?
>=20
>=20=09=20
>=20
> 	Thanks
>=20
>=20=09=20
>=20
> 	Ian D=20
>=20
>=20=09=20
>=20
>=20=09=20
>=20
> 	SPONSORED LINKS=20
>=20
> Workflow automation
<http://groups.yahoo.com/gads?t=3Dms&k=3DWorkflow+automation&w1=3DWorkflow+=
automation&w2=3DAutomation+equipment&w3=3DIndustrial+automation&w4=3DTest+a=
utomation&w5=3DSales+automation&w6=3DFactory+automation&c=3D6&s=3D145&.sig=
=3DF4tRNBO_G_ZzajQmbmwe7Q>
=20
>=20
> Automation equipment
<http://groups.yahoo.com/gads?t=3Dms&k=3DAutomation+equipment&w1=3DWorkflow=
+automation&w2=3DAutomation+equipment&w3=3DIndustrial+automation&w4=3DTest+=
automation&w5=3DSales+automation&w6=3DFactory+automation&c=3D6&s=3D145&.sig=
=3D9-eliEiH2rHCvwCe6xpvLw>
=20
>=20
> Industrial automation
<http://groups.yahoo.com/gads?t=3Dms&k=3DIndustrial+automation&w1=3DWorkflo=
w+automation&w2=3DAutomation+equipment&w3=3DIndustrial+automation&w4=3DTest=
+automation&w5=3DSales+automation&w6=3DFactory+automation&c=3D6&s=3D145&.si=
g=3DxI5A0mNmlPHiPI__bxZwUQ>
=20
>=20
> Test automation
<http://groups.yahoo.com/gads?t=3Dms&k=3DTest+automation&w1=3DWorkflow+auto=
mation&w2=3DAutomation+equipment&w3=3DIndustrial+automation&w4=3DTest+autom=
ation&w5=3DSales+automation&w6=3DFactory+automation&c=3D6&s=3D145&.sig=3Dba=
bdTZ-cZ8AbgxQRUJqztw>
=20
>=20
> Sales automation
<http://groups.yahoo.com/gads?t=3Dms&k=3DSales+automation&w1=3DWorkflow+aut=
omation&w2=3DAutomation+equipment&w3=3DIndustrial+automation&w4=3DTest+auto=
mation&w5=3DSales+automation&w6=3DFactory+automation&c=3D6&s=3D145&.sig=3D-=
x7c78RB2nUpuPBRifr1YA>
=20
>=20
> Factory automation
<http://groups.yahoo.com/gads?t=3Dms&k=3DFactory+automation&w1=3DWorkflow+a=
utomation&w2=3DAutomation+equipment&w3=3DIndustrial+automation&w4=3DTest+au=
tomation&w5=3DSales+automation&w6=3DFactory+automation&c=3D6&s=3D145&.sig=
=3DzQtSND_pDmyn0UaMn4LPgQ>
=20
>=20
>=20=09=20
>=20
>=20=09
> ________________________________
>=20
>=20
> 	YAHOO! GROUPS LINKS=20
>=20
>=20=09=20
>=20
> 	*	 Visit your group "xap_automation
<http://groups.yahoo.com/group/xap_automation>
" on the web.
>=20=09=09=20=20
> 	*	 To unsubscribe from this group, send an email to:
> 		 xap_automation-unsubscribe@xxxxxxx
<mailto:xap_automation-unsubscribe@xxxxxxx?subject=3DUnsubscribe>=20
>=20=09=09=20=20
> 	*	 Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/>
.=20
>=20
>=20=09=20
>=20
>=20=09
> ________________________________
>







xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.