# TinyGsmCellularData.tpp (file) **Module:** **[src](dir_68267d1309a1af8e8297ef4c3efbcdba.html)** **/** **[TinyGsmCellularData.tpp](_tiny_gsm_cellular_data_8tpp.html)** Cellular data (packet-data) connection helper mixin. **Author** Volodymyr Shymanskyy **License** LGPL-3.0 **Copyright** Copyright (c) 2016 Volodymyr Shymanskyy **Date** Nov 2016 ## Classes | | Name | | --- | --- | | class | **TinyGsmCellularData** | ## Types | | Name | | --- | --- | | enum | [SimStatus](#a88faf9e645594ddb7300d159bc0fe5e0) { SIM_ERROR = 0, SIM_READY = 1, SIM_LOCKED = 2, SIM_ANTITHEFT_LOCKED = 3 }
SIM card status. | ## Defines | | Name | | --- | --- | | | **[TINY_GSM_USE_PUBLIC_DNS](#a9d505844514a0300f77397bdde1d224a)** | ### SimStatus ​ | Enumerator | Value | Description | | --- | --- | --- | | ​SIM_ERROR | 0 | SIM card error. | | ​SIM_READY | 1 | SIM card is ready. | | ​SIM_LOCKED | 2 | SIM card is locked (PIN required). | | ​SIM_ANTITHEFT_LOCKED | 3 | SIM card is locked due to anti-theft protection. | ## Macros Documentation ### TINY_GSM_USE_PUBLIC_DNS ​ ```cpp #define TINY_GSM_USE_PUBLIC_DNS 0 ``` Override network-assigned DNS with Google Public DNS. --- Generated by [Doxygen](https://www.doxygen.nl) and [m.css](https://mcss.mosra.cz/) with templates from [doxybook2](https://github.com/matusnovak/doxybook2)