Hi,
rfcomm does not always indicate failure in it's exit codes, which is a
problem when automating things.
Please consider this patch.
Thanks,
Jesse
Marcel Holtmann wrote:
> Hi Jesse,
>
>
>> rfcomm does not always indicate failure in it's exit codes, which is a
>> problem when automating things.
>>
>> Please consider this patch.
>>
>
> your patch is full of whitespaces/tabs coding style violations. Please
> fix them first.
>
> Also error return values should be negative.
>
> Regards
>
> Marcel
>
Hi Marcel,
Thanks for the reply. Apologies. Here is a new patch.
Regards,
Jesse
Hi Jesse,
> rfcomm does not always indicate failure in it's exit codes, which is a
> problem when automating things.
>
> Please consider this patch.
your patch is full of whitespaces/tabs coding style violations. Please
fix them first.
Also error return values should be negative.
Regards
Marcel