Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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