man(1) Manual page archive


     OPHONE(4)                                               OPHONE(4)

     NAME
          ophone - export nokia n95 services

     SYNOPSIS
          ophone

     DESCRIPTION
          Ophone serves a name space with the nokia n95 devices.
          Ophone works like oxport(4) and must be mounted with ofs(4).
          It listens requests on port 7000.

          The following files are exported:

          audio/midi
               This file storage midi bytes that are ready to loud.

          audio/mp3
               Similar first but mp3 bytes.

          audio/ctl
               This file allow users control the player. Three comands
               have been implemented: play, stop and clear.

          contacts
               The file which exports the contacts list. The contacts
               has the following format: lastname:name:telefone

          files
               Under this directory are exporting the files hierachy
               of the telefone. (SDCard, memory, etc.)

          sms

     write, in this file, senteces with the following format:
               This file allow send a sms through the phone. It's necesary
               <phone number>:<text>

     sms will be trunc at 150 characters.
               The phone number must not start with '+'. The text of the

          kbd

     Playground window is in use. Each read of this file returns two
     kinds of sentences:
               The keyboard file export all the keypad events while the

               mx y buttons msec:
           For the mouse events triggered by the arrows and the fire
          button. x and y are the position where the pointer must
          draw. The buttons that are being pressed during the events

     OPHONE(4)                                               OPHONE(4)

          are reference in buttons.

               kchar msec:
           For the numbers key events. char is the key that trigger
          the event.

               In all cases,msec is a time stamp for the event.

     EXAMPLE
          After starting Ophone in nokia n95. Devices can be mounted
          run

          o/ofs -A -m /n/phone tcp!n95!7000

          For playing a MP3 file use

          cp song.mp3 /n/phone/audio/mp3

          echo play > /n/phone/audio/ctl

          Write and send a sms:

          echo 555000555:Hi all! > /n/phone/sms

     SOURCE
          /usr/octopus/n95/*

     SEE ALSO
          ofs(4) and oxport(4).

     BUGS
          For the time being, ophone serves files and contact list
          phone as read-only and does not support autentication, for
          that reason ofs must be used with -A flag.