Running a HTTP server with Ibasis SIM card

Hi,

Is it possible to run an HTTP server with an Ibasis sim card? and how can I give my nRF9160 DK a static IP?

Thanks in advance for the effort

Parents Reply Children
  • Hi,

    Sorry for misleading, I did not realize cellular devices are also supported in this sample before. This sample demonstrates a light usage of http sever for LED control.

    Following content are related to SIM card fixed/static IP requirements, you need to check with your MNO if they can provide SIM card with fixed/static and configure it with special PDP configuration.

    When running the server on a cellular board, you are dependent on a SIM card with a fixed/static IP to be reachable from the global Internet. These SIM cards can be provided by Mobile Network Operators (MNO) and are often referred to as IoT SIM cards.

    To use a static SIM card, you may need to instruct the modem to use a specific Access Point Name (APN). This can be carried out by setting the following options:

    • CONFIG_PDN_DEFAULTS_OVERRIDE - Used to override the default PDP context configuration. Set the option to y to override the default PDP context configuration.

    • CONFIG_PDN_DEFAULT_APN - Used for manual configuration of the APN. An example is apn.example.com.

    Best regards,

    Charlie

  • So with an iBASIS sim card that one obtained when purchasing an nRF9160 DK is not possible and one must request a sim card from another operator with a fixed/static Ip address and special PDP configuration?

    Kind regards
    Nathan

  • The default iBasis card with nRF9160DK cannot get fixed/static IP. You need to check with your preferred network operator if they provide this service.

Related