c0c9d6f7d6
This commit adds a sample application which demonstrates how to use the new driver and modules. The sample uses power management to turn on the modem, uses network management to wait for L4 connected, then uses DNS to get the IP of the server running the python script found in the server folder, which echoes back data recevied to it. A packet containing psudo random data is then sent to the server, which the echoes it back. To validate the capability of the driver to restart the modem, the modem is restarted, and the packet is sent again. The server is hosted by linode, and uses the domain name test-endpoint.com Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
14 lines
329 B
YAML
14 lines
329 B
YAML
sample:
|
|
description: Sample for cellular modem
|
|
name: Sample for cellular modem using native networking
|
|
common:
|
|
tags: cellular modem
|
|
tests:
|
|
sample.net.cellular_modem:
|
|
tags: cellular modem
|
|
filter: dt_alias_exists("modem")
|
|
platform_allow:
|
|
- b_u585i_iot02a
|
|
integration_platforms:
|
|
- b_u585i_iot02a
|