:: Re: [DNG] Debugging netman auto-con…
Top Page
Delete this message
Reply to this message
Author: Edward Bartolo
Date:  
To: aitor_czr
CC: dng
Subject: Re: [DNG] Debugging netman auto-connect.
Hi Aitor,

auto-connect successfully sorted the available wifi signals according
to strength and finally it connected to my wifi. Hurray!

The next test, is to include more wifi interfaces files and test
whether it can select the wifi with the best signal and choose the
corresponding interfaces file. I have the feeling that it will soon be
part of netman.

Thanks for your explanation about an NxM matrix. I am qualified in
mathematics, before somebody else pops in, only square matrices can
have an inverse. Imagine having N linear equations with N unknowns:
the matrix's elements would be the variables' coefficients and the RHS
would be a column matrix with N rows and 1 column.

Edward

On 11/09/2015, aitor_czr <aitor_czr@???> wrote:
> Hi Edward,
>
> Consider a double pointer like a matrix (in algebra) witch one you don't
> know its dimension a priori.
>
> An example: put the case that we are developing an application witch
> calculates the inverse of a matrix of dimensions NxM. The values of N
> and M will be determinated by the user and they are unknown a priori. If
> so, we declare a doble pointer:
>
> float **ptr;
>
> The application asks to the user the values of of the number of files
> (N) and columns (M), and according to them it reserves the "necessary
> and sufficient" memory:
>
> ptr = (float**) malloc(files* sizeof(float*);
>
>        for (i=0; i<files; i++)

>
>            ptr[i] = (float*) malloc(columns*sizeof(float));

>
> Once the application has calculated the resulting inverse matrix MxN, we
> must delete the memory *manually*.
>
> Aitor.
>
>
> On 11/09/15 10:35, Edward Bartolo <edbarx@???> wrote:
>> Hi all,
>>
>> Since yesterday I have been trying to understand why "char**
>> essid_list" is working inside getInstalledEssidList(&count,
>> essid_list) but failing as soon as I try to access essid_list[0]
>> outside the function.
>>
>> Both the source and the gdb text output are attached.
>>
>> Any helpful pointers are appreciated.
>
>