Although I don't actively have a phone working yet (left mine at home today!), I've started making some fairly heavy changes to RRMobile with a view to providing an update in the near future.
The full list of changes that I have made so far:
- Modified plugin structures to be class based (for transportability of data across the application)
- Plugin configuration INI file reader re-written
- Plugin configuration modified to read from a single file
- Plugin starts with no default profiles configured
- Plugin now writes a default configuration if none exists
- Plugin no longer closes when phone not available
- Plugin loads demo data of 100 contacts with random default numbers, when Com Port = 0
- Clicking on 'Phone Status' icon when phone not available re-establishes communications
The new configuration file looks a little something like this:
Code:
[Configuration]
RRMSkinPath=C:\RoadRunner\Plugins\RRMobile\Skin\
RRMLogLevel=0
AvailableProfiles=1
ActiveProfile=1
[Profile 1]
Com Port=0
Baud rate=57600
Timeout=5
Use DTR=0
Use RTS=0
Wait Time=3
Supported Commands=
Unsupported Commands=
Initialise Command=
Vendor Command=
Model Command=
Call Answer Command=ATA
Call Hangup Command=ATH
Call Dial Command=
Last Phone Book=0
[Profile 1 \ Phone Book 0]
Phone Book Name=Phone Book 0
Enabled=0
Initialise Command=
Open Command=
Read Command=
Terminate Command=
[Profile 1 \ Phone Book 1]
Phone Book Name=Phone Book 1
Enabled=0
Initialise Command=
Open Command=
Read Command=
Terminate Command=
[Profile 1 \ Phone Book 2]
Phone Book Name=Phone Book 2
Enabled=0
Initialise Command=
Open Command=
Read Command=
Terminate Command=
[Profile 1 \ Phone Book 3]
Phone Book Name=Phone Book 3
Enabled=0
Initialise Command=
Open Command=
Read Command=
Terminate Command=
[Profile 1 \ Phone Book 4]
Phone Book Name=Phone Book 4
Enabled=0
Initialise Command=
Open Command=
Read Command=
Terminate Command=
[Profile 1 \ Phone Book 5]
Phone Book Name=Phone Book 5
Enabled=0
Initialise Command=
Open Command=
Read Command=
Terminate Command=
I'll probably tidy up the names of the sections related to the phone books so they read a little more sensibly (ie Profile 1 \ Outlook Phone Book etc) and I'm going to see if I can get my hands on some old working mobiles for testing with.
If you have RRMobile working currently, I'd appreciate a copy of your existing configuration files for a couple of reasons:
1) To write a conversion routine to port over existing configurations
2) To build a list of commands on a phone by phone basis to provide some basic templates to get people up and running quicker
Anything you can provide, please
e-mail me here!
TIA.