How to obtain APN and SIM Identifier from GSM Board - arduino

I have been reading and rereading the GSM Board site, and trying the sample codes on the Arduino IDE. I couldn't find how to get the default APN and SIM identrifier on the card.
Q: How does one obtain the default APN (Access Point Name) and the SIM identifier information from the SIM card?

APN: You have to provide APN to your board externally depending on your service provider.
How to get Service provider name from SIM card?
Use AT+CSPN command to get Service provider name.

GNOME maintains a XML database of service providers and their APN settings:
https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info
There's also the Android APNs database, which is similar:
https://android.googlesource.com/device/sample/+/master/etc/apns-full-conf.xml

You can put the SIM card in your phone, go to settings and find the default APN.
On iOS: View and edit your APN settings
On Android: https://www.androidcentral.com/what-apn-and-how-do-i-change-it

Related

Advertising and connection establishment using nRF52 DK with nrf52832 chip on Segger Embedded studio

I want to know how to send out an advertisement with some specific user number and data such that a connection can be established using the the sdk 15.3.0.
could anyone suggest me what changes i need to make in the ble app beacon code given in the sdk examples.
Thanks
One idea would be to start with the ble_peripheral example of the Nordic SDK.
You can find the following two guides on their forum : https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial and https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial
This explains how to build a custom service with a custom characteristic to handle read / write and notification of values from the embedded device to a BLE central device (e.g: smartphone).

Configured APN in module is different from sim

Lately I bought a device with a GPRS module. This module is configured with an APN "internet". My sim cards have their own APNs which are obviously different from "internet" and specific to the operators. I can't change the configurations on the device and I don't know why the APN redirection is not working. Any idea on how to proceed in order to connect the device ?
Thank you.
I resolved the problem by using a sim card with an APN "internet".

Is running HM10 on a soft-serial enable the Low Energy charecteristics ? If so, how can the UUIDs and GATT profiles be tweaked in this case ?

I've been tinkering with the HM-10 board for a few weeks now, trying to push data from phone to module and vice-versa. The ultimate goal was to enable the BLE mode and tweak with the characteristics and GATT profiles. I'm pretty new to this domain so can anyone help me out ?
And is there any way we can interface the HM-10 with the hardware rx-tx channel instead of soft-serial ?
Your question is still not very clear, but i think you mean sending AT-commands over BLE-radio.
To make this possible you have to change the MODE using serial connection.
In standard mode the device can only be configured over the serial connection (pins RXD and TXD) using AT commands.
AT+MODE0: It only accepts AT-commands over the serial connection (RXD/TXD)
until a central device connects to the module.
AT+MODE1: Same as MODE0, once a connection is established,
AT-commands can be sent over BLE and manipulate some PIO pins on
the device.
AT+MODE2: Same as MODE0, once a connection is established,
AT-commands can be sent over BLE.
To test it just send a string to hm-10 as "AT\r\n" and it will respond with OK.
Update:
You cannot change the services and characteristics with AT-commands.
There are a lot of other things you can change,like advertising, setup a beacon and change a lot of settings.
For a full list of AT commands and more see the official data sheet:
http://www.jnhuamao.cn/bluetooth41_en.zip

Dynamin APN configuration for GSM

I am working on GSM modem and using ublox SARA g 350 modem for GPRS data communication.
And I am able to set pre defined apn using AT command
But my question is, Is there a way to get apn from service provider?
I should handle setting apn depending on SIM inserted by the user.
Can anyone help me to get details for this ?

bulk sms gsm modem

I am doing a project for sending bulk sms service.this is the concept
create a website . Through this website the user will enter all their details so that only registered user can use my service.I ll get a service plan from any of the service providers for sending unlimited messages.They ll give me a SIM card with a unique number like 54545.My android application interfaces with the gsm modem and sends out the messages from my machine.
now,i wanted to know what kind of modem i can use for my project.Is there any modem to send only bulk sms
You might be looking for a GSM/GPRS-Terminal like these. I have used one to send SMS after a application has finished processing data or if an error occured.

Resources