PHP Serial communication and crc
Posted: Tue Mar 23, 2010 11:44 am
Hello,
First of I'm rather inexperienced PHP programmer but I have decided to get my head around this.
What I want to achieve is make PHP communicate with a security system from Satel that has a special rs232 module just for that purpose.
Finds so far:
PHP class for communicating with serial port: http://phpclasses.fonant.com/browse/package/3679.html
Article about using mentioned php class: http://www.communitymx.com/content/arti ... &cid=8658A
The manual for the rs232 module: http://www.priithansen.com/INT-RS_v1.01_EN.pdf
I have not actually ordered the module just yet because I would like to figure it out in theory first. The part that I just can't seem to understand is on the module manual page 2 about calculating the crc sum for data integrity.
Could anyone Please guide me to some manual about crc or explain to a dummy how it's done?
Thank You in advance and sorry for the language as English is not my mother tongue.
First of I'm rather inexperienced PHP programmer but I have decided to get my head around this.
What I want to achieve is make PHP communicate with a security system from Satel that has a special rs232 module just for that purpose.
Finds so far:
PHP class for communicating with serial port: http://phpclasses.fonant.com/browse/package/3679.html
Article about using mentioned php class: http://www.communitymx.com/content/arti ... &cid=8658A
The manual for the rs232 module: http://www.priithansen.com/INT-RS_v1.01_EN.pdf
I have not actually ordered the module just yet because I would like to figure it out in theory first. The part that I just can't seem to understand is on the module manual page 2 about calculating the crc sum for data integrity.
Could anyone Please guide me to some manual about crc or explain to a dummy how it's done?
Thank You in advance and sorry for the language as English is not my mother tongue.
