| 41 | Per default the daemon creates a connection "'''openbm.ibus.BMW'''" on the D-Bus. In the current version there is only support for simple raw message passing with slightly format change. So on every received message over the IBus the daemon send a signal message to the D-Bus: |
| 42 | {{{ |
| 43 | signal sender=xxx -> dest=(null destination) serial=xxx path=/openbm/ibus/BMW; interface=openbm.ibus; member=RawMessage |
| 44 | byte 192 |
| 45 | byte 104 |
| 46 | uint32 2 |
| 47 | array [ |
| 48 | byte 50 |
| 49 | byte 16 |
| 50 | ] |
| 51 | }}} |
| 52 | Here the first byte of the signal indicates the '''source''' node of the IBus, here 192=0xC0, and the second byte indicates the '''destination''' node, here 104=0x68. The third component of the message is always an unsigned integer indicating the amount of '''data''' passed with the message, in this example 2 bytes. And lastly an array containing the data bytes is submitted, in this case {50=0x32, 16=0x10}. |
| 53 | |
| 54 | Signals in this form received over the D-Bus are accepted by OpenBM-Gateway and translated into IBus message frames and sent over the wire. |
| 55 | |