资 源 简 介
Back in 2001 I bought a Napco Gemini 3200 alarm system for my home. Around the same time I wanted to teach myself java. I noticed my Gemini had an RS232 serial port which greatly intrigued me - turns out that you could, using Napco"s software, program the control panel from a laptop. So I wondered if they can do it why can"t I. But then I found out that all the communications between the laptop & the control panel were encrypted and Napco weren"t exactly publishing the decryption algorithm on their website. So after a lot of searching I eventually got my hands on the algorithm on paper and set about converting it to Java. Eventually I did manage to get something working but like most well intentioned projects I never finished. My idea was to instantiate a "Gemini" java class which other threads could then communicate with and use to arm the system, disarm etc but also a listener service that would monitor the Gemini class for alarms and optionally send SMSes, emails an