Forums - idl struct contain sequence

1 post / 0 new
idl struct contain sequence
zonebin2008
Join Date: 28 Feb 19
Posts: 2
Posted: Tue, 2019-04-23 07:09

I define a struct like this:

struct my_struct

{

sequence<uint8> p1;

sequence<uint8>p2;

}

and define my function like this:

my_func(rout my_struct param),when my_struct contain 2 sequence,when call my_func at arm side, I can get p1 and p2 array right value;

but when I define my_struct contains 4 elements,like this:

struct my_struct

{

sequence<uint8> p1;

sequence<uint8>p2;

sequence<uint8>p3;

sequence<uint8>p4;

}

when I call my_func , can not get the right array value, when I print log using "adb logcat -s adsprpc", find my_func is not called in dsp, I do not know why?

How to define the my_struct, when I want my_struct contains many like 8 sequence<uint8>, get values from dsp side?

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.