Description of tmo_shell Source Files
Introduction
This documentation describes what each of the source files do / are for in the tmo_shell source folder.
Prerequisites
- The DevEdge IoT Developer Kit.
- Setup a Zephyr development environment for the kit.
- An IDE.
- An understanding of the tmo_shell.
Source File Descriptions
File / Folder Name |
Description |
Example tmo_shell CLI Syntax |
---|---|---|
ek18 | Contains all the kermit files / code. | tmo kermit
|
buzzer_test.c / h | Contains buzzer test code. | tmo buzzer |
ca_certificate.h | Contains certificate of authority header information. | tmo certs |
devcert.der | Binary encoded certificate for testing DTLS. | tmo udp ... |
devkey.der | Binary encoded certificate for testing DTLS. | tmo udp ... |
dfu_gecko.c / h | Updating firmware on SiLabs EFM32 Pearl Gecko 32-bit ARM Cortex M4 MCU in conjunction with a bootloader. | tmo dfu ... |
dfu_murata_1sc.c / h | Updating firmware on Murata 1SC. | tmo dfu ... |
dfu_rs9116w.c / h | Updating firmware on SiLabs RS9116W. | tmo dfu ... |
digicert_ca.der | Binary encoded certificate for Digicert. | Not applicable. |
echo-apps-cert.der | Binary encoded certificate for the T-Mobile echo server. | Not applicable. |
echo-apps-key.der | Binary encoded certificate for the T-Mobile echo server, device side. | Not applicable. |
entrust_g2_ca.der | Binary encoded certificate for Entrust. | Not applicable. |
led_test.c | Contains code for LED testing. Manufacturing test for LEDs. | led on pwmleds 0 |
lets-encrypt-r3.der | Binary encoded certificate for Let's Encrypt. | Not applicable. |
misc_test.c | Contains code for various sensors, I2C, modem, and Wi-FI commands. Manufacturing tests for various sensors and devices. |
|
servercert.der | Binary encoded CA for the T-Mobile DTLS server. | Not applicable. |
tmo_adc.c / h | Contains code for using the Gecko ADC to read the battery voltage. | tmo battery voltage |
tmo_battery_ctrl.c / h | Contains code for reading the battery level and converting to a percentage. | tmo battery ... |
tmo_ble_demo.c / h | Contains code for using BLE and interfacing with the DevEdge IoT mobile app. | tmo ble |
tmo_bq24250.c / h | Contains code for interfacing with the battery charger. | tmo battery charger |
tmo_buzzer.c / h | Contains code for interfacing with the buzzer and playing tunes. | tmo buzzer |
tmo_certs.c / h | Contains code for the DevEdge "cert store", i.e. certificate upload, download, etc. | tmo certs |
tmo_dfu_download.c / h | Contains code for supporting DFU (device firmware update). | tmo dfu |
tmo_file.c / h | Contains code for adding functionality to Zephyr file system services. | tmo file |
tmo_gnss.c / h | Contains code for interfacing with the DevEdge GNSS chip. |
|
tmo_http_mock_socket.c | Contains code used for testing HTTP. | tmo http ... |
tmo_http_request.c / h | Contains code for HTTP get URL. | tmo http |
tmo_leds.h | Contains code to support LEDs, i.e. header information. | led on pwmleds 0 |
tmo_modem_edrx.c / h | Contains code for modem eDRX power saving mode. | tmo modem 1 edrx |
tmo_modem_psm.c / h | Contains code for modem power saving mode. | tmo modem 1 psm |
tmo_ping.c / h | Contains code for ICMP ping. | tmo ping [-c count] [-s packetsize] [-t timeout] 2 t-mobile.com |
tmo_pm_sys.c / h | Contains code for system power management controls. | tmo sys_pm |
tmo_pm.c / h | Contains code for device power management. | tmo pm |
tmo_shell_main.c | Contains the main entry point for tmo_shell. | Not applicable. |
tmo_shell.c / h | Contains code for many of submenus and functions in the tmo_shell. | tmo |
tmo_smp.c / h | Contains code for the Bluetooth BLE SMP. | tmo ble smp ... |
tmo_sntp.c / h | Contains code for SNTP to synchronize the dev kit's time with a given server. | tmo sntp <server> |
tmo_web_demo.c / h | Contains code for interfacing to the T-Mobile DevEdge Web App. | tmo json ... |
tmo_wifi.c / h | Contains code for interfacing to Wi-Fi. | tmo wifi ... |