ofono
v0.1.0
Published
A library making it easy to interact with Ofono on GNU/Linux
Readme
node-ofono
node-ofono is a Node.js binding for the oFono D-Bus interface, enabling seamless interaction with mobile telephony functions on Linux systems.
Features
- Communicate with oFono over D-Bus
- Manage SIM cards, modems, and mobile network settings
- Ideal for integrating telephony features into Node.js applications
Installation
Install via npm:
npm install ofonoUsage
To dial a specified number on all modems connected to the computer:
import { Ofono, VoiceCallManager } from 'ofono'
const ofono = new Ofono()
const modems = await ofono.getModems()
for (const modem of modems) {
const vcm = VoiceCallManager.ofModem(modem)
vcm.call('5551234567')
}TODO: docs
Contributing
Contributions are welcome! Feel free to submit issues, feature requests, or pull requests on GitHub.
License
This project is licensed under the MIT License.
