examples/lte_http_get/lte_http_get_main.c
/****************************************************************************
 * Name: app_attach_net_cb
 *
 * Description:
 *   This callback is called when connect to the LTE network is completed.
 ****************************************************************************/
app_attach_net_cb
Description:
This callback is called when connect to the LTE network is completed.
app_attach_net_cb Description : This callback is called when connect to the LTE network is completed .
static void app_attach_net_cb(uint32_t result, uint32_t errcause)
{
  if (LTE_RESULT_ERROR == result)
    {
      printf("%s called: result:%d errorcause:%d\n",
             __func__, result, errcause);
    }
  else
    {
      printf("%s called: result:%d\n", __func__, result);
    }
  app_mq_notify_result(result);
}
static void app_attach_net_cb ( uint32_t result , uint32_t errcause ) { if ( LTE_RESULT_ERROR == result ) { printf ( " \n " , __func__ , result , errcause ) ; } else { printf ( " \n " , __func__ , result ) ; } app_mq_notify_result ( result ) ; }
Name: app_attach_net_cb
 Description:
   This callback is called when connect to the LTE network is completed.
Name : app_attach_net_cb Description : This callback is called when connect to the LTE network is completed .
/* Notify the result to the lte_http_get sample application task */