#include <tcore.h>
#include <plugin.h>
+#include "at_call.h"
#include "at_ps.h"
+#include "at_gps.h"
+#include "at_modem.h"
+#include "at_network.h"
+#include "at_phonebook.h"
+#include "at_sap.h"
+#include "at_sat.h"
+#include "at_sim.h"
+#include "at_sms.h"
+#include "at_ss.h"
static gboolean on_load()
{
dbg("i'm init!");
- if (at_ps_init(p) == FALSE)
+ if (at_ps_init(p) == FALSE
+ || at_call_init(p) == FALSE
+ || at_gps_init(p) == FALSE
+ || at_modem_init(p) == FALSE
+ || at_network_init(p) == FALSE
+ || at_phonebook_init(p) == FALSE
+ || at_ps_init(p) == FALSE
+ || at_sap_init(p) == FALSE
+ || at_sat_init(p) == FALSE
+ || at_sim_init(p) == FALSE
+ || at_sms_init(p) == FALSE
+ || at_ss_init(p) == FALSE)
return FALSE;
return TRUE;
struct tcore_plugin_define_desc plugin_define_desc = {
.name = "AT",
- .priority = TCORE_PLUGIN_PRIORITY_HIGH + 1,
+ .priority = TCORE_PLUGIN_PRIORITY_HIGH - 1,
.version = 1,
.load = on_load,
.init = on_init,