<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:12pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi Simone,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> Here's a couple of patches that helped remove many of the warnings. I think the main one was to split the typedef and the struct definition.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hope it helps,</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Andrew</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Thursday 08 August 2013 21:34:42 Simone Ferlin-Oliveira wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I am still trying with python and libqmi, from the immense list of warnings I sent earlier, I have a patch that eliminates most of them, but I still have this list below remaining:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">When the output of a message is an array of structs it returns warnings about 'unknown type' from GIRSCAN.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Any ideas?</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-dms.c:24968: Warning: libqmi: qmi_message_dms_get_firmware_preference_output_get_list: Unknown type: 'QmiMessageDmsGetFirmwarePreferenceOutputListImage'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-dms.c:25619: Warning: libqmi: qmi_message_dms_set_firmware_preference_input_get_list: Unknown type: 'QmiMessageDmsSetFirmwarePreferenceInputListImage' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-dms.c:25651: Warning: libqmi: qmi_message_dms_set_firmware_preference_input_set_list: Unknown type: 'QmiMessageDmsSetFirmwarePreferenceInputListImage'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-dms.c:26786: Warning: libqmi: qmi_message_dms_list_stored_images_output_get_list: Unknown type: 'QmiMessageDmsListStoredImagesOutputListImage' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:4072: Warning: libqmi: qmi_indication_nas_event_report_output_get_rf_band_information: Unknown type: 'QmiIndicationNasEventReportOutputRfBandInformationElement'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:8907: Warning: libqmi: qmi_message_nas_get_signal_strength_output_get_error_rate_list: Unknown type: 'QmiMessageNasGetSignalStrengthOutputErrorRateListElement' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:9003: Warning: libqmi: qmi_message_nas_get_signal_strength_output_get_ecio_list: Unknown type: 'QmiMessageNasGetSignalStrengthOutputEcioListElement'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:9035: Warning: libqmi: qmi_message_nas_get_signal_strength_output_get_rssi_list: Unknown type: 'QmiMessageNasGetSignalStrengthOutputRssiListElement' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:9067: Warning: libqmi: qmi_message_nas_get_signal_strength_output_get_strength_list: Unknown type: 'QmiMessageNasGetSignalStrengthOutputStrengthListElement'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:11197: Warning: libqmi: qmi_message_nas_network_scan_output_get_mnc_pcs_digit_include_status: Unknown type: 'QmiMessageNasNetworkScanOutputMncPcsDigitIncludeStatusElement' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:11229: Warning: libqmi: qmi_message_nas_network_scan_output_get_radio_access_technology: Unknown type: 'QmiMessageNasNetworkScanOutputRadioAccessTechnologyElement'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:11261: Warning: libqmi: qmi_message_nas_network_scan_output_get_network_information: Unknown type: 'QmiMessageNasNetworkScanOutputNetworkInformationElement' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:14177: Warning: libqmi: qmi_message_nas_get_serving_system_output_get_roaming_indicator_list: Unknown type: 'QmiMessageNasGetServingSystemOutputRoamingIndicatorListElement'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:18848: Warning: libqmi: qmi_indication_nas_serving_system_output_get_roaming_indicator_list: Unknown type: 'QmiIndicationNasServingSystemOutputRoamingIndicatorListElement' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:25269: Warning: libqmi: qmi_message_nas_get_rf_band_information_output_get_list: Unknown type: 'QmiMessageNasGetRfBandInformationOutputListElement'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-nas.c:54761: Warning: libqmi: qmi_message_nas_get_cdma_position_info_output_get_cdma_position_info: Unknown type: 'QmiMessageNasGetCdmaPositionInfoOutputCdmaPositionInfoBasestationsBasestation' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-wms.c:9239: Warning: libqmi: qmi_message_wms_list_messages_output_get_message_list: Unknown type: 'QmiMessageWmsListMessagesOutputMessageListElement'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-wms.c:10006: Warning: libqmi: qmi_message_wms_set_routes_input_get_route_list: Unknown type: 'QmiMessageWmsSetRoutesInputRouteListElement' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-wms.c:10038: Warning: libqmi: qmi_message_wms_set_routes_input_set_route_list: Unknown type: 'QmiMessageWmsSetRoutesInputRouteListElement'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-wms.c:10894: Warning: libqmi: qmi_message_wms_get_routes_output_get_route_list: Unknown type: 'QmiMessageWmsGetRoutesOutputRouteListElement' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-ctl.c:871: Warning: libqmi: qmi_message_ctl_get_version_info_output_get_service_list: Unknown type: 'QmiMessageCtlGetVersionInfoOutputServiceListService'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-dms.c:27460: Warning: libqmi: qmi_message_dms_delete_stored_image_input_get_image: argument image: Unresolved type: 'QmiMessageDmsDeleteStoredImageInputImage*' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-dms.c:27492: Warning: libqmi: qmi_message_dms_delete_stored_image_input_set_image: argument image: Unresolved type: 'QmiMessageDmsDeleteStoredImageInputImage*'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-dms.c:28782: Warning: libqmi: qmi_message_dms_get_stored_image_info_input_get_image: argument image: Unresolved type: 'QmiMessageDmsGetStoredImageInfoInputImage*' </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">generated/qmi-dms.c:28814: Warning: libqmi: qmi_message_dms_get_stored_image_info_input_set_image: argument image: Unresolved type: 'QmiMessageDmsGetStoredImageInfoInputImage*'</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thanks,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On 8 August 2013 17:42, Simone Ferlin-Oliveira <<a href="mailto:ferlin@simula.no"><span style=" text-decoration: underline; color:#0057ae;">ferlin@simula.no</span></a>> wrote:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I see. I am trying the annotations you suggested to fix all these warnings I get because I am mainly interested in NAS and few WDS options.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">May I ask which devices you test it with?<br /><br />Best,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Simone</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />On Thursday, August 8, 2013, Andrew Bird wrote:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:54px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi Simone,<br /> Unfortunately not. What you see in the test python file is pretty much all I tried, and then I gave up. For Wader I guess the only option is to use static bindings or a rewrite.<br /><br />Best regards,<br /><br />Andrew <br /><br />On 08/08/13 15:24, Simone Ferlin-Oliveira wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:94px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Andrew, </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:94px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thank you very much :) </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:94px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I will do it with the annotations and see how it turns out. </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:94px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:94px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Have you played with NAS service as well? Or only DMS and WDS? </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:94px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:94px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Simone </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:94px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:94px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On 8 August 2013 14:54, Andrew Bird <ajb@spheresystems.co.uk> wrote:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi Simone, </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I didn't see any errors in there, only warnings. Each warning is an indication that a function to be exported needs some annotation adding, so that the python or other gi backend knows how to treat it when generating the binding. For instance annotating a parameter with (out) ensures python returns the value in a function return, whereas if there are multiple out parameters, python returns a tuple containing each of the values. Without the annotation I don't think you can get at the value. I would expect that the functions that don't generate warnings are callable and may even work. </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Did you try your test function get_manufacturer() again? </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I also attached a snippet of python I think was working, but I don't have a machine or device to hand at the moment to confirm. </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">BTW I note the program imports libqmi, I'm not sure if the final module name should be 'Qmi', that would seem to be more consistent with other gi modules. </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hope it helps, </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" color:#888888;"> </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" color:#888888;"> </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" color:#888888;">Andrew </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:101px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Thursday 08 August 2013 14:04:50 Simone Ferlin-Oliveira wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:141px; margin-right:120px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thanks Andrew, </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:141px; margin-right:120px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I applied each of the patches you sent, and after patch 3...as you suspected...some other warnings appeared. </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:141px; margin-right:120px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I am trying to see how do I get them into the current libqmi. </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p></body></html>