Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lsongdev/qualcomm-4g-lte-modem
https://github.com/lsongdev/qualcomm-4g-lte-modem
hardware iot networking
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lsongdev/qualcomm-4g-lte-modem
- Owner: lsongdev
- Created: 2021-02-01T10:38:41.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-02T02:39:08.000Z (almost 4 years ago)
- Last Synced: 2024-12-31T10:05:35.932Z (29 days ago)
- Topics: hardware, iot, networking
- Language: JavaScript
- Homepage: http://npmjs.org/qualcomm-4g-lte-modem
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## qualcomm-4g-lte-modem
### install
```shell
~$ npm i qualcomm-4g-lte-modem
```### example
```js
import { user, device, monitoring, sms } from 'qualcomm-4g-lte-modem';(async () => {
const res = await user.login("admin", "admin");
console.log('login', res);const info = await device.information();
console.log(info);const status = await monitoring.status();
console.log(status);const count = await sms.count();
console.log(count);const { Count, Messages } = await sms.list();
console.log('SMS Count:', Count);
for (const message of Messages) {
console.log(message);
}const d = await sms.send([
'18510100102'
], 'hello world');
console.log(d);})();
```### license
MIT