File: igtl_test_data_capability.h

package info (click to toggle)
openigtlink 3.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,080 kB
  • sloc: cpp: 20,076; ansic: 6,704; sh: 227; perl: 74; makefile: 46
file content (45 lines) | stat: -rw-r--r-- 1,747 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*=========================================================================

  Program:   OpenIGTLLink Library -- Dummy status data
  Module:    $RCSfile: $
  Language:  C
  Date:      $Date: $
  Version:   $Revision: $

  Copyright (c) Insight Software Consortium. All rights reserved.

  This software is distributed WITHOUT ANY WARRANTY; without even
  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  PURPOSE.  See the above copyright notices for more information.

=========================================================================*/

#ifndef __IGTL_TEST_DATA_CAPABILITY_H
#define __IGTL_TEST_DATA_CAPABILITY_H

unsigned char test_capability_message[] = {

  0x00, 0x01,                                     /* Version number */
  0x43, 0x41, 0x50, 0x41, 0x42, 0x49, 0x4c, 0x49,
  0x54, 0x59, 0x00, 0x00,                         /* CAPABILITY */
  0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61,
  0x6d, 0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  0x00, 0x00, 0x00, 0x00,                         /* Device name */
  0x00, 0x00, 0x00, 0x00, 0x49, 0x96, 0x02, 0xd4, /* Time stamp */
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, /* Body size */

  0x69, 0x57, 0xe2, 0x9e, 0x2b, 0x35, 0xea, 0x1e, /* CRC */

  0x49, 0x4d, 0x41, 0x47, 0x45, 0x00, 0x00, 0x00,
  0x00, 0x00, 0x00, 0x00,                         /* IMAGE */
  0x47, 0x45, 0x54, 0x5f, 0x49, 0x4d, 0x41, 0x47, 
  0x45, 0x00, 0x00, 0x00,                         /* GET_IMAGE */
  0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, 
  0x4d, 0x00, 0x00, 0x00,                         /* TRANSFORM */
  0x47, 0x45, 0x54, 0x5f, 0x54, 0x52, 0x41, 0x4e, 
  0x53, 0x00, 0x00, 0x00,                         /* GET_TRANS */

};

#endif /* IGTL_TEST_DATA_SENSOR_H */