Roman Khassraf | adea86f | 2015-07-27 15:52:02 +0200 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <block> |
| 3 | <name>Message Source</name> |
| 4 | <key>gsm_message_source</key> |
| 5 | <import>import grgsm</import> |
| 6 | <make>grgsm.message_source($messages)</make> |
| 7 | |
| 8 | <param> |
| 9 | <name>Messages</name> |
| 10 | <key>messages</key> |
| 11 | <value>["02 04 01 00 00 00 c9 00 00 1d 3c e5 02 00 01 00 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b", |
| 12 | "02 04 01 00 00 00 ca 00 00 1d 3c e9 02 00 02 00 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b", |
| 13 | "02 04 01 00 00 00 cb 00 00 1d 3d 0e 01 00 00 00 59 06 1a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff e5 04 00", |
| 14 | "02 04 01 00 00 00 cb 00 00 1d 3d 12 02 00 00 00 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b"]</value> |
| 15 | <type>raw</type> |
| 16 | <hide>true</hide> |
| 17 | </param> |
| 18 | |
| 19 | <source> |
| 20 | <name>msgs</name> |
| 21 | <type>message</type> |
| 22 | </source> |
| 23 | |
| 24 | <doc> |
| 25 | This block is a basic message source for testing purposes. |
| 26 | |
| 27 | It takes a list of strings as input, where each string |
| 28 | is a whitespace-separated list of hexadecimal values representing the data bytes of a message including the gsmtap header. |
| 29 | |
| 30 | Such strings can be obtained using the message printer with option "Print GSMTap header" |
| 31 | </doc> |
| 32 | </block> |