ASN <-> SKM communication setup

Assumption:
1. ASN system is installed and configured
2. SKM system is installed and running 
3. Cameras are configured in SKM. 
4. Association  sensors are configured in ASN (yellow numbers from SKM system (101,102,103, etc are corresponded to 1,2,3 .. etc IDs in ASN)

Activation on SKM side:

1. Activate ADV extension. Run following script from root
/opt/sarch/acc/bin/activate.adv

2. Restart SKM service:
service patrol restart

Setup the communication:
1. SKM system uses /dev/ttyS0 (COM0) with following communication parameters:
Speed:	9600
Data bits:	8
Parity:		None
Stop bits:	1
Flow control:	None

Note: Serial Device name can be changed in SKM Admin menu (other parameters cannot be changed)

2. Connect ASN and SKM system with Null-model cable (serial cross-cable).
3. On the Windows computer (ASN side)  set speed parameters in Windows Device manager and "ASN admin", make sure that the port name is correctly set in ASN admin since usb-serial adapter tends to have different names
4.Test communication windows-linux-SKM serial communication:
stop ASN serial communication (CameraComm Stop)
run terminal:  Start->Programs->Accessories->Communications->Hyper Terminal
- in file->Properties->Configure set communication parameters (9600 8n1, now flow control)
- on the terminal screen quickly type 'ver'. The respond should be TC8800
5. Exit from Hyper Terminal and start  ASN serial communication (CameraComm Start)
6. Proceed with ASN Demo scenario


