Editing KeyComm Prefix Registry

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 5: Line 5:
 
== How Prefixes Work ==
 
== How Prefixes Work ==
 
From http://orbit.m6.net/Forum/default.aspx?g=posts&t=17569#173759
 
From http://orbit.m6.net/Forum/default.aspx?g=posts&t=17569#173759
<pre>Similar to how IP addresses have masks and subnets, our 2^32 - 2^8 (4,294,967,040, or 0xFFFF FF00)  
+
<pre>Similar to how IP addresses have masks and subnets, our 2^32 - 2^8 (4,294,967,040, or 0xFFFF FF00) values could be split. Suppose we assume each vessel or add-on would never need more than 2^16 (0xFFFF) values. That leaves 0xFFFF values for the prefix.
values could be split. Suppose we assume each vessel or add-on would never need more  
 
than 2^16 (0xFFFF) values. That leaves 0xFFFF values for the prefix.
 
  
A particular vessel add-on might have a prefix of 0x39A0. It could accept messages anywhere  
+
A particular vessel add-on might have a prefix of 0x39A0. It could accept messages anywhere between 0x39A0 0000 and 0x39A0 FFFF (966,787,072 to 966,852,607). Of course the messages would have to be defined and published for others to use.
between 0x39A0 0000 and 0x39A0 FFFF (966,787,072 to 966,852,607). Of course the messages would  
 
have to be defined and published for others to use.
 
  
Of course the lower prefix of 0x0000 might be reserved for the keyboard commands and some generic  
+
Of course the lower prefix of 0x0000 might be reserved for the keyboard commands and some generic vessel requests, such as "What is your prefix?" and "Do you support <Name> feature?"</pre>
vessel requests, such as "What is your prefix?" and "Do you support <Name> feature?"</pre>
 
  
 
== Prefix List ==
 
== Prefix List ==
Line 36: Line 31:
 
| Reserved for generic messages
 
| Reserved for generic messages
 
|}
 
|}
 
[[Category: Articles]]
 
[[Category: Tutorials]]
 

Please note that all contributions to OrbiterWiki are considered to be released under the GNU Free Documentation License 1.2 (see OrbiterWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)