Hi Clement,

>>> ---
>>> plugins/sim900.c | 91 
>>> ++++++++++++++++++++++++++++++++++++++++++++++++++------
>>> 1 file changed, 82 insertions(+), 9 deletions(-)
>>> 
>>> diff --git a/plugins/sim900.c b/plugins/sim900.c
>>> index a7728cd..bf7b9ec 100644
>>> --- a/plugins/sim900.c
>>> +++ b/plugins/sim900.c
>>> @@ -24,6 +24,7 @@
>>> #endif
>>> 
>>> #include <errno.h>
>>> +#include <string.h>
>>> #include <stdlib.h>
>>> #include <glib.h>
>>> #include <gatchat.h>
>>> @@ -60,13 +61,77 @@ static char *dlc_prefixes[NUM_DLC] = { "Voice: ", "Net: 
>>> ", "SMS: ",
>>> 
>>> static const char *none_prefix[] = { NULL };
>>> 
>>> +typedef enum type {
>>> +       SIM800,
>>> +       SIM900,
>>> +       SIM_UNKNOWN,
>> 
>> maybe SIMCOM_UNKNOWN ?
> 
> Yes, I do agree, updating patchset.

and no typedef please.

Regards

Marcel

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to