【文件属性】:
文件名称:aprs:aprs npm模块
文件大小:1.04MB
文件格式:ZIP
更新时间:2021-05-21 16:52:49
JavaScript
发送和接收APRS消息
var aprs = require('aprs');
aprs.send(fromCallsign, toCallsign, message, function(err, data){
if (err) {
console.error(err);
return
}
console.log(data);
});
aprs.receive(toCallsign, function(err, data){
if (err) {
console.error(err);
return
}
console.log(data);
});
API注释
发送APRS
http://www.findu.com/cgi-bin/sendmsg.cgi?fromcall=N7ICE&tocall=73S&msg=testing