some more testing
This commit is contained in:
parent
57df58326e
commit
9252d6a522
2 changed files with 8 additions and 13 deletions
13
index.js
13
index.js
|
@ -283,8 +283,7 @@ async function main2() {
|
|||
skyperTest.push('4512:1' + String.fromCharCode(0x1f + 8) + String.fromCharCode(0x20 + 10) + "Rubrik 8")
|
||||
skyperTest.push('4512:1' + String.fromCharCode(0x1f + 9) + String.fromCharCode(0x20 + 10) + "Rubrik 9")
|
||||
skyperTest.push('4512:1' + String.fromCharCode(0x1f + 10) + String.fromCharCode(0x20 + 10) + "Rubrik 10")
|
||||
*/
|
||||
/*
|
||||
|
||||
skyperTest.push('4520:1' + String.fromCharCode(0x1f + 1) + String.fromCharCode(0x20 + 0) + "Rubrik 1 Nachricht Slot 0")
|
||||
skyperTest.push('4520:1' + String.fromCharCode(0x1f + 2) + String.fromCharCode(0x20 + 1) + "Rubrik 2 Nachricht Slot 1")
|
||||
skyperTest.push('4520:1' + String.fromCharCode(0x1f + 3) + String.fromCharCode(0x20 + 2) + "Rubrik 3 Nachricht Slot 2")
|
||||
|
@ -302,14 +301,12 @@ async function main2() {
|
|||
await types.MessageManager.Deliver(id)
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
let id2 = await types.MessageManager.New('simple', { device: 'generic', connectors: [
|
||||
['pocsag', '077174D']
|
||||
] }, "Hallo " + (new Date()).toUTCString())
|
||||
] }, "Netwerktestbericht")
|
||||
console.log('msgid', id2)
|
||||
await types.MessageManager.Deliver(id2)
|
||||
|
||||
/*
|
||||
*/
|
||||
// activating the skyper
|
||||
const routingHeader = {
|
||||
|
@ -361,7 +358,3 @@ main2()
|
|||
],
|
||||
} */
|
||||
app.listen(3000)
|
||||
/*types.ConnectorRegistry.transmit("pocsag", {
|
||||
ric: '133701',
|
||||
body: "AAAAhh, ich\n\n\n\nHabe einen Sprung"
|
||||
})*/
|
|
@ -15,6 +15,8 @@ class ConnectorRegistry {
|
|||
if (!this.Connectors[ name ]) throw "not registred"
|
||||
return this.Connectors[ name ].duplexCapable
|
||||
}
|
||||
receive(id, data) {
|
||||
}
|
||||
}
|
||||
const registry = new ConnectorRegistry()
|
||||
module.exports = registry
|
Loading…
Add table
Reference in a new issue