Closed narai420 closed 4 years ago
When I run any USSD command I just get the "OK" response, but I don't know how to get the full result. Like *566# should return the balance , but it returns ok
@narai420 check out #17
To get the USSD answer you have to register an event listener, something like:
modem.on('onNewIncomingUSSD', (data)=>{
console.log('onNewIncomingUSSD', {data});
})
@zabsalahid please close the issue.
Thank You
Can you please, give me an example of how to use mode.sendUSSD() function properly. I can understand it . Thank You