Samsung|writing data to the a310 using at commands in Wireless Phones Forums; "For those of us trying to write information (phone book, ..." | |||||||
| Forums | Active Topics | [Click to Join Our Forums] | Cell Tower Pictures | FAQ | Search | Today's Posts | Mark Forums Read |
|
| | LinkBack | Thread Tools | Search this Thread |
| | #1 |
| Fresh Member Join Date: Nov 2002 Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
For those of us trying to write information (phone book, schedule, ringers, images, etc) to the a310, using the at commands Hideo has found... Anyone had any luck figuring out the syntax of the at#pbokw command? I've gotten the syntax of a few commands figured out, but the the phone book write command has me stumped (to say nothing of the image and ringer commands). FWIW here's what I've figured out so far: at#pitdw=<storage location,0-19>,<priority: 0=low,1=high>,<due date timestamp>,<creation date time stamp>,"todo name 32 chars or less" at#pishw=<storage location,0-19>,<start time timestamp>,<stop time timestamp>,<creation date time stamp>,<when to alarm,0=noalarm,1=ontime,2=10min,3=30min,4=1hr> ,"event name 32 chars or less" at#pimmw=<storage location,0-9>,<memo entry time stamp>,"memo text, up to 60 chars" at#pidyw=<storage location,0-19>,<count down to time stamp>,<creation date time stamp>,"count down, up to 16 chars" at#pbgrw=<storage location,0-4>,"group name, up to 12 chars",<dunno what this is, alway 0?>,<creation date time stamp> all time stamps are of the YYYYMMDDTHHMMSS format... some care is needed when using time stamps... picking too old a time or start times that occur after stop times, etc. will nicely crash your phone. |
| | |
| | #2 |
| Junior Member Join Date: Sep 2002 Location: Midwest, USA Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
|
Well, to help things along here, I've figured out most of the syntax for the AT#PBOKW command... I believe the fields are as follows (separated by commas)... 1) ? - This is a number field. I'm thinking that this may be a flag like 0=New entry 1=Overwrite or something like that. 2) # in memory - (1-500) This is the number of the entry in the memory slots (you never actually see this number) 3) # in book - (1-500) This is the number assigned to the entry in the phonebook (this is the number you see associated with the entry in the phonebook) 4) Group # - (0 - 4) 5) Ringer # - I think this is (1-21) for the built-in ringers, and may go up to 26 with the downloadable ones included. 0=Inactive 6) Name - 12 character name string in quotes 7) Speed Dial # - A number (0-5) corresponding to the number entry that will be called with the speed dial. 8) Secret Flag - 0=Not secret, 1=secret 9) Home # - 32 character number string (0 on speed-dial) 10) ? 11) Work # - 32 character number string (1 on speed-dial) 12) ? 13) Cell # - 32 character number string (2 on speed-dial) 14) ? 15) Pager # - 32 character number string (3 on speed-dial) 16) ? 17) Fax # - 32 character number string (4 on speed-dial) 18) ? 19) No Label # - 32 character number string (5 on speed-dial) 20) ? 21) Voice Call # - 32 character number string (No speed-dial on this one I don't think.) 22) ? 23) E-Mail addr - 32 character string in quotes 24) Created Date - YYYYMMDDTHHMMSS So, I think a good input for this command would be something like the following: AT#PBOKW=0,10,3,1,0,"Cell",2,0,,,,,1111111234,0,,, ,,,,,,"",20021216T120334 You'll notice that this is basically the same output you get from the AT#PBOKR command with the exception of the first field which is a number. As I said, I've made a guess that this first field may be a flag for either creating a new entry or overwriting an existing one, but I'm not sure of that. I haven't played with this since before the holidays, so I don't remember if I actually was able to change an entry in my phonebook or not... Hopefully, I'll be able to get back to this now that the Holidays are over... Enjoy! |
| | |
| | Original Poster
#3 |
| Fresh Member Join Date: Nov 2002 Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
Thanks Hideo, that's great. The first field of PBOKW had me thrown off... I tried your syntax though and was able to write to the phone book. The first field does appear to be an insert/overwrite tag. Commands like AT#PBOKW=(1-500) will erase the entry at the specified location. The remainder of the fields you have marked as ? below are pretty confusing. Each ? field seems to correspond to the previous phone number field. PBOKR uses the value of secret if the previous field had a phone number and nothing if the previous field didn't have a phone number. However, PBOKW doesn't seem to care what you use as long as the phone number you enter is the same as that stored in the cell phone already. If you try to enter a new phone number using PBOKW then you should follow it with the value of secret in the ? field. I could see that this might be useful behavior for a syncronization program but it could just be that the phone doesn't care too much. I've had some trouble with the field you have labeled as the voice dial field. I haven't been able to get this field to write a voice number using PBOKW or read a voice number using PBOKR that I knew was in the phone. Something useful to note is the PBSEL command. The PISHR command and others appear to use the letters C, S and M perhaps to mark what records were newly entered on the (c)ell phone, recently (m)odified by the user on the cell phone, or have been uploaded on the (s)erial port. The PBSEL appears to be a command for listing the records in the phone book that have changed. PBSEL doesn't appear to list fields with the S marker, only C or M fields. This could be useful for a sync program that would run PBSEL, load in the fields which have been (c)ell entered or (m)odified, decide which numbers to keep and then write them back to the cell phone. thanks again, Hideo. Glad to know I'm not the only one working on this stuff. Combinging forces helps a lot. [img]i/expressions/face-icon-small-smile.gif[/img] |
| | |
| | #4 |
| Junior Member Join Date: Sep 2002 Location: Midwest, USA Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
|
Yeah, I was working on a program to back-up the phonebook entries on the A310 before the holidays came around. If you beat me to it, let me know and I'll put a link to your program on my webpage... Otherwise, I hopefully should have some more time this week to see if I can get a first whack at mine up-and-running... I'll have to check on the voice number thing. I could be totally off base... I'm pretty sure that this is a phone number field, and that "voice dial" is the only one left uncovered... What is it that you were saying about the items following the phone numbers? These are supposed to correspond to the "secret" flag? So for example, if I have my secret flag set to 1, then if I were entering a work number, I'd have to set item 12 in my list to 1 also? Is that what you're describing? That seems a little redundant, doesn't it? Maybe if you're changing an entry, it's just a confirmation that you want to change it by putting a 1 in that field, otherwise it doesn't care? |
| | |
| | Original Poster
#5 |
| Fresh Member Join Date: Nov 2002 Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
I've been working on a modified sambru program so it won't be all that useful to most. I'll send you the code if/when it gets in some sort of reasonable shape if you want it though. yeah... voicedial makes sense I just can't get it to work.... I agree that the ? fields seem pretty redundant. Thats the way PBOKR seems to use the fields though. PBOKW seems a little more fast and loose in its usage, but seems to follow the secret tag also. |
| | |
| | #6 |
| I have arrived! Join Date: Apr 2003 Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
I'm having difficulty running commands that have a # in them. All of the other commands work fine, (Ex:at+CAD=?,at+CBC?,at+GMM and so on...) but as soon as I get to the commands with #'s in them, (at#PBDYN?, at#PBGRR=?, at#PCBIT? and so on...) it just says "ERROR". I ran WHACKER to see if it was just my phone, but it seems to find the commands just fine. I'm connecting on com port 3 with the USB cable from samsung. I'm using Hyperterminal in auto detect mode (which should use the proper emulation mode), but I've tried all of the other modes as well. Can you tell me what program you're using to connect and whatever settings that you changed? I'm not sure why it's not working. I've tried two terminal programs and both have given me the same results. Thanks. |
| | |
| | Original Poster
#7 |
| Fresh Member Join Date: Nov 2002 Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
you probably need to do the at#pmode=1 first. then you'll get the transfer icon on the phone screen and the other at# commands should work.
|
| | |
| | #8 |
| I have arrived! Join Date: Apr 2003 Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
Ah ha! Thanks! That fixed it. I'm going to see what I can do in visual basic. I have some basic programming knowledge, but I haven't worked with Visual Basic in a while. If you have any tips or suggestions feel free to post them here or e-mail me at fiveironskillet@hotmail.com. If we can figure out the syntax maybe we can get this phone to do what we want it to! I will post my findings and my code if you like. Later! |
| | |
| | Original Poster
#9 |
| Fresh Member Join Date: Nov 2002 Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
|
Feel free to check out my perl script to write phone numbers, the schedule and todo list to your a310. It's got what I've figured out of the syntax in it. Something with a windows gui would probably be a lot more useful for most folks, though. So something in vb is a good idea. I think Hideo's got a fair amount up on his webpage too.
|
| | |
| | #10 |
| Fresh Member Join Date: Apr 2003 Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
|
all this is kinda confusing i looked on ut site....umm so can u tell me in an easier way is there any chance of me downloadin new ringers 2 my phone? it would be a biggg help if you could answer this 4 me because i have been askin madd people about this samsungs sch-a310 ringtones and if i could download new ones? |
| | |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AIM through SMS commands... | bobolito | AT&T Wireless Users | 0 | 08-03-2004 1:29 PM |
| I am writing FCC on Nextel | Bri267 | GENERAL Wireless Discussion | 7 | 02-16-2004 1:59 AM |
| writing on this forum from my sanyo 5300 | ckool19 | Sanyo | 2 | 03-08-2003 11:20 AM |
| AT-COMMANDS for 1x | DUN | GENERAL Wireless Discussion | 1 | 12-03-2002 9:05 AM |
| Writing software for the t720 | HawaiianToast | MOTOROLA | 6 | 11-18-2002 2:07 PM |