Today I tried oFono with my cell phone, but it crashed when starting up. The problem happens in function at_cmgl_notify() of file drivers/atmodem/sms.c. In my case, strlen(hexpdu) == 338, but the buffer "pdu" has maximum size of 164. So after decode_hex_own_buf(), some memory was written unexpectedly. Call for a fix, please.
I submitted a preliminary driver for TI Calypso based devices (e.g. OpenMoko
Freerunner). It works well enough that I can power up / down the modem,
register to the network, scan operators, etc. Voice calls & SMS features
should also work.
Simply insert the following lines into modem.conf to enable this device:
I'm focus on Ofono's validating porting.
Now I have compiled ofono on my computer under the guide of INSTALL file. and I need to run ofono with simulator so that I can test the cases.
Could you please help to solve this problem?
Here is a set of patches to add support for decoding SMSs that have
been encoded using national language tables instead of the default GSM
7bit tables. I was planning to push a couple of these patches
directly, but the changes turned out a bit more extensive than I
originally thought. Please take a look and comment.