arrow-left

All pages
gitbookPowered by GitBook
1 of 11

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Lacuna.space connectivity

Special case of LoRaWAN connectivity, has a separate data transmission strategy and protocol due to very limited throughput.

LR1110 features

hashtag
GPS quick fix

hashtag
WiFi scanning

hashtag
RF scanning

hashtag
VHF output

Charging and battery

hashtag
Battery monitoring

hashtag
Charging and input monitoring

Memory

Persistent data logging.

triangle-exclamation

Research option for best strategy to implement this, check out Arribada Horizon implementation.

triangle-exclamation

Specify a time keepting strategy.

DFU firmware upgrade

Firmware upgrade using BLE smartphone connectivity.

To upgrade firmware using DFU:

  • You need appropriate firmware version for specific tracker. Usually: app_update.bin. Download the file to your smartphone.

  • You will need nRF Connect app. It is available via app storearrow-up-right on your smartphone.

  • Connect your tracker to the power supply. You can check that the tracker is discoverable by smartphone the Smart Parks Sensors app. Take note of the device name.

  • Open nRF Connect app and scan for available Bluetooth devices.

  • Connect to tracker device.

  • When connected you will see DFU icon in the upper right corner. Click on it.

  • You will see list of last download files. If your firmware file is not on it, locate it in your phone file system.

  • Select Test and Confirm option.

  • The DFU upload will begin. DO NOT cancel upload and wait until is finished and app returns you to the main screen!Select the app_update.bin file. The following pop-up window will appear.

Firmware

Firmware structure of the device.

Firmware for the Opencollar device needs to be separated into different modules. This will provide better way for testing and give better test code coverage.

Firmware implementation

GPS positioning

Standard uBLOX GPS.

LoRaWAN connectivity

LoRaWAN and BLE connectivty both should offer the same functionality though an unified interface.

Accelerometer

Bluetooth BLE smartphone connectivity

Feature

Details

Status

BLE beaconing

Sending beacon data with basic values encoded, to allow for the non-connected status acquisition

BLE connectable

Connect with the device to perform all function of data transmission and settings

BLE DFU

Firmware upgrade over BLE

hashtag
BLE profiles

  • DFU profile

  • Nordic Serial profile (all data communication is via this profile)

hashtag
Serial communication protocol

circle-exclamation

Select the best communication protocol for this application. TLV is a good approach.

hashtag
Settings management

Shadow approach of settings management is the most straightforward method, similar as in AWS IoT core.

  • Be able to send each setting entry separately

circle-exclamation

Research best implementation for settings management.

triangle-exclamation

Specify a good way to include firmware versions in settings and communications

Expansion modules

circle-exclamation

All expansion modules are to be implemented as I2C devices with extra GPIO, should be a separate I2C port to the one for on-board sensors.