Updated Component Abstract Bus (markdown)

Josh 2014-04-20 14:25:58 -07:00
parent 2549150572
commit c1a0b0a3da

@ -18,8 +18,8 @@ Callbacks:
- `maxPacketSize(): number`
Returns the maximum size a packet can be sent over the bus.
The abstract bus generates a signal named `bus_message` if a message is received. The values are;
`protocol id: number, sender address: number, target address: number, data: table, metadata: table`
The abstract bus generates a signal named `bus_message` if a message is received.
The values are: `protocol id: number, sender address: number, target address: number, data: table, metadata: table`
- `protocol id` is the protocol version that was used.
- `sender address` is the address of the device sending the message
- `target address` is the address of the device that the messages was intended for (-1 for network broadcasts)