This guide will walk you through connecting a Nordic Semiconductor device to the IoT Bridge. Once connected, you can leverage any of our upstream connectors for rapid integration into your application.
Welcome to nRF Connect
tab in VS Code.Create a new application from sample...
.Freestanding
1.9.1
or newer1.9.1
or newernrf/samples/9160/lwm2m_client
.tartabit_client
.Create Application
.overlay-tartabit.conf
with the following contents.CONFIG_APP_LWM2M_SERVER="lwm2m-us.az.tartabit.com"
CONFIG_APP_LWM2M_PSK="11223344556677889900"
CONFIG_LWM2M_ENGINE_DEFAULT_LIFETIME=120
Switch to the nRF Connect
tab in VS Code.
Under Applications
find tartabit_client
and click the Add build configuration
icon.
a. Set board to nrf9160dk_nrf9160_ns
or thingy91_nrf9160_ns
depending on your device type.
b. Set Kconfig fragments to overlay-tartabit.conf
.
c. Click Build Configuration
.
Connect your device to your PC and ensure the serial ports are visible.
Click Flash all linked devices
.
Tartabit IoT Bridge
.Solution Templates
at the bottom of the screen.NRF9160DK
or Thingy91
and click Import
.tartabit-overlay.conf
file.Import
.LTE Link Monitor
, the output should look like this:[00:00:01.849,365] [0m<inf> app_lwm2m_client: Connecting to LTE network.
[00:00:01.849,395] [0m<inf> app_lwm2m_client: This may take several minutes.
[00:00:06.899,536] [0m<inf> app_lwm2m_client: Connected to LTE network
[00:00:06.900,848] [0m<inf> net_lwm2m_rd_client: Start LWM2M Client: urn:imei:352656100393787
[00:00:07.509,033] [0m<inf> net_lwm2m_rd_client: RD Client started with endpoint 'urn:imei:352656100393787' with client lifetime 0
[00:00:23.426,544] [0m<dbg> app_lwm2m_client.rd_client_event: Registration complete
[00:00:23.426,666] [0m<inf> app_lwm2m_client: Obtained date-time from modem
[00:00:23.435,729] [0m<dbg> gps_module.start_gps_search: Started GPS scan
[00:00:23.435,760] [0m<inf> net_lwm2m_rd_client: Registration Done (EP='6qezdyuDjA')
Endpoints
section of the IoT Bridge and verify your device connected.tartabit-overlay.conf
file:CONFIG_PDN=y
CONFIG_PDN_SYS_INIT=y
CONFIG_PDN_DEFAULTS_OVERRIDE=y
CONFIG_PDN_LOG_LEVEL_DBG=y
CONFIG_PDN_DEFAULT_APN="my.apn"
CONFIG_PDN_DEFAULT_FAM_IPV4=y
Update the required values depending on your operator.