Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How are the X10 and Serial Items implemented, indpendent of the platform?

0
Posted

How are the X10 and Serial Items implemented, indpendent of the platform?

0

This answer is authored by Bill Birthisel, author of the SerialPort and CommPort modules. The user works with an X10_Item which reflects physical hardware and the state of that hardware. The user “loop” code deals with the state and conditions which alter it. This code is independent of OS and specific to mh. X10_Items talk to Serial_Items which implement a software protocol required by the model and type of the actual hardware. The Serial_Items can use protocol translator modules such as CM11.pm, HomeBase.pm, and CM17.pm. But the output is platform-independent serial commands to the next layer. The protocol translator modules are publicly available outside mh and may be used by code other than Serial_Items. These modules will eventually be on CPAN. The code is still independent of OS. Other Serial_Item types, including “generic” read/write ports, also exist. Win32::SerialPort.pm and Device::SerialPort.pm are CPAN modules which actually implement the serial command interface. Device::S

0

This answer is authored by Bill Birthisel, author of the SerialPort and CommPort modules. The user works with an X10_Item which reflects physical hardware and the state of that hardware. The user “loop” code deals with the state and conditions which alter it. This code is independent of OS and specific to mh. X10_Items talk to Serial_Items which implement a software protocol required by the model and type of the actual hardware. The Serial_Items can use protocol translator modules such as CM11.pm, HomeBase.pm, and CM17.pm. But the output is platform-independent serial commands to the next layer. The protocol translator modules are publicly available outside mh and may be used by code other than Serial_Items. These modules will eventually be on CPAN. The code is still independent of OS. Other Serial_Item types, including “generic” read/write ports, also exist. Win32::SerialPort.pm and Device::SerialPort.pm are CPAN modules which actually implement the serial command interface. Device::S

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123