qualcomm-4g-lte-modem
v0.0.1
Published
qualcomm-4g-lte-modem
Downloads
4
Readme
qualcomm-4g-lte-modem
install
~$ npm i qualcomm-4g-lte-modem
example
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