diff --git a/src/Network/DDS/dds_ctrls.c b/src/Network/DDS/dds_ctrls.c index 1edb88c0d..28bc0c9ac 100644 --- a/src/Network/DDS/dds_ctrls.c +++ b/src/Network/DDS/dds_ctrls.c @@ -27,11 +27,11 @@ static const uint32_t FG_DDS_Ctrls_ops [] = DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, flaps), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, spoilers), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, speedbrake), - DDS_OP_ADR | DDS_OP_TYPE_BOO, offsetof (FG_DDS_Ctrls, flaps_power), - DDS_OP_ADR | DDS_OP_TYPE_BOO, offsetof (FG_DDS_Ctrls, flap_motor_ok), + DDS_OP_ADR | DDS_OP_TYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, flaps_power), + DDS_OP_ADR | DDS_OP_TYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, flap_motor_ok), DDS_OP_ADR | DDS_OP_TYPE_2BY, offsetof (FG_DDS_Ctrls, num_engines), - DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_BOO, offsetof (FG_DDS_Ctrls, master_bat), 4, - DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_BOO, offsetof (FG_DDS_Ctrls, master_alt), 4, + DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, master_bat), 4, + DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, master_alt), 4, DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY, offsetof (FG_DDS_Ctrls, magnetos), 4, DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY, offsetof (FG_DDS_Ctrls, starter_power), 4, DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, throttle), 4, @@ -40,23 +40,23 @@ static const uint32_t FG_DDS_Ctrls_ops [] = DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY, offsetof (FG_DDS_Ctrls, fuel_pump_power), 4, DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, prop_advance), 4, DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_2BY, offsetof (FG_DDS_Ctrls, feed_tank_to), 4, - DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_BOO, offsetof (FG_DDS_Ctrls, reverse), 4, - DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_BOO, offsetof (FG_DDS_Ctrls, engine_ok), 4, - DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_BOO, offsetof (FG_DDS_Ctrls, mag_left_ok), 4, - DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_BOO, offsetof (FG_DDS_Ctrls, mag_right_ok), 4, - DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_BOO, offsetof (FG_DDS_Ctrls, spark_plugs_ok), 4, + DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, reverse), 4, + DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, engine_ok), 4, + DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, mag_left_ok), 4, + DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, mag_right_ok), 4, + DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, spark_plugs_ok), 4, DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_2BY, offsetof (FG_DDS_Ctrls, oil_press_status), 4, - DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_BOO, offsetof (FG_DDS_Ctrls, fuel_pump_ok), 4, + DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, fuel_pump_ok), 4, DDS_OP_ADR | DDS_OP_TYPE_2BY, offsetof (FG_DDS_Ctrls, num_tanks), DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_2BY, offsetof (FG_DDS_Ctrls, fuel_selector), 8, - DDS_OP_ADR | DDS_OP_TYPE_BOO, offsetof (FG_DDS_Ctrls, cross_feed), + DDS_OP_ADR | DDS_OP_TYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, cross_feed), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, brake_left), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, brake_right), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, copilot_brake_left), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, copilot_brake_right), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, brake_parking), - DDS_OP_ADR | DDS_OP_TYPE_BOO, offsetof (FG_DDS_Ctrls, gear_handle), - DDS_OP_ADR | DDS_OP_TYPE_BOO, offsetof (FG_DDS_Ctrls, master_avionics), + DDS_OP_ADR | DDS_OP_TYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, gear_handle), + DDS_OP_ADR | DDS_OP_TYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, master_avionics), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, comm_1), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, comm_2), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, nav_1), @@ -68,7 +68,7 @@ static const uint32_t FG_DDS_Ctrls_ops [] = DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, press_inhg), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, hground), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_Ctrls, magvar), - DDS_OP_ADR | DDS_OP_TYPE_BOO, offsetof (FG_DDS_Ctrls, icing), + DDS_OP_ADR | DDS_OP_TYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_Ctrls, icing), DDS_OP_ADR | DDS_OP_TYPE_4BY, offsetof (FG_DDS_Ctrls, speedup), DDS_OP_ADR | DDS_OP_TYPE_2BY, offsetof (FG_DDS_Ctrls, freeze), DDS_OP_RTS @@ -84,5 +84,5 @@ const dds_topic_descriptor_t FG_DDS_Ctrls_desc = FG_DDS_Ctrls_keys, 56, FG_DDS_Ctrls_ops, - "" + "" }; diff --git a/src/Network/DDS/dds_ctrls.h b/src/Network/DDS/dds_ctrls.h index 0c346e927..adeb0d68e 100644 --- a/src/Network/DDS/dds_ctrls.h +++ b/src/Network/DDS/dds_ctrls.h @@ -36,11 +36,11 @@ typedef struct FG_DDS_Ctrls float flaps; float spoilers; float speedbrake; - bool flaps_power; - bool flap_motor_ok; + char flaps_power; + char flap_motor_ok; uint16_t num_engines; - bool master_bat[4]; - bool master_alt[4]; + char master_bat[4]; + char master_alt[4]; uint32_t magnetos[4]; uint32_t starter_power[4]; float throttle[4]; @@ -49,23 +49,23 @@ typedef struct FG_DDS_Ctrls uint32_t fuel_pump_power[4]; float prop_advance[4]; uint16_t feed_tank_to[4]; - bool reverse[4]; - bool engine_ok[4]; - bool mag_left_ok[4]; - bool mag_right_ok[4]; - bool spark_plugs_ok[4]; + char reverse[4]; + char engine_ok[4]; + char mag_left_ok[4]; + char mag_right_ok[4]; + char spark_plugs_ok[4]; uint16_t oil_press_status[4]; - bool fuel_pump_ok[4]; + char fuel_pump_ok[4]; uint16_t num_tanks; uint16_t fuel_selector[8]; - bool cross_feed; + char cross_feed; float brake_left; float brake_right; float copilot_brake_left; float copilot_brake_right; float brake_parking; - bool gear_handle; - bool master_avionics; + char gear_handle; + char master_avionics; float comm_1; float comm_2; float nav_1; @@ -77,7 +77,7 @@ typedef struct FG_DDS_Ctrls float press_inhg; float hground; float magvar; - bool icing; + char icing; uint32_t speedup; uint16_t freeze; } FG_DDS_Ctrls; diff --git a/src/Network/DDS/dds_ctrls.idl b/src/Network/DDS/dds_ctrls.idl index 3c3615624..c94752b5f 100644 --- a/src/Network/DDS/dds_ctrls.idl +++ b/src/Network/DDS/dds_ctrls.idl @@ -30,13 +30,13 @@ struct DDS_Ctrls float speedbrake; // Aero control faults - boolean flaps_power; // true = power available - boolean flap_motor_ok; + char flaps_power; // true = power available + char flap_motor_ok; // Engine controls unsigned short num_engines; // number of valid engines - boolean master_bat[DDS_ENGINES]; - boolean master_alt[DDS_ENGINES]; + char master_bat[DDS_ENGINES]; + char master_alt[DDS_ENGINES]; unsigned long magnetos[DDS_ENGINES]; unsigned long starter_power[DDS_ENGINES]; // true = starter power float throttle[DDS_ENGINES]; // 0 ... 1 @@ -45,16 +45,16 @@ struct DDS_Ctrls unsigned long fuel_pump_power[DDS_ENGINES]; // true = on float prop_advance[DDS_ENGINES]; // 0 ... 1 unsigned short feed_tank_to[4]; - boolean reverse[4]; + char reverse[4]; // Engine faults - boolean engine_ok[DDS_ENGINES]; - boolean mag_left_ok[DDS_ENGINES]; - boolean mag_right_ok[DDS_ENGINES]; - boolean spark_plugs_ok[DDS_ENGINES]; // false = fouled plugs + char engine_ok[DDS_ENGINES]; + char mag_left_ok[DDS_ENGINES]; + char mag_right_ok[DDS_ENGINES]; + char spark_plugs_ok[DDS_ENGINES]; // false = fouled plugs unsigned short oil_press_status[DDS_ENGINES];// 0 = normal, 1 = low, 2 = full fail - boolean fuel_pump_ok[DDS_ENGINES]; + char fuel_pump_ok[DDS_ENGINES]; // Fuel management unsigned short num_tanks; // number of valid tanks @@ -62,7 +62,7 @@ struct DDS_Ctrls // unsigned short xfer_pump[5]; // specifies transfer from array // value tank to tank specified // by int value - boolean cross_feed; // false = off, true = on + char cross_feed; // false = off, true = on // Brake controls float brake_left; @@ -72,10 +72,10 @@ struct DDS_Ctrls float brake_parking; // Landing Gear - boolean gear_handle; // true=gear handle down; false= gear handle up + char gear_handle; // true=gear handle down; false= gear handle up // Switches - boolean master_avionics; + char master_avionics; // nav and Comm float comm_1; @@ -97,7 +97,7 @@ struct DDS_Ctrls float magvar; // local magnetic variation in degs. // hazards - boolean icing; // icing status could me much + char icing; // icing status could me much // more complex but I'm // starting simple here. diff --git a/src/Network/DDS/dds_fdm.c b/src/Network/DDS/dds_fdm.c index c1767e5d7..1426f9e30 100644 --- a/src/Network/DDS/dds_fdm.c +++ b/src/Network/DDS/dds_fdm.c @@ -56,7 +56,7 @@ static const uint32_t FG_DDS_FDM_ops [] = DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_FDM, oil_px), 4, DDS_OP_ADR | DDS_OP_TYPE_2BY, offsetof (FG_DDS_FDM, num_tanks), DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_FDM, fuel_quantity), 8, - DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_BOO, offsetof (FG_DDS_FDM, tank_selected), 8, + DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_FDM, tank_selected), 8, DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_FDM, capacity_m3), 8, DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_FDM, unusable_m3), 8, DDS_OP_ADR | DDS_OP_TYPE_ARR | DDS_OP_SUBTYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_FDM, density_kgpm3), 8, @@ -92,5 +92,5 @@ const dds_topic_descriptor_t FG_DDS_FDM_desc = FG_DDS_FDM_keys, 64, FG_DDS_FDM_ops, - "" + "" }; diff --git a/src/Network/DDS/dds_fdm.h b/src/Network/DDS/dds_fdm.h index 1e705633b..e2df7823f 100644 --- a/src/Network/DDS/dds_fdm.h +++ b/src/Network/DDS/dds_fdm.h @@ -65,7 +65,7 @@ typedef struct FG_DDS_FDM float oil_px[4]; uint16_t num_tanks; float fuel_quantity[8]; - bool tank_selected[8]; + char tank_selected[8]; float capacity_m3[8]; float unusable_m3[8]; float density_kgpm3[8]; diff --git a/src/Network/DDS/dds_fdm.idl b/src/Network/DDS/dds_fdm.idl index bcca623a4..0669ed0de 100644 --- a/src/Network/DDS/dds_fdm.idl +++ b/src/Network/DDS/dds_fdm.idl @@ -70,7 +70,7 @@ struct DDS_FDM // Consumables unsigned short num_tanks; // Max number of fuel tanks float fuel_quantity[DDS_TANKS]; // used by GPSsmooth and possibly others - boolean tank_selected[DDS_TANKS]; // selected, capacity, usable, density and level required for multiple-pc setups to work + char tank_selected[DDS_TANKS]; // selected, capacity, usable, density and level required for multiple-pc setups to work float capacity_m3[DDS_TANKS]; float unusable_m3[DDS_TANKS]; float density_kgpm3[DDS_TANKS]; diff --git a/src/Network/DDS/dds_gui.c b/src/Network/DDS/dds_gui.c index 9c5c14e83..8ff8df807 100644 --- a/src/Network/DDS/dds_gui.c +++ b/src/Network/DDS/dds_gui.c @@ -34,7 +34,7 @@ static const uint32_t FG_DDS_GUI_ops [] = DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_GUI, ground_elev), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_GUI, tuned_freq), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_GUI, nav_radial), - DDS_OP_ADR | DDS_OP_TYPE_BOO, offsetof (FG_DDS_GUI, in_range), + DDS_OP_ADR | DDS_OP_TYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_GUI, in_range), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_GUI, dist_nm), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_GUI, course_deviation_deg), DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_FP, offsetof (FG_DDS_GUI, gs_deviation_deg), @@ -51,5 +51,5 @@ const dds_topic_descriptor_t FG_DDS_GUI_desc = FG_DDS_GUI_keys, 23, FG_DDS_GUI_ops, - "" + "" }; diff --git a/src/Network/DDS/dds_gui.h b/src/Network/DDS/dds_gui.h index b18381cb3..b82927e31 100644 --- a/src/Network/DDS/dds_gui.h +++ b/src/Network/DDS/dds_gui.h @@ -41,7 +41,7 @@ typedef struct FG_DDS_GUI float ground_elev; float tuned_freq; float nav_radial; - bool in_range; + char in_range; float dist_nm; float course_deviation_deg; float gs_deviation_deg; diff --git a/src/Network/DDS/dds_gui.idl b/src/Network/DDS/dds_gui.idl index 06dafe2d3..6e987f105 100644 --- a/src/Network/DDS/dds_gui.idl +++ b/src/Network/DDS/dds_gui.idl @@ -44,7 +44,7 @@ struct DDS_GUI // Approach float tuned_freq; // currently tuned frequency float nav_radial; // target nav radial - boolean in_range; // tuned navaid is in range? + char in_range; // tuned navaid is in range? float dist_nm; // distance to tuned navaid in nautical miles float course_deviation_deg; // degrees off target course float gs_deviation_deg; // degrees off target glide slope diff --git a/src/Network/DDS/dds_props.c b/src/Network/DDS/dds_props.c index d14ab704b..913c3338d 100644 --- a/src/Network/DDS/dds_props.c +++ b/src/Network/DDS/dds_props.c @@ -18,9 +18,9 @@ static const uint32_t FG_DDS_prop_ops [] = { DDS_OP_ADR | DDS_OP_TYPE_4BY | DDS_OP_FLAG_SGN | DDS_OP_FLAG_KEY, offsetof (FG_DDS_prop, id), DDS_OP_ADR | DDS_OP_TYPE_1BY, offsetof (FG_DDS_prop, version), - DDS_OP_ADR | DDS_OP_TYPE_BOO, offsetof (FG_DDS_prop, mode), + DDS_OP_ADR | DDS_OP_TYPE_1BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_prop, mode), DDS_OP_ADR | DDS_OP_TYPE_UNI | DDS_OP_SUBTYPE_4BY | DDS_OP_FLAG_SGN, offsetof (FG_DDS_prop, val._d), 9u, (31u << 16) + 4u, - DDS_OP_JEQ | DDS_OP_TYPE_BOO | 0, FG_DDS_BOOL, offsetof (FG_DDS_prop, val._u.Bool), + DDS_OP_JEQ | DDS_OP_TYPE_1BY | DDS_OP_FLAG_SGN | 0, FG_DDS_BOOL, offsetof (FG_DDS_prop, val._u.Bool), DDS_OP_JEQ | DDS_OP_TYPE_4BY | DDS_OP_FLAG_SGN | 0, FG_DDS_NONE, offsetof (FG_DDS_prop, val._u.Int32), DDS_OP_JEQ | DDS_OP_TYPE_4BY | DDS_OP_FLAG_SGN | 0, FG_DDS_INT, offsetof (FG_DDS_prop, val._u.Int32), DDS_OP_JEQ | DDS_OP_TYPE_8BY | DDS_OP_FLAG_SGN | 0, FG_DDS_LONG, offsetof (FG_DDS_prop, val._u.Int64), @@ -43,5 +43,5 @@ const dds_topic_descriptor_t FG_DDS_prop_desc = FG_DDS_prop_keys, 15, FG_DDS_prop_ops, - "" + "" }; diff --git a/src/Network/DDS/dds_props.h b/src/Network/DDS/dds_props.h index a46f559b3..f0f10afa2 100644 --- a/src/Network/DDS/dds_props.h +++ b/src/Network/DDS/dds_props.h @@ -43,7 +43,7 @@ typedef struct FG_propValue FG_propType _d; union { - bool Bool; + char Bool; int32_t Int32; int64_t Int64; float Float32; @@ -60,7 +60,7 @@ typedef struct FG_DDS_prop { int32_t id; uint8_t version; - bool mode; + char mode; FG_propValue val; uint8_t guid[16]; } FG_DDS_prop; diff --git a/src/Network/DDS/dds_props.idl b/src/Network/DDS/dds_props.idl index 9fb06bb7a..8979715f0 100644 --- a/src/Network/DDS/dds_props.idl +++ b/src/Network/DDS/dds_props.idl @@ -7,8 +7,8 @@ module FG // defining it this way also generates accompanying #defines in the header file. const octet DDS_PROP_VERSION = 0; const short DDS_PROP_REQUEST = -1; -const boolean DDS_MODE_READ = 0; -const boolean DDS_MODE_WRITE = 1; +const char DDS_MODE_READ = 0; +const char DDS_MODE_WRITE = 1; enum propType { @@ -26,7 +26,7 @@ enum propType union propValue switch ( propType ) { case DDS_BOOL: - boolean Bool; + char Bool; case DDS_NONE: case DDS_INT: @@ -52,7 +52,7 @@ union propValue switch ( propType ) // 1. Set id to FG_DDS_PROP_REQUEST // 2. Set version to FG_DDS_PROP_VERSION // 3. Set mode to FG_DDS_MODE_READ -// 4. set guid to the 16-byte participants GUID +// 4. set guid to the 16-char participants GUID // 5. Set val type to FG_DDS_STRING // 6. Set val String to the propery path // 7. Send the package. @@ -78,7 +78,7 @@ struct DDS_prop long id; // 32-bit property index and DDS id. octet version; // 8-bit sample-type version number. - boolean mode; // FG_DDS_MODE_READ or FG_DDS_MODE_WRITE + char mode; // FG_DDS_MODE_READ or FG_DDS_MODE_WRITE propValue val; // property value or path. // A sequence could be used here but unfortunatelly it's initializer