Gnokii

From ArmadeusWiki
Revision as of 14:17, 4 April 2013 by FabienM (Talk | contribs) (target configuration)

Jump to: navigation, search

Introduction

gnokii provides tools and a user space driver for use with mobile phones. It can be used with the GSM modules available under various Armadeus platform.

Configuration

Gnokii is available under buildroot menuconfig :

make menuconfig

Select it in menu :

Package Selection for the target  --->
    Hardware handling  --->
        [*] gnokii program

then reflash your rootfs.

target configuration

GSM modules provided by Armadeus are recognized by gnokii as AT phone throught serial port. First things to do is to tel it with a configuration file:

  • create a configuration file /etc/gnokiirc
  • and fill it with somethings like :
[global]
#for apf27 apw
port = /dev/ttySMX1
#for apf51dev
port = /dev/ttyS0
model = AT
initlength = default
connection = serial
use_locking = no
serial_baudrate = 115200
serial_write_usleep = 10000
smsc_timeout = 20
 
[phone_hilov2]
#for apf27 apw
port = /dev/ttySMX1
#for apf51dev
port = /dev/ttyS0
model = AT
connection = serial

Usages