Last modified 2 years ago
h1phonekit
status : draft
Main architecture
- one central daemon
- listen to fso (gsm) events
- dispatch events to specialized components
component
- loaded as a dynamic module
- a component can be resident
api between daemon & component
- the component should export theses functions :
| function | description |
| init | return the events to be notified and the type of component (resident) |
| run | called when an event is fired by the daemon |
| terminate | called when the module is unloaded or when the daemon is killed |
List of components
| name | resident? | events | dialogs |
| registration | no | registration events | code pin dialog |
| phonecall | yes | incoming call | dialer, call in progress, call history, contact |
| sms | no | incoming sms | sms dialog, call history, contact |
