Sets up an inbound SDTI serial connection.
Response: After the SDTI has processed the system call, it will respond with BIOS_SDTI_IN_RESP.
llMessageLinked(LINK_ROOT, [ident], "BIOS_SDTI_IN", [object_uuid] + "|" + [memory_bank] + "|" + [memory_identifier]);
| • target | LINK_ROOT |
| • integer | [ident] |
| • key | [object_uuid]|[memory_bank]|[memory_identifier] |
| Parameter | Description |
|---|---|
[ident] |
Integer. Must be between 100,000,000 and 999,999,999, inclusive, without commas. This number will be returned in subsequent BIOS_SDTI_IN_RESP and BIOS_SDTI_CLOSE messages for this connection, so it should be stored for later reference, since the SDTI does not return any other data to identify which connection they refer to. [ident] must be unique among all active connections, so you should generate it randomly. You can do so like so:integer ident = (integer)llFrand(899) * 1000000 + (integer)llFrand(1000000) + 100000000; |
[object_uuid] |
String. Must be either blank, NULL_KEY, or the UUID of the object to expect a connection from. If left blank or NULL_KEY, the SDTI will accept connections from any object; otherwise, connection requests will be ignored unless received from the object with the same UUID as the one passed in this call. |
[memory_bank] |
Integer cast as string. Must be the memory bank number that has been assigned to receive data from the SDTI connection. |
[memory_identifier] |
String. Must be the same string as the [identifier] that was passed to BIOS_RAM_ALLOCATE when allocating the memory bank identified by [memory_bank]. |