# Evologics software defined modem &#8211; operation

Date: 2017-02-08

I have 4 [evologics](https://evologics.de/) SDMs, This is a log of the operation of the 2 48Khz-72Khz experiment.

All the files are in [github](https://github.com/marinetech/SDM)

<!--more-->

Turn the modem to physical mode :

<pre>nc 192.168.0.X 9200

ATP

AT?S 
Local Address: 1
Remote Address: 0
Acoustic Link Status: PHY
Pool Status: 0 packages, 16384 bytes free
Promiscuous Mode: ON

AT!L0
[*]OK
<img class="alignnone size-medium wp-image-192" src="http://goldmanmalka.com/wp-content/uploads/sites/10/2017/02/Turn_on_PHY_mode-300x176.png" alt="" width="300" height="176" /></pre>

### edit the fsm.conf

<pre>sudo gedit /usr/local/etc/fsm.conf
<img class="alignnone size-medium wp-image-188" src="http://goldmanmalka.com/wp-content/uploads/sites/10/2017/02/fsm.conf_-300x95.png" alt="" width="300" height="95" /></pre>

### Generate ref and tx :

<pre>python refgen.py

python txgen.py</pre>

### Run the [evins](https://github.com/okebkal/evins) console :

<pre>./evins/_rel/evins/bin/evins console
<img class="alignnone size-medium wp-image-191" src="http://goldmanmalka.com/wp-content/uploads/sites/10/2017/02/run_evins-300x80.png" alt="" width="300" height="80" /></pre>

### Connect to the first modem :

<pre>nc localhost 7001

ref,/tmp/ref
report,ref,1024
config,0,0,0 
report,config,1
tx,/tmp/tx
report,tx,375000</pre>

<img class="alignnone size-medium wp-image-189" src="http://goldmanmalka.com/wp-content/uploads/sites/10/2017/02/modem1-300x176.png" alt="" width="300" height="176" /> 

### connect to the second modem :

<pre>ref,/tmp/ref
report,ref,1024
config,0,0,0
report,config,1
rx,125000,/tmp/rx
rx
stop
<img class="alignnone size-medium wp-image-190" src="http://goldmanmalka.com/wp-content/uploads/sites/10/2017/02/modem2-300x176.png" alt="" width="300" height="176" /></pre>
