summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-05-25simutil: Simplify ber_tlv_builder_optimize logicDenis Kenzior1-9/+12
2010-05-25simutil: Simplify ber_tlv builder set_length logicDenis Kenzior1-13/+5
2010-05-25simutil: Simplify builder_write_headerDenis Kenzior1-35/+34
2010-05-25simutil: Be more type-correctDenis Kenzior1-1/+1
2010-05-25simutil: Get rid of ugly-named functionsDenis Kenzior1-13/+8
Replace them by macros
2010-05-25test-simutil: Add a BER-TLV encoding testsAndrzej Zaborowski1-3/+268
2010-05-25simutil: Add utilities for encoding BTLV and CTLVAndrzej Zaborowski2-0/+357
2010-05-26isimodem: fix confusing log messagePessi Pekka (Nokia-D/Helsinki)1-1/+1
2010-05-26isimodem: fix memory leakPessi Pekka (Nokia-D/Helsinki)1-0/+1
2010-05-26Fix: set correct local address for phonet on PCsPessi Pekka (Nokia-D/Helsinki)1-1/+1
2010-05-26Fix minor style issuesAki Niemi1-2/+8
2010-05-26Add: support for EF_ICCID in isimodem.Pessi Pekka (Nokia-D/Helsinki)2-77/+104
2010-05-25huawei: remove voicecall supportKalle Valo1-1/+0
These modems don't support voicecall anyway. Recommended by Denis.
2010-05-25huawei: send a prefix with AT commandsKalle Valo1-4/+8
2010-05-25huawei: properly notify sim state to ofonoKalle Valo1-21/+23
Instead of using ofono_modem_set_powered(), use ofono_sim_inserted_notify() which is the proper way to notify about sim state changes. Now the problem is that voicecall commands fail with my Huawei E1552: ofonod[12395]: > AT+CRC=1\r ofonod[12395]: src/sim.c:ofono_sim_add_state_watch() 0x1bf8e50 ofonod[12395]: src/sim.c:ofono_sim_add_state_watch() 0x1bf8e50 ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n ofonod[12395]: > AT+CLIP=1\r ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n ofonod[12395]: > AT+COLP=1\r ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n ofonod[12395]: > AT+CCWA=1\r ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n ofonod[12395]: drivers/atmodem/voicecall.c:at_voicecall_initialized() voicecall_init: registering to notifications ofonod[12395]: src/sim.c:ofono_sim_add_state_watch() 0x1bf8e50 ofonod[12395]: > AT^SYSINFO\r ofonod[12395]: < \r\n^SYSINFO:0,0,0,0,255,,0\r\n\r\nOK\r\n ofonod[12395]: > AT+CGMI\r ofonod[12395]: < \r\nhuawei\r\n\r\nOK\r\n ofonod[12395]: EventChannel: < \r\n^STIN:0,0,0\r\n ofonod[12395]: > AT+CLCC\r ofonod[12395]: < \r\n+CME ERROR: SIM busy\r\n But as I can't make voice calls with this modem anyway, I don't worry about them right now.
2010-05-25huawei: use g_at_result_iter_skip_next()Kalle Valo1-5/+5
2010-05-25Some minor cleanups for the Huawei pluginMarcel Holtmann1-13/+14
2010-05-25huawei: follow sim state change notificationsKalle Valo1-3/+73
With Huawei E1552 I got sim busy errors when I plugged in the modem and ofono was already running: May 24 17:02:04 tukki ofonod[7619]: > AT+CRC=1\r May 24 17:02:04 tukki ofonod[7619]: < \r\n+CME ERROR: SIM busy\r\n May 24 17:02:04 tukki ofonod[7619]: > AT+CLIP=1\r May 24 17:02:04 tukki ofonod[7619]: < \r\n+CME ERROR: SIM busy\r\n Fix this by following sim state changes with ^SIMST notification and only enable modem after SIM is ready. In case SIM is already ready and we miss the notification for some reason, also use AT^SYSINFO to check the state during enable phase. Also change huawei_enable() to return -EINPROGRESS to make sure that ofono modem is not powered too early. I believe this was a bug.
2010-05-25Break function declaration down to two linesMarcel Holtmann1-1/+2
2010-05-25Bring back -d option without need for argumentGustavo F. Padovan1-1/+12
2010-05-21Some extra empty lines to separate chaptersMarcel Holtmann1-0/+3
2010-05-19sim: Read EFiccid after EFphaseDenis Kenzior1-4/+4
2010-05-19sim: No need for this defineDenis Kenzior2-4/+2
2010-05-19Read EF_ICCID property of SIMDaniel Wagner4-0/+45
Tested with phonesim.
2010-05-19netreg: Fix crash when CREG is reported too earlyDenis Kenzior1-17/+12
If we register for CREG notifications before the netreg atom is registered (e.g. in MBM due to CIND queries) we crash if the CREG notification arrives before the CIND is queried.
2010-05-19huawei: add gprs contextKalle Valo2-1/+64
Tested with Huawei E1552 HSDPA USB stick using a finnish Saunalahti prepaid SIM.
2010-05-19Move report_signal_strength to atutilKalle Valo2-16/+18
The function is needed in two different places, better to move it to atutil.h.
2010-05-19huawei: detect possible secondary deviceKalle Valo2-22/+106
2010-05-19Update TODODenis Kenzior1-0/+9
2010-05-19Update TODODenis Kenzior1-1/+8
2010-05-19Update TODODenis Kenzior1-0/+7
2010-05-19Update TODODenis Kenzior1-0/+13
2010-05-19Add some extra markups for TODO listMarcel Holtmann1-0/+16
2010-05-19core: Trivial whitespace errorDenis Kenzior1-1/+1
2010-05-19ppp: Trivial whitespace errorDenis Kenzior1-1/+1
2010-05-19Add initial TODO fileDenis Kenzior1-0/+305
2010-05-19ppp: implement ppp_packet_newKristen Carlson Accardi5-16/+35
2010-05-19Add isimodem support for network timeAki Niemi3-0/+44
2010-05-19Add network time supportAki Niemi9-4/+296
Adding a new notify function in the netreg atom for notifying a received Network Identification and Timezone (NITZ) indication. This data is consumed via a nettime plugin, of which there is also an example.
2010-05-17gisi: Fix style issuesAki Niemi2-9/+12
2010-05-17Make isimodem use linkstate directlyPekka Pessi1-4/+4
2010-05-17Configure phonet link in usbpnmodemPekka Pessi1-0/+7
2010-05-17gisi: Fix netlink style issuesAki Niemi1-11/+18
2010-05-17gisi: Add phonet netlink functionsPekka Pessi2-9/+201
Adding g_pn_netlink_set_address() and g_pn_netlink_add_route(). Automatically configure phonet links without external software.
2010-05-17Use g_pn_netlink_by_modem() in isimodem driverPekka Pessi1-2/+1
2010-05-17Use g_pn_netlink_by_modem() in usbpnmodem pluginPekka Pessi1-2/+1
2010-05-17gisi: Remove g_pn_netlink_by_name()Pekka Pessi2-14/+0
2010-05-15Remove unused declarationAki Niemi1-1/+0
2010-05-15Fix typo in commentAki Niemi1-1/+1
2010-05-15Fix copy-paste typoAki Niemi1-1/+1