Hi there, I was starting testing the multi-part SMS submissions. Even using (with copy and paste) your examples leaving everything as it is but my cell number, I get an unknown error (500) on the manager interface when trying it out manually before coding it. I then enabled the debug on the * CLI and...
Action: VGSMsmstx To: +39339xxxxxxxx X-SMS-Module: vodafoneSIM X-SMS-Concatenate-RefID: 58 X-SMS-Concatenate-Total-Messages: 2 X-SMS-Concatenate-Sequence-Number: 1 Content-type: text/plain; charset=ASCII Content: This is message part 1 of 2, that will be followed by part 2 of 2 which will be sent later. Status: 500 Response: Error Message: unknown error Action: VGSMsmstx To: +393xxxxxxxxx X-SMS-Module: vodafoneSIM X-SMS-Concatenate-RefID: 58 X-SMS-Concatenate-Total-Messages: 2 X-SMS-Concatenate-Sequence-Number: 1 Content-type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content: VGVzdCBVVEYtOCBlbmNvZGluZyB3aXRoIGNoYXJhY3RlcnMgaW4gdGhlIEdTTSBhbHBoYWJldC4gQWNjZW50czogw6DDqMOsw7LDuSwgR3JlZWsgTGV0dGVyczogzqbOk86bzqnOoM6ozqPOmM6eLCBPdGhlcjogwqXCo8OHw5jDuMOFw6XigqzDhsOmw5/DicKkCg== Status: 500 Response: Error Message: unknown error The first output is coming from your example on your site (plain ASCII), the second using a UTF-8 encoded SMS: actually UTF-8 coding is not cited by your site, but I guess it's supported (isn't it?) I then enable debug: blackbox*CLI> help debug vgsm module sms [Jun 19 15:04:26] NOTICE[15952]: sms_submit.c:283 vgsm_sms_submit_prepare: UDL len7 = 7, wclen = 91, used7 = 91, max_len = 168, pos=22, max7=160 [Jun 19 15:04:51] NOTICE[15952]: sms_submit.c:283 vgsm_sms_submit_prepare: UDL len7 = 7, wclen = 120, used7 = 121, max_len = 168, pos=22, max7=160 blackbox*CLI> This is the output of just your ASCII sample multi-part SMS with serial debug enabled: blackbox*CLI> debug vgsm module serial [Jun 19 15:26:45] NOTICE[15952]: sms_submit.c:283 vgsm_sms_submit_prepare: UDL len7 = 7, wclen = 91, used7 = 91, max_len = 168, pos=22, max7=160 vgsm: vodafoneSIM: State change from IDLE to AWAITING_ECHO, timeout = 400 vgsm: vodafoneSIM: read()='A' vgsm: vodafoneSIM: BUF='A' vgsm: vodafoneSIM: read()='T+CMGS=9' vgsm: vodafoneSIM: BUF='AT+CMGS=9' vgsm: vodafoneSIM: read()='4<cr><cr><lf>> ' vgsm: vodafoneSIM: BUF='AT+CMGS=94<cr><cr><lf>> ' vgsm: vodafoneSIM: State change from AWAITING_ECHO to READING_RESPONSE, timeout = 301 vgsm: vodafoneSIM: BUF='<cr><lf>> ' vgsm: vodafoneSIM: State change from READING_RESPONSE to AWAITING_SMS_ECHO, timeout = 100 vgsm: vodafoneSIM: BUF='' vgsm: vodafoneSIM: read()='0791934' vgsm: vodafoneSIM: BUF='0791934' vgsm: vodafoneSIM: read()='32900200' vgsm: vodafoneSIM: BUF='079193432900200' vgsm: vodafoneSIM: read()='051000c9' vgsm: vodafoneSIM: BUF='079193432900200051000c9' vgsm: vodafoneSIM: read()='1933389' vgsm: vodafoneSIM: BUF='079193432900200051000c91933389' vgsm: vodafoneSIM: read()='96659' vgsm: vodafoneSIM: BUF='079193432900200051000c9193338996659' vgsm: vodafoneSIM: read()='80' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980' vgsm: vodafoneSIM: read()='011ab620' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620' vgsm: vodafoneSIM: read()='500033a' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a' vgsm: vodafoneSIM: read()='0201a8e8' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8' vgsm: vodafoneSIM: read()='f41c949' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949' vgsm: vodafoneSIM: read()='e83da' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83da' vgsm: vodafoneSIM: read()='e5f93c7c' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c' vgsm: vodafoneSIM: read()='2e83' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83' vgsm: vodafoneSIM: read()='e061391d140' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d140' vgsm: vodafoneSIM: read()='3bdcd201' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd201' vgsm: vodafoneSIM: read()='90b4447' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b4447' vgsm: vodafoneSIM: read()='87e9a07b' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b' vgsm: vodafoneSIM: read()='9acd0689' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689' vgsm: vodafoneSIM: read()='cb20' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20' vgsm: vodafoneSIM: read()='f39bcd7edfc' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfc' vgsm: vodafoneSIM: read()='b6490380' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380' vgsm: vodafoneSIM: read()='f828' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380f828' vgsm: vodafoneSIM: read()='7e57490' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380f8287e57490' vgsm: vodafoneSIM: read()='0cf43683' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380f8287e574900cf43683' vgsm: vodafoneSIM: read()='64a03b3a' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380f8287e574900cf4368364a03b3a' vgsm: vodafoneSIM: read()='3d46' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380f8287e574900cf4368364a03b3a3d46' vgsm: vodafoneSIM: read()='83ee6936' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380f8287e574900cf4368364a03b3a3d4683ee6936' vgsm: vodafoneSIM: read()='1b242e83' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380f8287e574900cf4368364a03b3a3d4683ee69361b242e83' vgsm: vodafoneSIM: read()='e665371' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380f8287e574900cf4368364a03b3a3d4683ee69361b242e83e66' vgsm: vodafoneSIM: read()='d' vgsm: vodafoneSIM: BUF='079193432900200051000c919333899665980011ab620500033a0201a8e8f41c949e83dae5f93c7c2e83e061391d1403bdcd20190b444787e9a07b9acd0689cb20f39bcd7edfcb6490380f8287e574900cf4368364a03b3a3d4683ee69361b242e83e66' vgsm: vodafoneSIM: State change from AWAITING_SMS_ECHO to AWAITING_SMS_ECHO_1A vgsm: vodafoneSIM: BUF='' vgsm: vodafoneSIM: read()='<1a>' vgsm: vodafoneSIM: BUF='<1a>' vgsm: vodafoneSIM: State change from AWAITING_SMS_ECHO_1A to READING_RESPONSE, timeout = 301 vgsm: vodafoneSIM: BUF='' vgsm: vodafoneSIM: read()='<cr><lf>+CMS ERRO' vgsm: vodafoneSIM: BUF='<cr><lf>+CMS ERRO' vgsm: vodafoneSIM: read()='R: 500<cr><lf>' vgsm: vodafoneSIM: BUF='<cr><lf>+CMS ERROR: 500<cr><lf>' vgsm: vodafoneSIM: State change from READING_RESPONSE to IDLE, no timeout vgsm: vodafoneSIM: BUF='' Any idea? -- Marcello Golfieri _______________________________________________ Visdn-hackers mailing list [email protected] https://mailman.uli.it/mailman/listinfo/visdn-hackers
