Hi All,

I am currently attempting to implement remote file management from a Kannel
instance. I've personalised my own SIM for this, and it has the following
configuration settings:

No Counter, No Integrity, No Confidentiality, RFM TAR: B00100, RAM TAR:
000000 and PoR is required.

Using a USB dongle I was able to complete RFM via OTA by sending an SMS
message as follows:
0051000C915383661028967FF6AA1A02700000150D00010000B00010000000000000A0A40000023F00

The break down is below;

<--> Lets the telephone set the message reference
<--> <--> First Octet of SMS Submit
<--> <--> <--> ????
<--> <--> <--> <12> Telephone Number Length
<--> <--> <--> <--> <--> Telephone number is in international format
<--> <--> <--> <--> <--> <-- -- -- -- -- --> Telephone number (nibbles
swapped)
<--> <--> <--> <--> <--> <-- -- -- -- -- --> <--> TP-PID (Protocol
Identifier)
<--> <--> <--> <--> <--> <-- -- -- -- -- --> <--> <--> F6 is for use with
SMSC, 16 for Dongle (odd, as this works with Dongle)
<--> <--> <--> <--> <--> <-- -- -- -- -- --> <--> <--> <--> TP Validity
Period
<--> <--> <--> <--> <--> <-- -- -- -- -- --> <--> <--> <--> <26> Length of
Packet
 00   51   40   0C   91   ** ** ** ** ** **   7F   F6   AA   1A --
(Telephone number has been blanked out)

Length of packet: 26

<-- -- --> User Data Header (02 70 00 == OTA)
<-- -- --> <--> ????
<-- -- --> <--> <21> Remaining Length of Packet
<-- -- --> <--> <--> <13> Remaining length of data before APDU
<-- -- --> <--> <--> <--> <-- -- -- --> ????
<-- -- --> <--> <--> <--> <-- -- -- --> <-- -- -- --> RFM Toolkit
Application Reference
<-- -- --> <--> <--> <--> <-- -- -- --> <-- -- -- --> <-- -- -- -- -- -->
Command Type
<-- -- --> <--> <--> <--> <-- -- -- --> <-- -- -- --> <-- -- -- -- -- -->
<-- -- -- --> Command
<-- -- --> <--> <--> <--> <-- -- -- --> <-- -- -- --> <-- -- -- -- -- -->
<-- -- -- --> <-- --> Data
 02 70 00   00   15   0D   00 01 00 00   B0 00 10 00   00 00 00 00 00 A0
A4 00 00 02   3F 00

However, using Kannel I am having issues (the messages are either coming
through as plain text, or when I set the coding to 1 coming through as
unreadable) however, ultimately, I can't do RFM.

I have access to a tracer, so I should receive an 'SMS-PP Envelope' upon
successful OTA. My Kannel configuration uses a HSL SMSC. I have read that
only the UDH and message are required, however I have tried all sorts of
other combinations (including the above).

I am sending via the HTTP interface:

http://server.tld:15013/cgi-bin/sendsms?username=user&password=pass&from=************&to=************&smsc=knl3&udh=%02%70%00&text=%00%15%0D%00%01%00%00%B0%00%10%00%00%00%00%00%00%A0%A4%00%00%02%3F%00&coding=1

If anybody has successfully implemented OTA RFM from a Kannel instance
could they please give me some pointers, any help at all would be highly
appreciated!

Kind Regards,

Christopher Burke
-- 
Christopher Burke
http://simulity.com
Mobile: +44 7590 571 833
Skype: krslynx

Reply via email to