diff options
Diffstat (limited to 'docs/manual/protocol/sonim.rst')
-rw-r--r-- | docs/manual/protocol/sonim.rst | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/manual/protocol/sonim.rst b/docs/manual/protocol/sonim.rst new file mode 100644 index 0000000..60c2214 --- /dev/null +++ b/docs/manual/protocol/sonim.rst @@ -0,0 +1,37 @@ +Sonim AT Commands +================= + +Filesystem access:: + + at*list=<path> - list directory content + (0=file, 1=subdirectory) + at*mkdir=<path> - make directory + at*rmdir=<path> - remove directory + at*remove=<path> - remove file + at*move=<srcpath>,<dstpath> - ? copy (move?) files + at*startul=<srcpath> - prepare file to upload (from phone) + returned data: + *STARTUL: <filesize_in_bytes> + at*startdl=<dstpath>,<filesize> - prepare file to download (to phone) + at*get - get base64 coded data chunk + returned data: + *GET: <chunklen>,<data> + at*get - get base64 coded data chunk + returned data: + *GET: <chunklen>,<data> + at*put=<no>,<len>,<data>,<chck> - put base64 coded data chunk + (no is chunk number, starting from 0) + (len is chunk length) + (last 4 characters is checksum ?) + at*end - end/finish file transfer operation + ------------------- + at*syph=?,?.?,<path> - ? (add downloaded record to phonebook?) + at*syph=0,1,%d,%s + EXAMPLE: + AT*SYPH=0,1,74,/app/dir/tmp.dat + at*sysm=0,1,%d - ? SMS handling + + --- + Phone has at least two directories from root, /app and /app3 . + at*list=/ gives error. + |