dudewheresmycode / node-iridium-sbd

Node.js library for sending and receiving Iridium SBD (Short Burst Data)
14 stars 11 forks source link

Partial MT message #5

Closed manuks closed 5 years ago

manuks commented 5 years ago

While getting an incoming message after a ring alert, the callback function does not get the complete data if it is a longer data. It gets only first 510 characters. Any idea how to get the complete data?

manuks commented 5 years ago

The issue is in the binary buffer size in https://github.com/dudewheresmycode/node-iridium-sbd/blob/master/index.js#L34 When increased it to 2048, the whole message is emitted.