How To: Manual Settings in RM
Posted: Sat Apr 25, 2009 11:16 am
The first thing is to check to see if there's already a protocol with name "pid: XX XX" in the protocol drop-down. These are generated for entries in protocols.ini that only have the PID and some protocol code, but which don't have details about device and command parameters and how to convert those to fixed and variable data. There are a lot of such protocols. If there is an entry for the protocol you want to use, don't use Manual Settings at all, use this entry. RM will have automatically determined the number of fixed and variable bytes used by the protocol and created appropriated device and command parameters, and provides control in the Protocol Parameters of how the device and command parameters are mapped to the fixed and variable bytes. For protocols that use multiple variable bytes, use the Cmd Byte Index parameter to control which variable byte is the command byte, which is used for the OBC and EFC.
If your protocol isn't already in the list as described above, and it's known to be present in some remotes, it should be added to list of known protocols. Please make a post here about it so it can be added.
Here's the instructions for using RM's advanced support for Manual Settings.
Click on Advanced -> Manual Settings...
Enter the Protocol ID
If you have a raw protocol upgrade, copy it into the clipboard, then double click in the cell next to the appropriate processor, and paste the raw upgrade code there.
If you have a formated protocol upgrade, copy it into the clipboard then click the Import Protocol Upgrade button and RM will put it in the correct place. A formatted protocol upgrade might look like
If your protocol isn't already in the list as described above, and it's known to be present in some remotes, it should be added to list of known protocols. Please make a post here about it so it can be added.
Here's the instructions for using RM's advanced support for Manual Settings.
Click on Advanced -> Manual Settings...
Enter the Protocol ID
If you have a raw protocol upgrade, copy it into the clipboard, then double click in the cell next to the appropriate processor, and paste the raw upgrade code there.
If you have a formated protocol upgrade, copy it into the clipboard then click the Import Protocol Upgrade button and RM will put it in the correct place. A formatted protocol upgrade might look like
Code: Select all
At this point RM will have generated default protocol and command parameters based on the imported protocol code. You can change the number of bits for each protocol/command parameter, as well as the way it is encoded into hex (LSB/MSB, COMP or not). You can also rename the paremeters if desired (just double-click the name and edit it).
If the protocol uses more than 1 variable byte, you can also control which variable byte contains the command code, by changing the Command Index. Note that changing the Command Index will automatically change the command parameter names so the matching command parameter is named 'OBC'.
You may use the "View Ini" button to see a starter protocols.ini entry based on what you've done.
Press OK to save your changes.
Back on the Setup tab, use the "Protocol" combo box to choose the manual protocol you have just created. It will have the name "PID XX XX", and will be the last item in the list.
Now you can enter protocol and command parameters in the same way you would using a known protocol.