livebox:sms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
livebox:sms [2012/04/17 12:39] minerva9livebox:sms [2014/06/08 10:37] (current) minerva9
Line 1: Line 1:
 ====== xAP SMS ====== ====== xAP SMS ======
  
-{{:atmel:7110_main.gif }} The xap-sms daemon allows the Livebox to send and receive SMS messages with a Mobile phone.+{{:atmel:7110_main.gif }} The xap-sms daemon allows the Livebox to send and receive SMS messages with a mobile phone.
  
 {{ :atmel:dlr3.gif}} The SMS messages are converted into xAP for transport on our bus so that other software can deal with them and react.  Usage of this hardware requires additional programming to setup the control structures that you require. It doesn't do anything out of the box - see the sample programs section below. {{ :atmel:dlr3.gif}} The SMS messages are converted into xAP for transport on our bus so that other software can deal with them and react.  Usage of this hardware requires additional programming to setup the control structures that you require. It doesn't do anything out of the box - see the sample programs section below.
  
-Testing was done using a NOKIA-7110 your mileage vary with other handsets.  However if they are compatible to the COMMAND SET then they **should just work**. +Testing was done using a NOKIA-7110 your mileage may vary with other handsets.  However if they are compatible with the COMMAND SET then they **should just work**. 
  
-Connecting the phone to the Livebox will requires a [[http://www.homeautomationhub.com/content/dlr3-connect-cable|DLR-3 cable]] and a USB/Serial cable.+Connecting the phone to the Livebox will requires a [[http://www.homeautomationhub.com/content/dlr3-connect-cable|DLR-3 cable]] and a [[http://www.homeautomationhub.com/content/usb-serial-adaptor|USB/Serial cable]]. 
 + 
 +Note that xap-sms connects at 19200 baud.
  
 The command line options: The command line options:
Line 17: Line 19:
  
 xap-sms: [options] xap-sms: [options]
-  -n, --instance NAME    Default sms 
   -i, --interface IF     Default br0   -i, --interface IF     Default br0
-  -p, --port NUM         Default 3639 +  -d, --debug            0-7
-  -s, --serial DEV       Default /dev/ttyUSB1 +
-  -d, --debug            0-9+
   -h, --help   -h, --help
 </code> </code>
  
-Scheme for the body of outgoing xAP message+Schema for the body of outgoing xAP message
 <code> <code>
 xap-header xap-header
Line 61: Line 60:
 </code> </code>
  
-There are two configuration parameters in ///etc/xap-livebox.ini// that xap-sms honours.  Whether the daemon should be started or not and the USB serial device where the phone can be found.  These can also be updated via the WEB interface.+There are three configuration parameters in ///etc/xap-livebox.ini// that xap-sms honours.  Whether the daemon should be started or notthe USB serial device where the phone can be found and the baud rate for the serial comms.  These can also be updated via the HAH web interface.
  
 <code> <code>
Line 67: Line 66:
 enable=1 enable=1
 usbserial=/dev/ttyUSB1 usbserial=/dev/ttyUSB1
 +baud=19200
 </code> </code>
  
  • livebox/sms.1334666377.txt.gz
  • Last modified: 2012/04/17 12:39
  • by minerva9