I’m trying to send raw binary SMS from an Android app (jetpack compose) to a SIM800L module, and I’m stuck. Here’s the deal: On Android I call: smsManager.sendDataMessage( phone, null, 8901.toShort(), // just an arbitrary port payloadBytes, sentPI, null ) Text SMS works fine (both from my app using sendTextMessage and from a regular phone). I can parse them just fine. But when I try sendDataMessage , no sms is sent and i get an error In logcat I...
Originally asked by dz gamer on Stack Exchange (stackoverflow) (CC BY-SA 4.0).