Which Freematics ONE+ model for Africa networks?

Inquiry and support for Freematics products
Post Reply
benm4nn
Posts: 13
Joined: Wed Jan 31, 2024 5:27 pm

Which Freematics ONE+ model for Africa networks?

Post by benm4nn »

Hi I've tried connecting my Freematics ONE in Kenya and can't get it to connect to the Safaricom (Vodafone) network, using a range of SIM cards (Safaricom, Hologram, Telkom, Airtel). All SIMS working fine in other devices.

Please advise which Freematics ONE+ model I should use?
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: Which Freematics ONE+ model for Africa networks?

Post by stanley »

Serial output please. Did you set APN?
benm4nn
Posts: 13
Joined: Wed Jan 31, 2024 5:27 pm

Re: Which Freematics ONE+ model for Africa networks?

Post by benm4nn »

Hi Stanley

I ordered a Freematics ONE+ Model A and a Model B and got them shipped to Kenya.
I'm using a hologram SIM that works locally. I've also tried local SIMs.

It never gets past [Cell] Activating... and the Hologram UI shows the SIM is not connecting to anything (the Hologram SIM has no problem finding a network in my phone and the ONE+ works fine on Wifi)

Here's the serial output from the ONE+ Model B... (the A acts the same)

Code: Select all

ACC BIAS:-0.13/-0.44/0.90
GNSS:NO
OBD:NO
SD:29832 MB total, 1 MB used
File: /DATA/41.CSV
[WIFI] Joining SSID:M4nn
[BUF] 3 samples | 30 bytes | 1/32
[CELL] Activating...
CELL:SIM7070G
IMEI:865456053614234
[CELL] Searching...
APN:hologram
[BUF] 9 samples | 90 bytes | 3/32
[BUF] 15 samples | 150 bytes | 5/32
[BUF] 21 samples | 210 bytes | 7/32
[BUF] 27 samples | 270 bytes | 9/32
[BUF] 33 samples | 330 bytes | 11/32

+CGREG: 0,3

OK


+CGREG: 0,3

OK
[WIFI] Joining SSID:M4nn
[BUF] 39 samples | 390 bytes | 13/32
[CELL] Activating...
[BUF] 45 samples | 450 bytes | 15/32
CELL:SIM7070G
IMEI:865456053614234
[CELL] Searching...
APN:hologram
[BUF] 51 samples | 510 bytes | 17/32
[BUF] 57 samples | 570 bytes | 19/32
[BUF] 63 samples | 630 bytes | 21/32
Here's the Networking part of my config.h file... (I've not changed anything else)

Code: Select all

/**************************************
* Networking configurations
**************************************/
#ifndef ENABLE_WIFI
#define ENABLE_WIFI 1
// WiFi settings
#define WIFI_SSID "M4nn"
#define WIFI_PASSWORD "M4nn_202"
#endif 

#ifndef SERVER_HOST
// cellular network settings
#define CELL_APN "hologram"
//#define APN_USERNAME "saf"
//#define APN_PASSWORD "data"

// Freematics Hub server settings
#define SERVER_HOST "demo2.traccar.org"
#define SERVER_PROTOCOL PROTOCOL_UDP
#endif

// SIM card setting
#define SIM_CARD_PIN ""

// HTTPS settings
#define SERVER_METHOD PROTOCOL_METHOD_POST
#define SERVER_PATH "/hub/api"

#if !SERVER_PORT
#undef SERVER_PORT
#if SERVER_PROTOCOL == PROTOCOL_UDP
#define SERVER_PORT 5170 //8081
#elif SERVER_PROTOCOL == PROTOCOL_HTTP
#define SERVER_PORT 80
#elif SERVER_PROTOCOL == PROTOCOL_HTTPS
#define SERVER_PORT 443
#endif
#endif

// WiFi Mesh settings
#define WIFI_MESH_ID "123456"
#define WIFI_MESH_CHANNEL 13

// WiFi AP settings
#define WIFI_AP_SSID "TELELOGGER"
#define WIFI_AP_PASSWORD "PASSWORD"
benm4nn
Posts: 13
Joined: Wed Jan 31, 2024 5:27 pm

Re: Which Freematics ONE+ model for Africa networks?

Post by benm4nn »

More serial...

Code: Select all

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13936
load:0x40080400,len:3600
entry 0x400805f0
CPU:160MHz FLASH:4MB
IRAM:236KB
DEVICE ID:A0HN8CJP
TYPE:16
MEMS:ICM-20948
[  1520][E][ble_spp_server.c:231] gap_event_handler(): [GATTS_SPP_SERVER] GAP_EVT, event 4

[  1542][E][ble_spp_server.c:231] gap_event_handler(): [GATTS_SPP_SERVER] GAP_EVT, event 6

ACC BIAS:0.25/-0.18/0.95
GNSS:NO
OBD:NO
SD:29832 MB total, 1 MB used
File: /DATA/42.CSV
[WIFI] Joining SSID:M4nn
[BUF] 3 samples | 30 bytes | 1/32
[CELL] Activating...
CELL:SIM7070G
IMEI:865456053614234
[CELL] Searching...
APN:hologram
[BUF] 9 samples | 90 bytes | 3/32
[BUF] 15 samples | 150 bytes | 5/32
[BUF] 21 samples | 210 bytes | 7/32
[BUF] 27 samples | 270 bytes | 9/32
[BUF] 33 samples | 330 bytes | 11/32

+CGREG: 0,3

OK


+CGREG: 0,3

OK
[WIFI] Joining SSID:M4nn
[BUF] 39 samples | 390 bytes | 13/32
[CELL] Activating...
[BUF] 45 samples | 450 bytes | 15/32
CELL:SIM7070G
IMEI:865456053614234
[CELL] Searching...
APN:hologram
[BUF] 51 samples | 510 bytes | 17/32
[BUF] 57 samples | 570 bytes | 19/32
[BUF] 63 samples | 630 bytes | 21/32
[BUF] 66 samples | 660 bytes | 22/32
[BUF] 69 samples | 690 bytes | 23/32

+CGREG: 0,3

OK


+CGREG: 0,3

OK
[WIFI] Joining SSID:M4nn
[BUF] 72 samples | 720 bytes | 24/32
[CELL] Activating...
[BUF] 75 samples | 750 bytes | 25/32
CELL:SIM7070G
IMEI:865456053614234
[CELL] Searching...
APN:hologram
[BUF] 78 samples | 780 bytes | 26/32
danisuzy
Posts: 1
Joined: Thu Sep 12, 2024 12:30 am

Re: Which Freematics ONE+ model for Africa networks?

Post by danisuzy »

i want to send AT commands through the serial monitor.
benm4nn
Posts: 13
Joined: Wed Jan 31, 2024 5:27 pm

Re: Which Freematics ONE+ model for Africa networks?

Post by benm4nn »

Hi @stanley please advise... I cannot get a telco network connection in Kenya!
I'm unable to try a local SIM as this requires me to set an APN username and Password and I can't see how to do this with the Telelogger v5 code.
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: Which Freematics ONE+ model for Africa networks?

Post by stanley »

Please update your code. Just added APN username and password options in config.h.
benm4nn
Posts: 13
Joined: Wed Jan 31, 2024 5:27 pm

Re: Which Freematics ONE+ model for Africa networks?

Post by benm4nn »

Thanks @stanley for the code update...

I've set my APN_username and password in config.h as follows, which is correct for the main Kenya telco (Safaricom/Vodafone):

Code: Select all

#define APN_USERNAME "saf"
#define APN_PASSWORD "data"
The +CGREG: status started as +CGREG: 0,3 (registration denied), but is now showing +CGREG: 0,2 (not yet registered).

Please see the log after leaving the device plugged in for over 4 hours....

Code: Select all

WAKEUP
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13936
load:0x40080400,len:3600
entry 0x400805f0
CPU:160MHz FLASH:16MB
IRAM:236KB
DEVICE ID:UCFLV9YH
TYPE:14
MEMS:ICM-42627
[  1838][E][ble_spp_server.c:231] gap_event_handler(): [GATTS_SPP_SERVER] GAP_EVT, event 4

[  1861][E][ble_spp_server.c:231] gap_event_handler(): [GATTS_SPP_SERVER] GAP_EVT, event 6

ACC BIAS:-0.94/0.33/0.15
GNSS:OK(I)
OBD:NO
SD:7392 MB total, 4 MB used
File: /DATA/121.CSV
[WIFI] Joining SSID:M4nnn
[GNSS] 2024-10-01T17:31:38.600Z
[BUF] 3 samples | 30 bytes | 1/32
[CELL] Activating...
[GNSS] 2024-10-01T17:31:41.400Z
CELL:SIM7070G
IMEI:865456053849111
[CELL] Searching...
APN:safaricom
[GNSS] 2024-10-01T17:31:44.200Z
[BUF] 9 samples | 90 bytes | 3/32
[GNSS] 2024-10-01T17:31:47.400Z
[GNSS] 2024-10-01T17:31:50.200Z
[BUF] 15 samples | 150 bytes | 5/32
[GNSS] 2024-10-01T17:31:52.900Z
[GNSS] -1.145073 36.650867 2km/h SATS:4 HDOP:178 Course:0
[BUF] 29 samples | 266 bytes | 7/32
[GNSS] -1.145105 36.650948 0km/h SATS:8 HDOP:138 Course:0
[GNSS] -1.145108 36.650986 0km/h SATS:12 HDOP:100 Course:0
[BUF] 51 samples | 438 bytes | 9/32
[GNSS] -1.145111 36.651009 0km/h SATS:12 HDOP:92 Course:0
[GNSS] -1.145104 36.651012 0km/h SATS:12 HDOP:90 Course:0
[BUF] 73 samples | 610 bytes | 11/32
[GNSS] -1.145104 36.651020 0km/h SATS:12 HDOP:87 Course:0

+CGREG: 0,2

OK


+CGREG: 0,2

OK
[WIFI] Joining SSID:M4nnn
[GNSS] -1.145107 36.651020 0km/h SATS:12 HDOP:87 Course:0
[BUF] 95 samples | 782 bytes | 13/32
[GNSS] -1.145106 36.651016 1km/h SATS:12 HDOP:91 Course:0
[CELL] Activating...
[GNSS] -1.145109 36.651016 1km/h SATS:12 HDOP:89 Course:279
[BUF] 117 samples | 954 bytes | 15/32
[FILE] 1KB
CELL:SIM7070G
IMEI:865456053849111
[CELL] Searching...
APN:safaricom
[GNSS] -1.145103 36.651016 0km/h SATS:11 HDOP:105 Course:0
[BUF] 128 samples | 1040 bytes | 16/32
[G
Last edited by benm4nn on Wed Oct 02, 2024 2:32 pm, edited 1 time in total.
benm4nn
Posts: 13
Joined: Wed Jan 31, 2024 5:27 pm

Re: Which Freematics ONE+ model for Africa networks?

Post by benm4nn »

Here's the carrier information on Safaricom...

https://www.imei.info/carriers/kenya/safaricom/

GSM bands: 900 (E-GSM),1800 (DCS)

GSM protocols: EDGE, GPRS

UMTS bands:B1 (2100)

UMTS protocols: DC-HSDPA 42.2, UTMS

LTE bands: B3 (1800+), B20 (800 DD)

LTE protocols: LTE
Post Reply