uint16_t panid = 0;
uint16_t joiner_udp_port = 0;
uint8_t channel = 0;
- uint8_t rssi = 0;
+ int16_t rssi = 0;
uint8_t lqi = 0;
uint8_t version = 0;
bool is_native = 0;
bool is_joinable = 0;
GVariantBuilder *scan_results_builder =
- g_variant_builder_new(G_VARIANT_TYPE("a(tstayqqyyyybb)"));
+ g_variant_builder_new(G_VARIANT_TYPE("a(tstayqqynyybb)"));
GVariantBuilder *steering_data_builder =
g_variant_builder_new(G_VARIANT_TYPE("ay"));
g_variant_builder_add(steering_data_builder, "y", 1);
g_variant_builder_add(steering_data_builder, "y", '\0');
- g_variant_builder_add(scan_results_builder, "(tstayqqyyyybb)",
+ g_variant_builder_add(scan_results_builder, "(tstayqqynyybb)",
ext_address, network_name, ext_panid, steering_data_builder,
panid, joiner_udp_port, channel, rssi, lqi, version,
is_native, is_joinable);
- GVariant *scan_results = g_variant_new("(a(tstayqqyyyybb))", scan_results_builder);
+ GVariant *scan_results = g_variant_new("(a(tstayqqynyybb))", scan_results_builder);
g_variant_builder_unref(scan_results_builder);